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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb6 98 jet question

Status
Not open for further replies.

tomte

Technical User
Joined
Nov 14, 2002
Messages
47
Location
US
I have a program that functioned fine under Win 95. It called for the jet 3.51 database provider. I have updated the code to call for the 4.0 provider and it functions fine under win2k however under win98 the application launches and never displays the form window. It does not generate any runtime errors. I have installed the latest MDAC on the Win98 systems and still have the same issue. The version of 98 is 4.10.2222A. Anyone have an idea of where to look?
 
Does that machine have the jet database engine installed on it? Thanks and Good Luck!

zemp
 
Yes, I have installed the MDAC 2.6 on the machine and have jet 4.0. I am not getting a provider not found error, The application simply launches and never displays to the user. On Win 2000 it functions perfectly. If I install the version that calls for the 3.51 provider the application launches and gives a provider not found error. (expected as they do not have jet 3.51 installed on the machine.) The only difference between the two programs is the provider called.
 
Check the connection string. and the db path. If the Db is not in the path as in the connection string, the program may blast with out an error msg. All the Best
Praveen Menon
pcmin@rediffmail.com
 
I test for a DB value on opening the application, and if a value is not found ask the user to locate the db, which is then stored in a cfg file that is read each time the application is opened. The config file has a correct value for the DB. No error message is thrown, you can launch multiple instances of the application, if you look in the task manager you can see the application running. The application only exhibits this behavior on the 98 workstations, it works fine on Windows 2000. Nothing I do can bring the form window up for the enduser to view. The application does not even appear in the taskbar as minimized. It just does not display.
 
Could the problem lie elsewhere? For example I had an app that functioned properly on all operating systems except win 98. In the end I found that win 98 did not like the rich text box control. Thanks and Good Luck!

zemp
 

>under win98 the application launches and never displays the form window

Well, if this is the case, then I'd say it has nothing to do with ADO or the Jet drivers.

Step through your code and see if the Form_Load and Form_Activate events are getting fired.

Make sure the program was installed onto the '98 machine, so all of the controls/files needed also get installed (using a setup package for your application, such as with the P&D wizard) [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top