Update I have enough odds and ends to start a GUI converter ..alot of the keywords for control attributes missing.
So DDT or SDK ? Don't say both or you will make me cry !
3-10 days for a fair working model depends how much Murphy screws with my health.
Any suggestions comments ?
Announcement
Collapse
No announcement yet.
SourceCode Only
Collapse
X
-
Wayne,
could be used it is just not practical. Still have to create events and deal with different sources and naming conventions. Spend more time than necessary.
BTW PBWINSPY is freeware, the author is AWOL, I have not seen or heard from him in years
My opinion and views are not official and non quotable.Last edited by Michael Mayerhoffer; 6 Sep 2008, 06:06 PM.
Leave a comment:
-
-
Another Thought?
Just another thought I don't know if anyone has looked at it or not but occassionally I have tried the PBWINSPY and it seems to do a good job at replicating any forms you use it on vb6 or other, did/or has anyone also considered it? I do have the PBForms1.51 and think it is good also but I was just thinking that the PBWINSPY was trialware(maybe not correct) but for limited use is free.
Leave a comment:
-
-
Wayne,
As Michael says:
I think they are using PBForms and that might be the standard.
Leave a comment:
-
-
Wayne -The answer is no. VS is not needed could be an option for users.
guess starts here.
I think they are using PBForms and that might be the standard.
guess ends here.
The above rumbling from me is about MakeDDT and other stuff nothing to do with the project directly and this is what it boils down to....
I have volunteered to re invent the wheel on the Form conversion. Just waiting to hear back is this OK to-do.
My opinion and views are not official and non quotable.
Wayne = unconfused ?
Leave a comment:
-
-
Question
So if I predict/read this write in order for the average user of PB to use this converter we are going to require them to OWN VISUAL STUIDO? Sounds awful expensive to me and your going to limit the number of persons who will see a use for this application unless the intent to begin with was to only have the advanced PB users be able to utilize this converter.
I am getting confused on the target audience for this VB2PB converter which is being developed. Please unconfuse me, I might have missed something since I just recently joined in the group...
TIA.
Wayne.
Leave a comment:
-
-
Stan and John
I am sorry, I have a twisted sense of humor ..was my way of saying this is what I got and do as you please with it.
Mike,
One of the dormant cogs in my brain just kicked in. You've mentioned this before, but I didn't make the connection.
Is MakeDDT a standalone app? What I'm getting at is, could MakeDDT eliminate the need for the end user to own a copy of PBForms?
Stan
MakeDDT converts the Visual Studio version 6 script files from self made Dialogs or converted VB Forms into a ready to run DDT skeleton code. Long as they come from a Visual Studio... just add event code. PBForms does the same thing per say. One package.
Long story short the answer is no - the yes answer.. can be done .. been there done that...PB to VB converter, a quick looks says I have to re event the wheel. Not a big thing.
My answer is yes, I am guessing the answer to your next question.. ?
PS you can dowload makedtt from PB they do host it.
Leave a comment:
-
-
Michael,
I am thinking it may or may NOT be a starting point for a new version down the road. Might be just something to get ideals from or something to laugh and point at.
FWIW I did not ever use an editor for conversion stuff. VB straight to PB files. Makeddt - header and RC files in -Ready to use DDT code.
Leave a comment:
-
-
Originally posted by Michael Mayerhoffer View Post
...
Update---
I am piecing together what bits and parts I found, soon as I can, I will donate a complete working concept model ? The missing parts I am putting in minimum code to get the point across.
I am thinking it may or may NOT be a starting point for a new version down the road. Might be just something to get ideals from or something to laugh and point at.
FWIW I did not ever use an editor for conversion stuff. VB straight to PB files. Makeddt - header and RC files in -Ready to use DDT code. ...
Mike,
One of the dormant cogs in my brain just kicked in. You've mentioned this before, but I didn't make the connection.
Is MakeDDT a standalone app? What I'm getting at is, could MakeDDT eliminate the need for the end user to own a copy of PBForms?
Stan
Leave a comment:
-
-
Murphy is the master of multi tasking - he is visiting me too on several levels.
Update---
I am piecing together what bits and parts I found, soon as I can, I will donate a complete working concept model ? The missing parts I am putting in minimum code to get the point across.
I am thinking it may or may NOT be a starting point for a new version down the road. Might be just something to get ideals from or something to laugh and point at.
FWIW I did not ever use an editor for conversion stuff. VB straight to PB files. Makeddt - header and RC files in -Ready to use DDT code.
Makeddt code was part of the VB to PB code converter. :crying2:
Back to business here, soon as that diamond in the rough gets packed together, I can provide more hot air service..
Leave a comment:
-
-
Stan,
I'll make this my top priority for the rest of the day. I agree with all the points you make.
You don't think there might be TWO of them?
I've got a lot of things going on right now: this big business trip, a few unruly clients, and some impatient creditors.
Please forgive if I forget somethings from moment to moment.
I'm going to give my problems Murphy created one more shot at fixing them, but in any case, I will send you the editor as it stands now. It should be well enough to let you know where I'm going with it.
Leave a comment:
-
-
Originally posted by John R. Heathcote View Post...
I think we really need to tie down the data passing mechanism specification so we both know what we are doing.
The editor is pretty close to a workable state, if not there already. I still plan on getting what I have to you this week. Murphy paid me a visit again last night. I thought he was working with you.
I've got a lot of things going on right now: this big business trip, a few unruly clients, and some impatient creditors. Please forgive if I forget somethings from moment to moment.
Stan
Leave a comment:
-
-
Stan,
I think you said you're writing the editor in PB (with some FireFly?).
In that case, why don't I just make the Tokenizer files #INCLUDEs for the editor? Everything in one place and normal procedure calls to access the various parts.
With this method, program flow doesn't change, but implementation gets a whole lot easier.
For whole file conversion the Tokenizer does a synchronous SHELL to the parser which separates everything out, builds the VB Terms array, and saves it as a file with ".parsrpt" extension. Multiple files can be processed in a single SHELL.
The conversion method used would also be dependent on the complexity of the conversion requirement itself. I think for large projects the user may want to keep tabs on the conversion as it progresses, so the editor feeding the Tokenizer would be used. Perhaps on smaller conversions the user might want to let the Tokenizer do a batch convert then view the results. I can see instances where both conversion scenarios would be applicable.
There's a DragAndDrop listbox in the converter for processing multiple files as a batch. Might be able to use that for the WholeProject option. Right now it's pure DDT. We'll have to see if it's compatible with the editor.
As a merged program the editor will have access to the GLOBAL Concordance array. Text can be placed/pulled/edited directly from that if we want, or we could, probably should, use a string buffer and let the Tokenizer do the direct modification to the Concordance.
One thing I don't want to do is to allow the Tokenizer to directly alter the text in the edit control. I have many reasons for this, but primarily it will be extremely difficult to keep track of the current line/position in the editor. In this case we could trash the resulting output file in the edit control by not keeping meticulous track of the text cursor. I am of the opinion that if it is a matter of text display let the edit control handle that chore, if it is a conversion let the Tokenizer handle that.
Probably should define the conditions for the editor to REDIM the Concordance: Tokenizer fiddles with it alot.
BTW, if you have the editor code in a state I could work with, we could compare notes once we've each run our own tests on the merger.
Leave a comment:
-
-
John and Mike,
Originally posted by John R. Heathcote View Post...
the loading of files in this manner will suffice.
I think you said you're writing the editor in PB (with some FireFly?). In that case, why don't I just make the Tokenizer files #INCLUDEs for the editor? Everything in one place and normal procedure calls to access the various parts. Since I've got the event CLASS and the COM CLASS mostly built, we could use internal objects to handle the messaging (no GUIDs required) and the GLOBALs would be available to both editor and converter because they are one and the same. With this method, program flow doesn't change, but implementation gets a whole lot easier.
For whole file conversion the Tokenizer does a synchronous SHELL to the parser which separates everything out, builds the VB Terms array, and saves it as a file with ".parsrpt" extension. Multiple files can be processed in a single SHELL. There's a DragAndDrop listbox in the converter for processing multiple files as a batch. Might be able to use that for the WholeProject option. Right now it's pure DDT. We'll have to see if it's compatible with the editor.
...
Changes made to VB code will be reflected in the editor so the user will have a visual feedback of the process as it occurs.
Probably should define the conditions for the editor to REDIM the Concordance: Tokenizer fiddles with it alot. Or we could just use the internal objects. (thinking as I type.... almost always a mistake.) Oops, that's a detail, isn't it.
Before we get too wrapped up in details I think we need to merge the Tokenizer and the editor together to see what the ramifications are before we proceed further.
Give me a few hours to modify the Tokenizer files appropriately and I'll post them here in a zip. I need to chop up the parser a little bit also to get the appropriate functions into the Tokenizer proper (instead of using SHELL).
Stan
BTW, if you have the editor code in a state I could work with, we could compare notes once we've each run our own tests on the merger. sjh
Leave a comment:
-
-
Stan
that makes things much clearer now.
John moving that to PB or leaving it as is ?
Leads me to more questions and thoughts, I will get back to you tomorrow or so. Need to rest a bit for now.
------ John I agree, get back to you too... forgot to post this and seen you posted while this was sitting in no where land..did not want to think I ignored your post.
MikeLast edited by Michael Mayerhoffer; 3 Sep 2008, 11:42 PM.
Leave a comment:
-
-
Stan and Michael,
...and a half with Mr. Murphy looking over my shoulder.
I'm not sure how John is implementing the user options, ...
Obviously one user item I would like to add is to handle conversion on a project level, but I think that may have to wait until a later version as I'm unsure exactly how we want to set up this feature. For now, I think the loading of files in this manner will suffice.
General flow:
1 - open files in editor
2 - ==> pass selected VB code to tokenizer
3 - ==> pass PB code back to editor
4 - ==> user has option to accept, decline, manual edit
5 - ==> process repeats until user is satisfied or quits in frustration
Changes made to VB code will be reflected in the editor so the user will have a visual feedback of the process as it occurs.
Before we get too wrapped up in details I think we need to merge the Tokenizer and the editor together to see what the ramifications are before we proceed further.
Leave a comment:
-
-
Originally posted by Michael Mayerhoffer View PostStan
I believe I see your concept or what you want to accomplish. I see no reason for using or not using com, up to you.
After seeing the server sample, I realize I am missing some of the picture here.
I am trying to fast track the overall picture. I am asking more for a general flow of conversion not real detailed stuff. ...
1 - open files in editor
2 - ==> pass selected VB code to tokenizer
3 - ==> pass PB code back to editor
4 - ==> user has option to accept, decline, manual edit
5 - ==> process repeats until user is satisfied or quits in frustration
I'm not sure how John is implementing the user options, but here's a list of what relates directly to the converter:
Line-by-line
Procedure-by-procedure
File-by-file
Whole Project
Given your initial comments and my 2-day headache with COM, I'm beginning to think we would be better off with one huge executable that uses internal objects and events. John is subsuming most (if not all) of the user editing functions into his app. I've stripped most of the dialogs out of the converter. That would greatly simplify the need to pass messages; we could just set flags and procedure return values.
PS I think that the self registering part would be a viscous loop. You would have to load the DLL and it would then register and re-entry would cause it to re register... ... ... ...Beginning to think I forgot the KISS principle when I thought this up .... again.
Stan
Leave a comment:
-
-
Originally posted by StanHelton View PostI'm impressed. I've got only about 20 gig that was worth saving.
What did you think of the admittedly raw and incomplete server I posted? I would be very interested in your comments if you could take a moment to look at it.
Be safe and be well on your trek.
Stan
I believe I see your concept or what you want to accomplish. I see no reason for using or not using com, up to you.
After seeing the server sample, I realize I am missing some of the picture here.
I am trying to fast track the overall picture. I am asking more for a general flow of conversion not real detailed stuff.
general flow such as ---
open files in a editor - process - complete and mark troubling code..
or open files - process - stop and advise correct what ever - Please play again to complete.
This would really help me catch up jumping in the middle of things.
Thanks
Mike
PS I think that the self registering part would be a viscous loop. You would have to load the DLL and it would then register and re-entry would cause it to re register... ... ... ...
Leave a comment:
-
-
Stan,
Can hardly wait to see what obnoxiousness John wants out of it to make the editor work
What did you think of the admittedly raw and incomplete server I posted?
BTW, the editor recoding effort from Firefly to SDK is proceeding well for a change. Hopefully I will be able to send it to you sometime this week as I promised, assuming Murphy doesn't show up again. He is the true MINISTER of OBNOXIA, I learned everything I know from him.
I'm also working on converting some of the Firefly utilities I've developed as they will assist the user in code formating, maintenance, manual coding etc. I have most of these recoded, but need to test them. A tidbit of information you might be interested in is that I'm using the source code utilities for the editor to help write and clean up the editor.
Leave a comment:
-
Leave a comment: