Yup, that's one method, i already did it but, using CreateFile.. but some says it doesn't work with Me/2000
However, there's no good reason to stick with VB6. All the above is 90% standard in .NET... the problem is just to move on .NET syntax![]()
Yup, that's one method, i already did it but, using CreateFile.. but some says it doesn't work with Me/2000
However, there's no good reason to stick with VB6. All the above is 90% standard in .NET... the problem is just to move on .NET syntax![]()
Last edited by mister_e; - 7th January 2008 at 22:53.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks all for the tips.
Steve: About .NET and newer, one must have a super-duper machine to install the new IDE...
Tried the 2005 and waited about 20 min to install!
Then to open it about 40-50 seconds...
Until I can have a quad core PC, VB6 is OK for me!
Ioannis
yeah it sucks, even worst with 2008. You can speed it a little bit if you disable all web features in.. but, it's still really slow on most of my machines here. BUt once the code is compiled and works, that's nice.
The major point i guess is more about Vista compatibility. Not sure enough how bad/good most VB6 program will behave with. Still good in XP in most case. .NET is not bad, it's just a bit had to move on and to understand the whole new syntax/traps.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I think that the new IDE can accept the old DLL's from the VB6 for example and use the old controls too. A friend of mine said he just open the libraries and workd ok.
I cannot test this as I got rid off the monster!
Also said that the old syntax is acceptable too (may be with some trick though).
By the way, Steve, is there a way to access a bit in a variable array in PBP? I meen for example like this: array[7].4=1
I know the link of Melanies that is accessing as an array of bits the whole byte array, but is not easy to remember the 267th bit!
I overcome this by reloading the array byte to a variable and then back to array again.
Ioannis
If you're really using constants as shown, then you can alias the location and access the individual bitBut you probably want variables for both the byte and bit index's ...Code:TheByte VAR array(7) TheByte.4 = 1Code:ByteIDX VAR BYTE BitIDX VAR BYTE ByteIDX = 7 BitIDX = 4 array.0((ByteIDX<<3)+BitIDX) = 1
DT
Hey, look ma, how we can things more complicate!!!
OK, thanks for the tips Darrel. The second is clever, but I suppose it is cpu power hungry.
I 'll take the first, thank you!
Ioannis
Bookmarks