Solved

Can't run VB6 app on Vista

Posted on 2008-10-15
2
469 Views
Last Modified: 2012-05-05
I'm trying to create an Install CD so that my VB6 app can run on Vista.  When I try to run the app I get a run time error '75'.
I conclude that this is a Vista UAC issue...
What is the work around/solution?
I don't want to have users right click and select Run As.
Is this an issue with VB.net as well?
0
Comment
Question by:classnet
2 Comments
 
LVL 31

Expert Comment

by:Frosty555
ID: 22749763
Runtime error 75 is a path or file access error. It means your VB6 program tried to read/write to a path or file it doesn't have access to. This is not a UAC issue.

Vista imposes stricter restrictions on what programs are and are not allowed to see on the computer, particularely users that do not have administrator priviledges.

Have you attempted to debug your vb6 program to identify where the error is actually occuring?
0
 

Accepted Solution

by:
classnet earned 0 total points
ID: 22820365
The error was indeed a UAC issue.  My program was attempting to modify a file in the system32 folder.  I simply moved the file to another, unprotected, folder.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question