Click here to Skip to main content
16,005,038 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to limit the usage of CPU? Pin
Dave Kreskowiak24-Aug-06 5:08
mveDave Kreskowiak24-Aug-06 5:08 
QuestionHow to ask user to install .NET framework? Pin
cylix200024-Aug-06 0:04
cylix200024-Aug-06 0:04 
AnswerRe: How to ask user to install .NET framework? Pin
Christian Graus24-Aug-06 1:59
protectorChristian Graus24-Aug-06 1:59 
QuestionHowto with a textbox? [modified] Pin
Phantisy23-Aug-06 23:32
Phantisy23-Aug-06 23:32 
AnswerRe: Howto with a textbox? Pin
mr_lasseter24-Aug-06 2:27
mr_lasseter24-Aug-06 2:27 
GeneralRe: Howto with a textbox? Pin
Phantisy24-Aug-06 14:41
Phantisy24-Aug-06 14:41 
GeneralRe: Howto with a textbox? Pin
mr_lasseter25-Aug-06 2:47
mr_lasseter25-Aug-06 2:47 
QuestionSetting envir var through VB prog in a batch script Pin
P.Meyenburg23-Aug-06 21:34
P.Meyenburg23-Aug-06 21:34 
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
Dave Kreskowiak24-Aug-06 5:03
mveDave Kreskowiak24-Aug-06 5:03 
GeneralRe: Setting envir var through VB prog in a batch script Pin
P.Meyenburg24-Aug-06 22:45
P.Meyenburg24-Aug-06 22:45 
GeneralRe: Setting envir var through VB prog in a batch script Pin
Dave Kreskowiak25-Aug-06 9:31
mveDave Kreskowiak25-Aug-06 9:31 
QuestionRetrieving Proc & HD Serial numbers: Code permissions and other security concerns Pin
Alex Feature23-Aug-06 21:14
Alex Feature23-Aug-06 21:14 
AnswerRe: Retrieving Proc & HD Serial numbers: Code permissions and other security concerns Pin
Christian Graus23-Aug-06 21:38
protectorChristian Graus23-Aug-06 21:38 
GeneralRe: Retrieving Proc & HD Serial numbers: Code permissions and other security concerns Pin
Alex Feature23-Aug-06 22:13
Alex Feature23-Aug-06 22:13 
GeneralRe: Retrieving Proc & HD Serial numbers: Code permissions and other security concerns Pin
Christian Graus23-Aug-06 22:31
protectorChristian Graus23-Aug-06 22:31 
GeneralRe: Retrieving Proc & HD Serial numbers: Code permissions and other security concerns Pin
Alex Feature24-Aug-06 20:06
Alex Feature24-Aug-06 20:06 
QuestionHow to edit legend of graph in crystal reports (vb.net 2005) Pin
riyaz_786_p23-Aug-06 19:27
riyaz_786_p23-Aug-06 19:27 
QuestionAppDomain Question [modified] Pin
mtone23-Aug-06 16:45
mtone23-Aug-06 16:45 
AnswerRe: AppDomain Question Pin
Dave Kreskowiak24-Aug-06 4:37
mveDave Kreskowiak24-Aug-06 4:37 
GeneralRe: AppDomain Question Pin
mtone24-Aug-06 6:40
mtone24-Aug-06 6:40 
GeneralRe: AppDomain Question Pin
Dave Kreskowiak24-Aug-06 7:20
mveDave Kreskowiak24-Aug-06 7:20 
GeneralRe: AppDomain Question Pin
mtone24-Aug-06 7:31
mtone24-Aug-06 7:31 
GeneralRe: AppDomain Question Pin
Dave Kreskowiak24-Aug-06 8:08
mveDave Kreskowiak24-Aug-06 8:08 
Questionupdate DATE error....? Pin
campbells23-Aug-06 15:25
campbells23-Aug-06 15:25 
AnswerRe: update DATE error....? Pin
mr_lasseter23-Aug-06 15:34
mr_lasseter23-Aug-06 15:34 

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.