|
Re: VB6 Drivelistbox problem on WindowsVista
Windows Vista has UAC, or User Access Control, a new feature that pretty much requires confirmation of any program that runs, even if you are an administrator. If you're not seeing the prompts, then that shouldn't be the problem. When running your code inside of the IDE, you won't see the prompts because your program runs as part of the IDE, whereas if you run the program outside of the IDE, it runs as a separate program and would therefor be handled by the UAC as such and you would be prompted to allow it to run.
It could possibly be your program is trying to access a protected part of the OS, such as memory, and Vista most likely has a new memory scheme. I haven't done any research as to what Vista requires programmatically, as I'm still learning to program, but you can find out what Vista expects from code in MSDN; I remember seeing a topic concerning this a while back.
|