Does anyone know of a way to change a system environment variable from within a VB6 program?
I have tried Environ() and SetEnviromentVariable - they only set/change environment variable that are visible to the application NOT the system.
The reason I need to change them is that their is inventory info stored as environment variables on the PC - when the PC is moved to a new location the Inventory info needs to change.
Any help offered will be greatfully received!
Thanks in anticipation.
These forums are for questions regarding .NET programming. VB6 is not supported here. Please see the following links for help:
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?