Solved

Can't run VB6 app on Vista

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now