Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB app running on NT problem

Status
Not open for further replies.

kazam

IS-IT--Management
Sep 18, 2002
4
GB
Hi.
I've developed an app that is working good under Windows 98. Now I used the VB packager wizard to generate a setup file to install the app on other pcs without VB.
Under W98/ME things work good, but under NT it doesn't work at all, giving some strange errors.
I wonder would this be a problem in my app or do I need to add some dlls or something like that for this to work under NT?

Please any help is appreciated since this is the first time I try to run this under NT, and I didn't know exactly what to expect.

TIA
 
I had this problem too.
Specially with CreateFile and ReadFile. There are small diferences in null or zero or empty structure parameter values.
The problem comes definetelly from the parameters of your API calls.

Hope I'm right s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darkness...
 
I think the errors are related to the connection to the database but I don't know, since it's by the time when the 2nd form loads and it'll access my DB that the program breaks.
The error is something like Class can't be updated or something like that. I don't have NT right here so I can't test it at this moment.
What Burtani said might make some sense though, could it be some empty/null problem... I must investigate on that.
Mean while if you have any ideas they're all welcome.

Thank you
 
What I would suggest would be to have VB installed on a machine with NT, try to run it from there within the developer. If there is any error you'll detect it easier there, if not then just use the packager to build the setup files for NT and try it out.
 
I say, develop in NT, then pass it over to the 98/ME machines and see if everything goes well...source code is source code, but if it's compiled in the OS it's made for, it should work.
Regards,
AnthLOLny
----------------------------------------
The Learning process is just a way to get rid of all the stupids in your head.

Now where's that cute little kitten? :-X
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top