Click here to Skip to main content
15,897,718 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Runing a embeded exe Pin
Dave Kreskowiak28-Sep-09 8:05
mveDave Kreskowiak28-Sep-09 8:05 
GeneralRe: Runing a embeded exe Pin
Bob Beaubien28-Sep-09 8:07
Bob Beaubien28-Sep-09 8:07 
QuestionChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
lbitben27-Sep-09 1:39
lbitben27-Sep-09 1:39 
AnswerRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
Luc Pattyn27-Sep-09 7:25
sitebuilderLuc Pattyn27-Sep-09 7:25 
GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
lbitben27-Sep-09 11:52
lbitben27-Sep-09 11:52 
AnswerRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
Dave Kreskowiak27-Sep-09 9:34
mveDave Kreskowiak27-Sep-09 9:34 
GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
lbitben27-Sep-09 11:55
lbitben27-Sep-09 11:55 
GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
Dave Kreskowiak27-Sep-09 15:12
mveDave Kreskowiak27-Sep-09 15:12 
lbitben wrote:
When ChangeDisplaySettingsEx runs successfully, you can logoff or even reboot and the settings are still applied.


OK, so is the problem solved or do you still have it? If not, then change the service so it's using a user account to login instead of running under LocalSystem. I doubt it's going to work, but it's worth a short.

Other than that, you cannot force those functions to work as you want. You're going to have to find some other method to do what you want. Information on doing this is probably going to be scarce considering noone ever uses those functions from a service.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
lbitben27-Sep-09 15:45
lbitben27-Sep-09 15:45 
GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
Dave Kreskowiak27-Sep-09 18:06
mveDave Kreskowiak27-Sep-09 18:06 
GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
lbitben28-Sep-09 3:52
lbitben28-Sep-09 3:52 
GeneralRe: ChangeDisplaySettingsEx & EnumDisplaySettingsEx Pin
Dave Kreskowiak28-Sep-09 4:56
mveDave Kreskowiak28-Sep-09 4:56 
QuestionRemaining Text Does Not appear to be a part of the Formula Pin
nowords4u27-Sep-09 1:24
nowords4u27-Sep-09 1:24 
AnswerRe: Remaining Text Does Not appear to be a part of the Formula Pin
Eddy Vluggen27-Sep-09 12:09
professionalEddy Vluggen27-Sep-09 12:09 
GeneralRe: Remaining Text Does Not appear to be a part of the Formula Pin
nowords4u27-Sep-09 19:11
nowords4u27-Sep-09 19:11 
GeneralRe: Remaining Text Does Not appear to be a part of the Formula Pin
nowords4u27-Sep-09 19:15
nowords4u27-Sep-09 19:15 
GeneralRe: Remaining Text Does Not appear to be a part of the Formula Pin
Eddy Vluggen27-Sep-09 21:02
professionalEddy Vluggen27-Sep-09 21:02 
Questionfrom debuging in c# Pin
paya1pa27-Sep-09 0:33
paya1pa27-Sep-09 0:33 
AnswerRe: from debuging in c# Pin
N a v a n e e t h27-Sep-09 1:42
N a v a n e e t h27-Sep-09 1:42 
AnswerRe: from debuging in c# Pin
dan!sh 27-Sep-09 9:21
professional dan!sh 27-Sep-09 9:21 
AnswerRe: from debuging in c# Pin
Christian Graus27-Sep-09 12:09
protectorChristian Graus27-Sep-09 12:09 
QuestionGlobal Variables in VB.NET Pin
PAguilar0926-Sep-09 14:45
PAguilar0926-Sep-09 14:45 
AnswerRe: Global Variables in VB.NET Pin
Christian Graus26-Sep-09 14:58
protectorChristian Graus26-Sep-09 14:58 
GeneralRe: Global Variables in VB.NET Pin
PAguilar0926-Sep-09 15:16
PAguilar0926-Sep-09 15:16 
GeneralRe: Global Variables in VB.NET Pin
Christian Graus26-Sep-09 15:29
protectorChristian Graus26-Sep-09 15:29 

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.