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

Program won't work on 9x!!!!!

Status
Not open for further replies.

slugo

Programmer
Dec 16, 2001
15
US
Hi guys,

I have made a small calendar/scheduler program for a company. My box is running windows XP and for part of it 2k. But after compiling the program it won't work on 9x boxes while it works on my box at home just fine go figure :). It is complaining about missing a ocx file. I would prefer to have them not run a setup file. Is there anyway to go about fixing this problem? I'm using ado 2.5 is there way to downscale the ado version I'm using so it would work with 9x. Or is it another part of the program that is requiring the files. Thanks in advance.

-Mike
 
I think everyone would prefer not to have a setup file. It is, however, by far the simplest way to make the thing actually work. Otherwise you would have to check versions for everything your programme uses and copy and register same with all required dependencies. Much too tricky, and you always have the risk of screwing up another programme they are using. Peter Meachem
peter@accuflight.com
 
That is my problem.. if I run a setup with a newer version of the ocx file or whatever is required will it screw any of their other programs? They have on in-house program that deals with an sql database that was also made in VB but I believe it was made back a few years ago so it was probably made in dao instead of ado. Would that matter? Thanks!
 
Hi Again,

Well I have tested it on another win2k machine and it works fine. My question now is what is the difference between win2k and 9x, in the ways of how ado works. You would think it would be the same all around. Is it a matter of updating there ado package? Any help would be appreciated.
 
The difference that is causing your problem is that there are a great number of dll and ocx files that come standard with win2k or got installed with service pack 2 that simply aren't there on a standard 98 machine.

Also, it is absolutely neccessary that you deploy your applications with a setup package. Not doing so, would be horribly time consuming because you'd need to manually copy and register the required ocx and dll files to each target machine one at a time.

For deployment purposes you need to look into Package & Deployment Wizard or another application deployment software package. I use InstallShield Express. It's painfully simple and fast but can be a bit buggy at times.

Good Luck!
Josh
 
P.S. ...
Any version of ADO can run on a 98 machine as long as the right version MDAC is installed on that machine.
MDAC can be freely downloaded from Microsoft.

Josh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top