2010-10-12 16:34:42 UTC
I've been writing a VisualBasic_6 programs off-and-on for several
years. I have one 4000 line program that has one feature that scans
through a file looking for certain text. If the file is small, it's
trivial. For a large file, it takes about 12 seconds to scan through
400k records of a 30mb file. Someone suggested PB would greatly solve
that problem. Actually, his comments were more like, "You absolutely
MUST consider PB."
Even though the code is almost 4000 lines, I would consider converting
everything to PB if I could substantially reduce 12 seconds. My
primary question is: How difficult is the conversion? Where can I
find the source differences between VB6 and PB. The PB website talks
of 95% compatibility, but that's kind of vague. What ARE the
differences? How difficult is it to convert from VisualBasic_6 to PB
One thing I noticed: With VB6, I use "OPTION EXPLICIT" and "DEFtype"
everywhere. Unfortunately, PB ignores DEFtype, if "OPTION EXPLICIT"
is specified. With PB, I would have to go back and modify all my DIM
statements to include type. This is the kind of logic differences I'm
trying to discover. Surely, someone must have documented them, but I
can't find them anywhere online.
I also have scores of old QuickBasic programs that I have been slowly
converting to VB6. Should I convert these to PB_Console, or can I
easily convert them to PB_Windows?
Lastly, older versions of PB sell for far less that the current
versions. I'm considering buying the older versions to see if they
meet my needs and then upgrading if they do meet my needs. How recent
is PB_Windows version 9? VB6 is 10 years old. Would PB_Windows
version 8 be a good place to start?