Visual Basic 6.0 Program on Vista

G

Guest

I have a visual basic 6 program that requires that I log in as an
administrator in order to run it. For the life of me I can't figure out why.
I have tried a number of other programs, some of which are very similar and
they have no problems.

Can anyone give me any ideas as to why this would occur? The program does
access the registry, opens databases and writes to the program files
directory. The other programs that I have tesst do the same thing, and they
don't have any problems.
 
S

Steven Wimer

The writing to the program files directory is what is getting you. They
would rather have you write to the profile you are logged in as than to
program files.
 
G

Guest

I have a number of other programs that write to the program files directory,
as well as a test app that I created and the only thing it did was write to
the program files directory. None of the other programs have this problem.
I will do a couple more tests, but any other ideas would be appreciated.
 
S

Steven Wimer

Hmm thought for sure that would be it. You aren't writing to the system32
or windows folders are you? I don't think reading would be an issue but
maybe it's that sensitive. I don't know if it's vb6 specific either as I
finally moved over to .NET but I don't work with the registry or databases
in it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top