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!

My application runs on Windows 98 & ME but not XP!

Status
Not open for further replies.
Aug 13, 2002
14
US
Please help me. I have created an application which won't run on Windows 2000 and XP. The setup files allow everything to be installed on the computer but when I double click on the .exe file...the program starts perfectly but then I get the following error message as the title screen is running:

Run-time error '76':
Path not found:
'C:\Program Files\Images\Logophthalmos124.jpg'

There is an Image folder within the Program Files folder with the jpg file! Also, this same CD which contains the setup files works fine on a Windows 98 and ME OS machine.

I'm assuming there is some security issue going on here. I have opened the Image folder and clicked on the Property tab and then the Security tab. It has a check box allowing it to be read. What could be preventing the XP and Windows 2000 OS from finding this image. This image is connected to a timer control which tells the image control to change to the new image (Logophthalmos124.jpg) after a specified amount of time. Also, I have gone to the property window for the application and have told ME to run it under Windows 98 and the same error occured. I read in help that you can tell it to run on another OS version and that should allow it to run??

What are your thoughts?

Thank you
Glenn
 
Are you logging on with the same user name as the one you setup up your application?
 
Nothing is different...I have run setup the same identical way on a Windows 98 and XP machine and it just doesn't run on the XP.
glenn
 
Ok - but on the xp machine when you ran the setup for your program - which user were you logged in as?

Have you since logged in as a different user with a different profile since and are trying to run the program?

Can you see the file in explorer?

 
I was using someone else's computer when I installed the setup files....and I have never used XP before so I'm not sure about this log in issue...I did find the application under the Program Files folder and as mentioned, it did start but stopped once it came for the image control in the title screen to change an image
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top