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

C#

 
AnswerRe: Need Help With Accessing Web Page Pin
Andy Brummer12-Sep-05 17:55
sitebuilderAndy Brummer12-Sep-05 17:55 
QuestionRe: Need Help With Accessing Web Page Pin
Thaynann12-Sep-05 19:14
Thaynann12-Sep-05 19:14 
AnswerRe: Need Help With Accessing Web Page Pin
Andy Brummer13-Sep-05 6:09
sitebuilderAndy Brummer13-Sep-05 6:09 
GeneralRe: Need Help With Accessing Web Page Pin
Thaynann13-Sep-05 12:15
Thaynann13-Sep-05 12:15 
QuestionC# Removing Excel object from Task Manager Pin
dsrao12-Sep-05 14:24
dsrao12-Sep-05 14:24 
AnswerRe: C# Removing Excel object from Task Manager Pin
LeenaSo12-Sep-05 19:59
LeenaSo12-Sep-05 19:59 
AnswerRe: C# Removing Excel object from Task Manager Pin
minhpc_bk12-Sep-05 21:18
minhpc_bk12-Sep-05 21:18 
AnswerRe: C# Removing Excel object from Task Manager Pin
miah alom13-Sep-05 5:37
miah alom13-Sep-05 5:37 
[DllImport("user32.dll", EntryPoint="GetWindowThreadProcessId")]
public static extern uint GetWindowThreadProcessId(int Hwnd, ref int ProcessID);

private int importExcelProcessID = 0;

Do this in the beginning

Excel._Application _excel = new Excel.ApplicationClass();
GetWindowThreadProcessId(_excel.Hwnd, ref this.importExcelProcessID);

When the App ends do this

if (this.importExcelProcessID != 0)
{
Process.GetProcessById(this.importExcelProcessID).Kill();
}
GeneralRe: C# Removing Excel object from Task Manager Pin
dsrao13-Sep-05 8:23
dsrao13-Sep-05 8:23 
GeneralRe: C# Removing Excel object from Task Manager Pin
dsrao13-Sep-05 8:50
dsrao13-Sep-05 8:50 
GeneralRe: C# Removing Excel object from Task Manager Pin
Anonymous13-Sep-05 15:22
Anonymous13-Sep-05 15:22 
QuestionRead deadlock on child process Pin
brucemo12-Sep-05 13:36
brucemo12-Sep-05 13:36 
AnswerRe: Read deadlock on child process Pin
S. Senthil Kumar12-Sep-05 18:44
S. Senthil Kumar12-Sep-05 18:44 
GeneralRe: Read deadlock on child process Pin
brucemo12-Sep-05 20:04
brucemo12-Sep-05 20:04 
QuestionIssue with Form Sizing Pin
DeepToot12-Sep-05 11:57
DeepToot12-Sep-05 11:57 
AnswerRe: Issue with Form Sizing Pin
Christian Graus12-Sep-05 12:48
protectorChristian Graus12-Sep-05 12:48 
GeneralRe: Issue with Form Sizing Pin
DeepToot13-Sep-05 4:32
DeepToot13-Sep-05 4:32 
QuestionNeed to write a Form that accepts dropping files dragged from Explorer Pin
12-Sep-05 11:26
suss12-Sep-05 11:26 
AnswerRe: Need to write a Form that accepts dropping files dragged from Explorer Pin
Member 103390712-Sep-05 12:21
Member 103390712-Sep-05 12:21 
AnswerRe: Need to write a Form that accepts dropping files dragged from Explorer Pin
Mohamad Al Husseiny12-Sep-05 12:43
Mohamad Al Husseiny12-Sep-05 12:43 
QuestionDeserializer question Pin
Tom Wright12-Sep-05 11:23
Tom Wright12-Sep-05 11:23 
AnswerRe: Deserializer question Pin
S. Senthil Kumar12-Sep-05 15:26
S. Senthil Kumar12-Sep-05 15:26 
Questionlength Pin
xilefxilef12-Sep-05 10:57
xilefxilef12-Sep-05 10:57 
QuestionMoving files Pin
BECK712-Sep-05 7:11
BECK712-Sep-05 7:11 
AnswerRe: Moving files Pin
leppie12-Sep-05 7:23
leppie12-Sep-05 7:23 

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.