Click here to Skip to main content
15,899,474 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiondata binding update data source Pin
Mortezai27-Jun-07 6:49
Mortezai27-Jun-07 6:49 
AnswerRe: data binding update data source Pin
Dave Kreskowiak27-Jun-07 7:13
mveDave Kreskowiak27-Jun-07 7:13 
GeneralRe: data binding update data source Pin
Mortezai27-Jun-07 9:22
Mortezai27-Jun-07 9:22 
GeneralRe: data binding update data source Pin
Dave Kreskowiak27-Jun-07 9:40
mveDave Kreskowiak27-Jun-07 9:40 
QuestionWhich API do I call to abort logoff/shutdown Pin
kbern327-Jun-07 5:43
kbern327-Jun-07 5:43 
AnswerRe: Which API do I call to abort logoff/shutdown Pin
Craster27-Jun-07 5:58
Craster27-Jun-07 5:58 
AnswerRe: Which API do I call to abort logoff/shutdown Pin
Psycho-*Coder*-Extreme27-Jun-07 17:54
Psycho-*Coder*-Extreme27-Jun-07 17:54 
QuestionRe: Which API do I call to abort logoff/shutdown Pin
kbern328-Jun-07 3:34
kbern328-Jun-07 3:34 
Trust me, I would much rather do it Craster's way since almost all of the QE testing is done through RDP connections anyway but that's not an option. My manager wants a script and I was told by two colleagues of mine at other companies that removing the standard logoff/shutdown methods is not something I should do in a production environment.

Thank you Psycho Extreme for giving me the code but I still don't know which call I should use so I can't move forward. I've searched microsoft groups, google groups and so many scripting websites and message boards, and no one seems to know the call and/or no one seems to have attempted this before. There arn't any examples out there. I don't know how I'm going to figure this out. In the meantime I have another question for any of you out there:

Is it possible to intercept another program's WM_QUERYENDSESSION message? If I was to go this route to abort shutdown, that's what I would need to do, right? Whenever someone tried to logoff/shutdown, my script would run everytime via group policy, check for VMware's executible, and, if found, intercept VMware's WM_QUERYENDSESSION message to return "0" so that the OS wouldn't shutdown or logoff. Now that I think about it, that's actually starting to sound like something a hacker would come up with. I don't want to go there. That sounds like high level programming which I can't learn in a month (when this project is due) and I don't even think I could do that in a script.

Forget that first question. Try and answer this: Would I have to intercept VMware's WMQ message or can I send this message directly from my script if VMware's executible is found? Sorry for these hard questions. I'm just trying to figure this out.
Questionimage from server ? Pin
porsti27-Jun-07 5:01
porsti27-Jun-07 5:01 
AnswerRe: image from server ? Pin
Dave Kreskowiak27-Jun-07 5:11
mveDave Kreskowiak27-Jun-07 5:11 
AnswerRe: image from server ? Pin
Psycho-*Coder*-Extreme27-Jun-07 18:06
Psycho-*Coder*-Extreme27-Jun-07 18:06 
QuestionSetting the Help Window with the HelpProvider Control Pin
RichFeldman27-Jun-07 4:09
RichFeldman27-Jun-07 4:09 
QuestionGenerating Unique Alpha-Numeric ID's? Pin
DarynRoberts27-Jun-07 3:35
DarynRoberts27-Jun-07 3:35 
AnswerRe: Generating Unique Alpha-Numeric ID's? Pin
nlarson1127-Jun-07 4:03
nlarson1127-Jun-07 4:03 
GeneralRe: Generating Unique Alpha-Numeric ID's? Pin
DarynRoberts27-Jun-07 22:02
DarynRoberts27-Jun-07 22:02 
GeneralRe: Generating Unique Alpha-Numeric ID's? Pin
nlarson1128-Jun-07 3:32
nlarson1128-Jun-07 3:32 
GeneralRe: Generating Unique Alpha-Numeric ID's? Pin
DarynRoberts29-Jun-07 0:52
DarynRoberts29-Jun-07 0:52 
AnswerRe: Generating Unique Alpha-Numeric ID's? Pin
Guffa27-Jun-07 12:31
Guffa27-Jun-07 12:31 
GeneralRe: Generating Unique Alpha-Numeric ID's? Pin
Mycroft Holmes27-Jun-07 23:00
professionalMycroft Holmes27-Jun-07 23:00 
GeneralRe: Generating Unique Alpha-Numeric ID's? Pin
Guffa28-Jun-07 2:10
Guffa28-Jun-07 2:10 
Answerthanks Pin
DarynRoberts28-Jun-07 22:06
DarynRoberts28-Jun-07 22:06 
QuestionFSO.FolderExists Problem Pin
DanB198327-Jun-07 1:17
DanB198327-Jun-07 1:17 
AnswerRe: FSO.FolderExists Problem Pin
Steven J Jowett27-Jun-07 3:45
Steven J Jowett27-Jun-07 3:45 
GeneralRe: FSO.FolderExists Problem Pin
DanB198327-Jun-07 3:50
DanB198327-Jun-07 3:50 
GeneralRe: FSO.FolderExists Problem Pin
Dave Kreskowiak27-Jun-07 3:55
mveDave Kreskowiak27-Jun-07 3:55 

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.