Solved

Can't run VB6 app on Vista

Posted on 2008-10-15
2
468 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access 2016 VB code 9 116
How to Add / Edit Windows Menu 4 62
Passing a Text Box name to a Sub 6 96
I need help embedding an image as HTML in my vb.net application 3 69
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 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