Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: opening a web file Pin
David Crow11-Nov-03 8:12
David Crow11-Nov-03 8:12 
GeneralRe: opening a web file Pin
doctorpi11-Nov-03 8:16
doctorpi11-Nov-03 8:16 
GeneralRe: opening a web file Pin
RaajaOfSelf11-Nov-03 22:40
RaajaOfSelf11-Nov-03 22:40 
GeneralRe: opening a web file Pin
Chris Hills12-Nov-03 23:07
Chris Hills12-Nov-03 23:07 
Generalopen a workbrook automation excel Pin
jerome_data11-Nov-03 7:55
jerome_data11-Nov-03 7:55 
GeneralRe: open a workbrook automation excel Pin
David Crow11-Nov-03 8:05
David Crow11-Nov-03 8:05 
GeneralRe: open a workbrook automation excel Pin
jerome_data11-Nov-03 8:13
jerome_data11-Nov-03 8:13 
Generalupdating system on environment variable changes Pin
Jim Crafton11-Nov-03 7:32
Jim Crafton11-Nov-03 7:32 
Anyone have any experience with changing an environment variable via the registry and then updating the system to recognize the change?

I have been able to successfully change the environment variable, but if I then open a command prompt it doesn't see the changes.
However if I then open up the System Properties, goto the environment variable section and open it up, click OK, then the desktop flickers, and the refresh occurs.

According to what I can find you're supposed to call
SendMessageTimeout( HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)"Environment", SMTO_NORMAL, 1000 );


However this does not seem to work for me.
Anyone else deal with this, and if so how?

Thanks !

¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!

SELECT * FROM User WHERE Clue > 0
0 rows returned

GeneralRe: updating system on environment variable changes Pin
David Crow11-Nov-03 8:01
David Crow11-Nov-03 8:01 
GeneralRe: updating system on environment variable changes Pin
Jim Crafton11-Nov-03 15:36
Jim Crafton11-Nov-03 15:36 
GeneralRe: updating system on environment variable changes Pin
David Crow12-Nov-03 3:00
David Crow12-Nov-03 3:00 
GeneralRe: updating system on environment variable changes Pin
Jim Crafton12-Nov-03 4:33
Jim Crafton12-Nov-03 4:33 
GeneralRe: updating system on environment variable changes Pin
David Crow12-Nov-03 5:01
David Crow12-Nov-03 5:01 
GeneralCDataGrid with GetValue Pin
vancouver77711-Nov-03 7:29
vancouver77711-Nov-03 7:29 
GeneralThreas Pin
VietDelphi11-Nov-03 6:19
VietDelphi11-Nov-03 6:19 
GeneralRe: Threads Pin
David Crow11-Nov-03 7:19
David Crow11-Nov-03 7:19 
GeneralRe: Threads Pin
VietDelphi11-Nov-03 7:34
VietDelphi11-Nov-03 7:34 
GeneralRe: Threads Pin
David Crow11-Nov-03 7:38
David Crow11-Nov-03 7:38 
GeneralRe: Threads Pin
VietDelphi11-Nov-03 7:52
VietDelphi11-Nov-03 7:52 
GeneralPalette window Z order Pin
srev11-Nov-03 5:33
srev11-Nov-03 5:33 
GeneralRe: Palette window Z order Pin
Antti Keskinen11-Nov-03 7:01
Antti Keskinen11-Nov-03 7:01 
GeneralRe: Palette window Z order Pin
srev11-Nov-03 9:12
srev11-Nov-03 9:12 
GeneralRe: Palette window Z order Pin
srev11-Nov-03 11:55
srev11-Nov-03 11:55 
GeneralRe: Palette window Z order Pin
Antti Keskinen11-Nov-03 22:22
Antti Keskinen11-Nov-03 22:22 
GeneralAscending order Pin
iasaber11-Nov-03 4:37
iasaber11-Nov-03 4:37 

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.