Environment Variables Re-Visited
From: Bill Armitage (BillArmitage_at_discussions.microsoft.com)
Date: 09/03/04
- Next message: Ken Halter: "Re: Environment Variables Re-Visited"
- Previous message: Bill Armitage: "Re: Environment Variables"
- Next in thread: Ken Halter: "Re: Environment Variables Re-Visited"
- Reply: Ken Halter: "Re: Environment Variables Re-Visited"
- Reply: Paul Clement: "Re: Environment Variables Re-Visited"
- Reply: Cristian Moraru: "Re: Environment Variables Re-Visited"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Sep 2004 08:13:03 -0700
Ken and Tony responded correctly to my previous enquiry re Environment
Variables.
But I really did not pose the question that I meant to.I simply asked if it
was possible to programmatically create an Environment Variable using VB and
the reply I received did create such a variable and its value could be seen
by a child process. But, on exit from the parent process the created
Environment Variable was wiped from the Table of Environment Variables. I
really want to cretae a 'permanent' environmental variable that can be creted
by one parent process and subsequently read by another process not spawned by
the creator process. Is this possible? Message 9 from the 12 thread
message that I was directed to implies that this is not possible. It
appears that each parent process gets its own copy of the Environmental Table
and anything that it does to this table idoes not affect the original. If
this is so then I must look for another solution. (I could pass the
information via a file - but I am trying to avoid this solution).
Anyway, many thanks to everyone who has considered this problem.
Bill Armitage
- Next message: Ken Halter: "Re: Environment Variables Re-Visited"
- Previous message: Bill Armitage: "Re: Environment Variables"
- Next in thread: Ken Halter: "Re: Environment Variables Re-Visited"
- Reply: Ken Halter: "Re: Environment Variables Re-Visited"
- Reply: Paul Clement: "Re: Environment Variables Re-Visited"
- Reply: Cristian Moraru: "Re: Environment Variables Re-Visited"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|