Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
AnswerRe: Anyway to extract recently "navigated" images from a axWebBrowser control? Pin
Judah Gabriel Himango13-Apr-05 12:39
sponsorJudah Gabriel Himango13-Apr-05 12:39 
GeneralRe: Anyway to extract recently "navigated" images from a axWebBrowser control? Pin
FocusedWolf13-Apr-05 13:25
FocusedWolf13-Apr-05 13:25 
GeneralShut down explorer programmatically Pin
Ian Bowler13-Apr-05 8:18
Ian Bowler13-Apr-05 8:18 
GeneralRe: Shut down explorer programmatically Pin
tommazzo13-Apr-05 8:42
tommazzo13-Apr-05 8:42 
GeneralRe: Shut down explorer programmatically Pin
Ian Bowler13-Apr-05 8:48
Ian Bowler13-Apr-05 8:48 
GeneralRe: Shut down explorer programmatically Pin
Dave Kreskowiak13-Apr-05 9:08
mveDave Kreskowiak13-Apr-05 9:08 
GeneralRe: Shut down explorer programmatically Pin
Ian Bowler13-Apr-05 9:13
Ian Bowler13-Apr-05 9:13 
GeneralRe: Shut down explorer programmatically Pin
tommazzo13-Apr-05 9:38
tommazzo13-Apr-05 9:38 
Ian Bowler wrote:
The C++ code in the original post shuts down explorer indefinately. Is the limitation a C# limitation?

This is, I believe, because you sent the process the WM_QUIT message, with Process.Kill() you kill it without sending it the WM_QUIT message.

In order to keep explorer from restarting you could either run a loop on a new thread, which continously checks if explorer has been restarted and kills it again if neccessary (this isn't really the best idea).
Or (and this should be the better idea) you could import the FindWindow and PostMessage methods with DllImport and use them the same way as in C++;
GeneralRe: Shut down explorer programmatically Pin
Ian Bowler13-Apr-05 9:39
Ian Bowler13-Apr-05 9:39 
GeneralRe: Shut down explorer programmatically Pin
Dave Kreskowiak13-Apr-05 10:13
mveDave Kreskowiak13-Apr-05 10:13 
GeneralRe: Shut down explorer programmatically Pin
Ian Bowler13-Apr-05 11:18
Ian Bowler13-Apr-05 11:18 
GeneralRe: Shut down explorer programmatically Pin
Dave Kreskowiak13-Apr-05 8:49
mveDave Kreskowiak13-Apr-05 8:49 
GeneralWeird Shelling Issue inside and out of IDE Pin
CyberTech13-Apr-05 7:34
CyberTech13-Apr-05 7:34 
GeneralRe: Weird Shelling Issue inside and out of IDE Pin
Dave Kreskowiak13-Apr-05 7:52
mveDave Kreskowiak13-Apr-05 7:52 
GeneralRe: Weird Shelling Issue inside and out of IDE Pin
CyberTech13-Apr-05 8:00
CyberTech13-Apr-05 8:00 
GeneralRe: Weird Shelling Issue inside and out of IDE Pin
Dave Kreskowiak13-Apr-05 8:40
mveDave Kreskowiak13-Apr-05 8:40 
GeneralRe: Weird Shelling Issue inside and out of IDE Pin
CyberTech13-Apr-05 8:46
CyberTech13-Apr-05 8:46 
GeneralRe: Weird Shelling Issue inside and out of IDE Pin
Dave Kreskowiak13-Apr-05 9:13
mveDave Kreskowiak13-Apr-05 9:13 
GeneralC# WinForm - HTML Browser Pin
AnneThorne13-Apr-05 6:49
AnneThorne13-Apr-05 6:49 
GeneralRe: C# WinForm - HTML Browser Pin
Dave Kreskowiak13-Apr-05 7:48
mveDave Kreskowiak13-Apr-05 7:48 
GeneralRe: C# WinForm - HTML Browser Pin
AnneThorne13-Apr-05 7:50
AnneThorne13-Apr-05 7:50 
GeneralC# DataRelation Pin
elapid13-Apr-05 6:45
elapid13-Apr-05 6:45 
GeneralRe: C# DataRelation Pin
turbochimp13-Apr-05 6:54
turbochimp13-Apr-05 6:54 
GeneralC# & Crystal Reports Pin
JRGuerrero13-Apr-05 5:50
JRGuerrero13-Apr-05 5:50 
GeneralOutput Type of Class library can not be started directly Pin
LiamD13-Apr-05 5:49
LiamD13-Apr-05 5:49 

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.