?
Solved

Where does the data for the Environ Object reside

Posted on 2006-05-09
6
Medium Priority
?
164 Views
Last Modified: 2010-05-01
Hello,
         SomeOne sent me code that loops through the Environ Object looking for a specific varialble.  The one I am looking for does not exist.

       So where does this Environ Keys exist?

      Is it the registry?  If so which part?

Thanks
Bill
     
     
0
Comment
Question by:bill_home
  • 3
  • 3
6 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 1500 total points
ID: 16641547
HKEY_LOCAL_MACHINE\System\currentcontrolset\control\session manager\environment
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 16641558
for user

HKEY_CURRENT_USER\environment
0
 

Author Comment

by:bill_home
ID: 16641649
It seems like it gets data from a few places. some of the keys I see as I step through are in one or the other sections you mention above.  Is it ok for me to add to these folders?  I will be accepting your answer shortly.  Thanks for the qucik response.  It is urgent.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 26

Expert Comment

by:EDDYKT
ID: 16641997

sure
can you see it from command prompt?

type set on the command prompt
0
 

Author Comment

by:bill_home
ID: 16642599
I added an Enviroment var in hkm\system\controlset001\control\session manager\environment..seemed to work ok.

Thanks again
Bill
0
 

Author Comment

by:bill_home
ID: 16662216
do not add any keys to hkm\system\controlset001\control\session manager\environment YOUR PC WILL CONTINUE TO REBOOT...CAN'T GET IT GOING EVEN IN SAFE MODE.  NEEDS TO BE RE-BUILT
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question