Click here to Skip to main content
16,004,887 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: inconsistency in virtual dir Pin
Guffa24-Aug-06 22:42
Guffa24-Aug-06 22:42 
Questionupgrading from vs2003 to vs2005 Pin
si_6924-Aug-06 2:49
si_6924-Aug-06 2:49 
QuestionHow to hide the closing X on a windows form? Pin
b0ksah24-Aug-06 2:20
b0ksah24-Aug-06 2:20 
AnswerRe: How to hide the closing X on a windows form? Pin
stevepham4225-Aug-06 0:16
stevepham4225-Aug-06 0:16 
GeneralRe: How to hide the closing X on a windows form? Pin
b0ksah25-Aug-06 1:40
b0ksah25-Aug-06 1:40 
QuestionTracing class instances Pin
MatthysDT24-Aug-06 2:09
MatthysDT24-Aug-06 2:09 
AnswerRe: Tracing class instances Pin
Colin Angus Mackay24-Aug-06 2:29
Colin Angus Mackay24-Aug-06 2:29 
QuestionSetting envir var through VB prog in a batch script Pin
P.Meyenburg23-Aug-06 21:27
P.Meyenburg23-Aug-06 21:27 
I'm not at very skilled VB programmer and quite new to Visual Studio 2005. I'm trying from an ordinary batch-script on windows to call a VB program, which - depending on the parameters - should set one environment variable.

I have managed to create the program, and I can see either through registry or through "Environment Variables" in "System properties", that my variable is created and set in either the user or machine environment. But in the command shell (cmd.exe) window I still have no access to the new environment variable.

I imagine the problem is that when launching the cmd.exe you take a kind of snapshot of the environment and works with this "copy".

But how can I refresh the environment so the variable is visible and the new value also?

Rgds.
Preben

AnswerRe: Setting envir var through VB prog in a batch script Pin
Jun Du24-Aug-06 9:28
Jun Du24-Aug-06 9:28 
GeneralRe: Setting envir var through VB prog in a batch script Pin
P.Meyenburg24-Aug-06 21:00
P.Meyenburg24-Aug-06 21:00 
QuestionDataGridViewComboBoxColumn Pin
Nagaraju_Focus23-Aug-06 19:48
Nagaraju_Focus23-Aug-06 19:48 
AnswerRe: DataGridViewComboBoxColumn Pin
Navi1524-Aug-06 0:03
Navi1524-Aug-06 0:03 
QuestionChanging the windows desktop background color programmatically Pin
BarV23-Aug-06 7:29
BarV23-Aug-06 7:29 
AnswerRe: Changing the windows desktop background color programmatically Pin
Jun Du23-Aug-06 8:12
Jun Du23-Aug-06 8:12 
GeneralRe: Changing the windows desktop background color programmatically Pin
BarV30-Aug-06 19:28
BarV30-Aug-06 19:28 
Question[Message Deleted] Pin
R_L_H23-Aug-06 4:02
R_L_H23-Aug-06 4:02 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Steve Maier23-Aug-06 4:22
professionalSteve Maier23-Aug-06 4:22 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Dan Neely23-Aug-06 4:29
Dan Neely23-Aug-06 4:29 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Dan Neely23-Aug-06 4:31
Dan Neely23-Aug-06 4:31 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management [modified] Pin
Mike Dimmick23-Aug-06 10:23
Mike Dimmick23-Aug-06 10:23 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Scott Dorman1-Sep-06 15:57
professionalScott Dorman1-Sep-06 15:57 
QuestionWhy reference variables are stored on heap Pin
karan vidyut23-Aug-06 1:57
karan vidyut23-Aug-06 1:57 
AnswerRe: Why reference variables are stored on heap Pin
Jun Du23-Aug-06 4:41
Jun Du23-Aug-06 4:41 
AnswerRe: Why reference variables are stored on heap Pin
Colin Angus Mackay24-Aug-06 2:27
Colin Angus Mackay24-Aug-06 2:27 
AnswerRe: Why reference variables are stored on heap Pin
Guffa24-Aug-06 3:17
Guffa24-Aug-06 3:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.