Click here to Skip to main content
15,889,176 members
Home / Discussions / C#
   

C#

 
AnswerRe: Best fit algo Pin
Guffa7-Jun-08 0:03
Guffa7-Jun-08 0:03 
AnswerRe: Best fit algo Pin
Robert.C.Cartaino7-Jun-08 5:04
Robert.C.Cartaino7-Jun-08 5:04 
QuestionSeeing which thread owns a lock Pin
K.L.K6-Jun-08 18:53
K.L.K6-Jun-08 18:53 
QuestionProcess.Start C# Pin
satsumatable6-Jun-08 11:47
satsumatable6-Jun-08 11:47 
AnswerRe: Process.Start C# Pin
PIEBALDconsult6-Jun-08 13:24
mvePIEBALDconsult6-Jun-08 13:24 
QuestionProcess.Start on Vista return invalid Process Pin
dcabrames6-Jun-08 8:37
dcabrames6-Jun-08 8:37 
AnswerRe: Process.Start on Vista return invalid Process Pin
Giorgi Dalakishvili6-Jun-08 9:53
mentorGiorgi Dalakishvili6-Jun-08 9:53 
GeneralRe: Process.Start on Vista return invalid Process Pin
dcabrames6-Jun-08 10:20
dcabrames6-Jun-08 10:20 
Giorgi Dalakishvili wrote:
It seems that the process that you start calls another application and quits itself. Try running process like this:
Process p = Process.Start("http://www.google.com");


Thank you for the reply, OK tried that and still get same result. I agree, when IE is launched it appears to be handing off to 'ieuser.exe' which creates a new process and the original is exiting. I base this on looking at the 'Created by Process' attribute of the process that is displaying the URL, it points to the PID of 'ieuser.exe' This appears to be some new thing on Vista.

The only work around I have been able to come up with and it is a real hack is to get a list of all processes for iexplorer.exe before calling Process.Start() and then do another after and compare the lists. The new process for iexplorer.exe is the one I want (I hope) and I am good to go. The weakness of this workaround is that it can take a second or two for the process to appear in the Process List and a user could open a browser at the same time and I would not be able to tell the difference.

David
GeneralRe: Process.Start on Vista return invalid Process Pin
Giorgi Dalakishvili6-Jun-08 10:32
mentorGiorgi Dalakishvili6-Jun-08 10:32 
GeneralRe: Process.Start on Vista return invalid Process Pin
dcabrames9-Jun-08 3:24
dcabrames9-Jun-08 3:24 
GeneralRe: Process.Start on Vista return invalid Process Pin
Giorgi Dalakishvili9-Jun-08 3:43
mentorGiorgi Dalakishvili9-Jun-08 3:43 
GeneralRe: Process.Start on Vista return invalid Process Pin
dcabrames9-Jun-08 5:01
dcabrames9-Jun-08 5:01 
GeneralRe: Process.Start on Vista return invalid Process Pin
Giorgi Dalakishvili9-Jun-08 5:13
mentorGiorgi Dalakishvili9-Jun-08 5:13 
QuestionWCF DataContractFormat for System.Exception Pin
bit_cmdr6-Jun-08 7:34
bit_cmdr6-Jun-08 7:34 
QuestionFile IO Pin
netJP12L6-Jun-08 5:40
netJP12L6-Jun-08 5:40 
AnswerRe: File IO Pin
Colin Angus Mackay6-Jun-08 5:59
Colin Angus Mackay6-Jun-08 5:59 
GeneralRe: File IO Pin
Spacix One6-Jun-08 9:09
Spacix One6-Jun-08 9:09 
GeneralRe: File IO Pin
Colin Angus Mackay6-Jun-08 9:50
Colin Angus Mackay6-Jun-08 9:50 
AnswerRe: File IO Pin
Spacix One19-Jun-08 2:28
Spacix One19-Jun-08 2:28 
QuestionPosting event or invoking callbacks on main thread Pin
Jim Crafton6-Jun-08 4:30
Jim Crafton6-Jun-08 4:30 
AnswerRe: Posting event or invoking callbacks on main thread Pin
leppie6-Jun-08 4:40
leppie6-Jun-08 4:40 
GeneralRe: Posting event or invoking callbacks on main thread Pin
Jim Crafton6-Jun-08 5:29
Jim Crafton6-Jun-08 5:29 
GeneralRe: Posting event or invoking callbacks on main thread Pin
leppie6-Jun-08 5:55
leppie6-Jun-08 5:55 
GeneralRe: Posting event or invoking callbacks on main thread Pin
leppie6-Jun-08 6:09
leppie6-Jun-08 6:09 
GeneralRe: Posting event or invoking callbacks on main thread Pin
Jim Crafton6-Jun-08 9:12
Jim Crafton6-Jun-08 9:12 

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.