Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read WndProc of other windows Pin
Marcelo Emmerich8-Dec-08 0:56
Marcelo Emmerich8-Dec-08 0:56 
GeneralRe: Read WndProc of other windows Pin
Tony Pottier9-Dec-08 11:27
Tony Pottier9-Dec-08 11:27 
QuestionA bug with vista Pin
EliottA7-Dec-08 9:52
EliottA7-Dec-08 9:52 
AnswerRe: A bug with vista Pin
Christian Graus7-Dec-08 10:07
protectorChristian Graus7-Dec-08 10:07 
GeneralRe: A bug with vista Pin
EliottA7-Dec-08 10:17
EliottA7-Dec-08 10:17 
GeneralRe: A bug with vista Pin
EliottA7-Dec-08 10:40
EliottA7-Dec-08 10:40 
GeneralRe: A bug with vista Pin
Colin Angus Mackay7-Dec-08 13:57
Colin Angus Mackay7-Dec-08 13:57 
AnswerRe: A bug with vista Pin
Colin Angus Mackay7-Dec-08 10:34
Colin Angus Mackay7-Dec-08 10:34 
In previous versions of Windows you will also need to be an Administrator to do this. The only difference is that in Vista it will automatically run you in a lower privilage account even although you are logged in as an Administrator unless you explicitly run the application as Administrator. This is for good reason - too many people run as Admin and that can compromise your system. In Vista if an application tries anything that may compromise your system (like the code you are running) it will prevent it.

How other applications deal with it, and that includes Microsoft applications, is to restart the application as Administrator if it can. If it can't it will prompt the user to provide the appropriate credentials. Unfortunately, I can't remember the code to do this.

Remember, your application will still fail under XP if you are not logged in as Administrator too. Only admin level accounts have the rights to write to HKEY_LOCAL_MACHINE in the registry in Windows NT, 2000, XP, 2003, Vista and 2008. In Windows 95, 98 and ME anyone can write the HKEY_LOCAL_MACHINE.


QuestionHow to create a GUI using Visual Studio for a SQL database? Pin
Vloops7-Dec-08 7:55
Vloops7-Dec-08 7:55 
AnswerRe: How to create a GUI using Visual Studio for a SQL database? Pin
Christian Graus7-Dec-08 10:09
protectorChristian Graus7-Dec-08 10:09 
GeneralRe: How to create a GUI using Visual Studio for a SQL database? Pin
Vloops7-Dec-08 10:42
Vloops7-Dec-08 10:42 
GeneralRe: How to create a GUI using Visual Studio for a SQL database? Pin
Christian Graus7-Dec-08 11:26
protectorChristian Graus7-Dec-08 11:26 
Questionconnecting my phone to a web service in a local computer [modified] Pin
harcaype7-Dec-08 5:14
harcaype7-Dec-08 5:14 
AnswerRe: connecting my phone to a web service in a local computer Pin
Marcelo Emmerich7-Dec-08 5:44
Marcelo Emmerich7-Dec-08 5:44 
GeneralRe: connecting my phone to a web service in a local computer Pin
harcaype7-Dec-08 6:21
harcaype7-Dec-08 6:21 
GeneralRe: connecting my phone to a web service in a local computer Pin
Marcelo Emmerich7-Dec-08 21:20
Marcelo Emmerich7-Dec-08 21:20 
GeneralRe: connecting my phone to a web service in a local computer Pin
harcaype8-Dec-08 1:05
harcaype8-Dec-08 1:05 
GeneralRe: connecting my phone to a web service in a local computer Pin
Marcelo Emmerich8-Dec-08 1:46
Marcelo Emmerich8-Dec-08 1:46 
GeneralRe: connecting my phone to a web service in a local computer Pin
harcaype8-Dec-08 3:33
harcaype8-Dec-08 3:33 
QuestionTesting Code - MbUnit / xUnit Pin
Jammer7-Dec-08 4:15
Jammer7-Dec-08 4:15 
AnswerRe: Testing Code - MbUnit / xUnit Pin
Thomas Weller7-Dec-08 8:17
Thomas Weller7-Dec-08 8:17 
GeneralRe: Testing Code - MbUnit / xUnit Pin
Jammer7-Dec-08 8:21
Jammer7-Dec-08 8:21 
Questioncreate Sequence diagram Pin
Ronenb7-Dec-08 2:50
Ronenb7-Dec-08 2:50 
AnswerRe: create Sequence diagram Pin
Seraph_summer7-Dec-08 2:55
Seraph_summer7-Dec-08 2:55 
GeneralRe: create Sequence diagram Pin
Ronenb7-Dec-08 3:05
Ronenb7-Dec-08 3:05 

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.