Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
GeneralNewline in Textbox Pin
matthias s.29-Jun-04 1:09
matthias s.29-Jun-04 1:09 
GeneralRe: Newline in Textbox Pin
lesnikowski29-Jun-04 1:25
lesnikowski29-Jun-04 1:25 
GeneralRe: Newline in Textbox Pin
matthias s.29-Jun-04 1:37
matthias s.29-Jun-04 1:37 
GeneralRe: Newline in Textbox Pin
Roland Bär29-Jun-04 3:07
Roland Bär29-Jun-04 3:07 
GeneralThe controls in Parent form are shown above the child form Pin
Vipingn29-Jun-04 0:11
Vipingn29-Jun-04 0:11 
GeneralRe: The controls in Parent form are shown above the child form Pin
Dave Kreskowiak29-Jun-04 4:34
mveDave Kreskowiak29-Jun-04 4:34 
QuestionHow to obtain the exe name "iexplore.exe" of Internet Explorer using Process class Pin
ganeshvijay29-Jun-04 0:04
ganeshvijay29-Jun-04 0:04 
AnswerRe: How to obtain the exe name "iexplore.exe" of Internet Explorer using Process class Pin
turbochimp29-Jun-04 5:12
turbochimp29-Jun-04 5:12 
It's true that explorer.exe is not MS Internet Explorer (it's Windows Explorer). However, if IE is running at the time the processes are enumerated, iexplore.exe should also appear in the list. I used the following code to list the processes on my workstation, and it worked like a charm:

using System;<br />
using System.Diagnostics;<br />
<br />
class ProcEnumerator<br />
{<br />
	/// <summary><br />
	/// The main entry point for the application.<br />
	/// </summary><br />
	[STAThread]<br />
	static void Main(string[] args)<br />
	{<br />
<br />
		Process[] localProcess = System.Diagnostics.Process.GetProcesses();<br />
		foreach(Process p in localProcess)<br />
		{<br />
			try<br />
			{<br />
				Console.WriteLine(p.MainModule.FileName);<br />
			}<br />
			catch(Exception excp)<br />
			{<br />
				//Account for non-executable processes like 'System' and 'Idle'<br />
				Console.WriteLine("*** '{0}': {1} - may be a placeholder.", p.ProcessName, excp.Message);<br />
			}<br />
		}<br />
<br />
		Console.ReadLine();<br />
	}<br />
}


The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

AnswerRe: How to obtain the exe name &quot;iexplore.exe&quot; of Internet Explorer using Process class Pin
Heath Stewart29-Jun-04 6:04
protectorHeath Stewart29-Jun-04 6:04 
GeneralRe: How to obtain the exe name &quot;iexplore.exe&quot; of Internet Explorer using Process class Pin
turbochimp29-Jun-04 7:06
turbochimp29-Jun-04 7:06 
AnswerRe: How to obtain the exe name &quot;iexplore.exe&quot; of Internet Explorer using Process class Pin
DavidR_r29-Jun-04 7:22
DavidR_r29-Jun-04 7:22 
GeneralC# notation difference Pin
Serge Lobko-Lobanovsky28-Jun-04 23:45
Serge Lobko-Lobanovsky28-Jun-04 23:45 
GeneralRe: C# notation difference Pin
Stefan Troschuetz28-Jun-04 23:58
Stefan Troschuetz28-Jun-04 23:58 
GeneralRe: C# notation difference Pin
Serge Lobko-Lobanovsky29-Jun-04 0:47
Serge Lobko-Lobanovsky29-Jun-04 0:47 
GeneralHosted AxBrowser MSHTML Suppress the Save Dialog Pin
Ach1lles28-Jun-04 22:30
Ach1lles28-Jun-04 22:30 
GeneralC/S mode To B/S mode Pin
fu028-Jun-04 22:04
fu028-Jun-04 22:04 
GeneralRe: C/S mode To B/S mode Pin
Colin Angus Mackay29-Jun-04 1:42
Colin Angus Mackay29-Jun-04 1:42 
Generalproblem with drawstring and font &quot;Microsoft Sans Serif&quot; Pin
yonitgil28-Jun-04 21:50
yonitgil28-Jun-04 21:50 
GeneralRe: problem with drawstring and font &quot;Microsoft Sans Serif&quot; Pin
Heath Stewart29-Jun-04 5:29
protectorHeath Stewart29-Jun-04 5:29 
GeneralWeifenLuos DockManager Question Pin
matthias s.28-Jun-04 21:39
matthias s.28-Jun-04 21:39 
GeneralRe: WeifenLuos DockManager Question Pin
Dave Kreskowiak29-Jun-04 4:31
mveDave Kreskowiak29-Jun-04 4:31 
Generalrestarting second counter Pin
Jason Ranin28-Jun-04 18:43
Jason Ranin28-Jun-04 18:43 
GeneralRe: restarting second counter Pin
Colin Angus Mackay29-Jun-04 1:46
Colin Angus Mackay29-Jun-04 1:46 
Generalcode with a foxpro database Pin
cmarmr28-Jun-04 18:07
cmarmr28-Jun-04 18:07 
GeneralRe: code with a foxpro database Pin
Heath Stewart29-Jun-04 5:04
protectorHeath Stewart29-Jun-04 5:04 

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.