Free selectors and Environment variables 
Author Message
 Free selectors and Environment variables

Hi everybody !

I've got two distinct problems, both in VB 3.0 on WfW 3.11 :
1- How is it possible to set the value of an environment variable (such as
PATH) from a VB program ? I know how to read it (Environ$), but I'd like to
change its value.

2- I noticed that MS Word uses selectors from the global heap, but doesn't
frees them when it quits, so I have to reboot the machine manually
(Ctrl-Alt-Del). All I want to do is periodically read the number of free
selectors and automatically reboot when I'm going to run out of selectors.
I read a program written in C++ to retrieve the number of free selectors,
but I'm unable to "translate" it in VB (I'm not very good at reading C++).

Thanks for your help !


Sema Group Telecom - Rennes, France
 +33.(0) (phone)
 +33.(0) (fax)

Mon, 06 Mar 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Free selectors and environment variables

2. Global Variable as record selector (Jet)

3. Global Variable as record selector (Jet)

4. Global Variable as record selector (Jet)

5. Global Variable as record selector (Jet)

6. Environment variable...

7. Write Environment Variables

8. Environment Variables

9. Environment Variables

10. querying environment variables from vba

11. WORD Environment Variables

12. Using Environment Variable in Template path


Powered by phpBB® Forum Software