Visual Basic 6.0 Program on Vista

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
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.
 
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.
 
Back
Top