Computing.Net > Forums > Programming > VB.NET and Environment Variables

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB.NET and Environment Variables

Reply to Message Icon

Name: Infinite Recursion
Date: February 27, 2004 at 11:42:00 Pacific
OS: na
CPU/Ram: na
Comment:

How do I set environment variables in VB.NET?
I tried shelling out ->

set myvar="myval"

But that doesn't work. I know Environ("myvar") gets the value, but what sets it?

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: scout211
Date: February 27, 2004 at 12:29:43 Pacific
Reply:

check out Handy Class to Manage Environment Variables See Programmer's Heaven Make it easy on yourself.

RE


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB.NET and Environment Variables

Question Regarding VB.net and C# www.computing.net/answers/programming/question-regarding-vbnet-and-c/3580.html

VB.NET and C DLL's www.computing.net/answers/programming/vbnet-and-c-dlls/9509.html

vb.net and db www.computing.net/answers/programming/vbnet-and-db/14385.html