Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Create a Trial Version in C# dot net Pin
Pete O'Hanlon10-Oct-07 3:17
mvePete O'Hanlon10-Oct-07 3:17 
QuestionReferenceEquals and checking for null Pin
Rob Philpott10-Oct-07 0:59
Rob Philpott10-Oct-07 0:59 
AnswerRe: ReferenceEquals and checking for null Pin
CPallini10-Oct-07 1:57
mveCPallini10-Oct-07 1:57 
AnswerRe: ReferenceEquals and checking for null Pin
Michael Potter10-Oct-07 3:24
Michael Potter10-Oct-07 3:24 
GeneralRe: ReferenceEquals and checking for null Pin
Anthony Mushrow10-Oct-07 3:46
professionalAnthony Mushrow10-Oct-07 3:46 
GeneralRe: ReferenceEquals and checking for null Pin
J4amieC10-Oct-07 4:06
J4amieC10-Oct-07 4:06 
GeneralRe: ReferenceEquals and checking for null Pin
Michael Potter10-Oct-07 4:09
Michael Potter10-Oct-07 4:09 
QuestionActivate an existing browser session with a .Net executable Pin
Joachim Maes10-Oct-07 0:43
Joachim Maes10-Oct-07 0:43 
Hello,

I'm looking for a way to activate an existing browser session by means of a C# .Net executable.
I have found some code where I would be able to look for all active programs, and eventually even kill them. I did not find a way to activate a process, however.


private void button1_Click(object sender, System.EventArgs e)
{
System.Diagnostics.Process[] myProcesses;
myProcesses = System.Diagnostics.Process.GetProcesses();

foreach (System.Diagnostics.Process instance in myProcesses)
{
MessageBox.Show (instance.MainWindowTitle);
instance.Kill();
}
}

I need this to avoid the user to have logged in again.
I want to activate his open internet session, and eventually even refresh his session with a new url.
E.g.
http://localhost/sid=abc123?nameId=10
should be replaced by
http://localhost/sid=abc123?nameId=20 , in the same session, and triggered by an executable.

Is this possible ?

Help would be very much appreciated.

AnswerRe: Activate an existing browser session with a .Net executable Pin
Christian Graus10-Oct-07 0:57
protectorChristian Graus10-Oct-07 0:57 
QuestionSending Mail using MAPI Pin
M. J. Jaya Chitra10-Oct-07 0:32
M. J. Jaya Chitra10-Oct-07 0:32 
AnswerRe: Sending Mail using MAPI Pin
TJoe10-Oct-07 9:37
TJoe10-Oct-07 9:37 
GeneralRe: Sending Mail using MAPI Pin
M. J. Jaya Chitra10-Oct-07 18:07
M. J. Jaya Chitra10-Oct-07 18:07 
QuestionRe: Sending Mail using MAPI Pin
TJoe11-Oct-07 2:21
TJoe11-Oct-07 2:21 
AnswerRe: Sending Mail using MAPI Pin
M. J. Jaya Chitra11-Oct-07 2:29
M. J. Jaya Chitra11-Oct-07 2:29 
GeneralRe: Sending Mail using MAPI Pin
TJoe11-Oct-07 3:01
TJoe11-Oct-07 3:01 
GeneralRe: Sending Mail using MAPI Pin
M. J. Jaya Chitra11-Oct-07 17:52
M. J. Jaya Chitra11-Oct-07 17:52 
GeneralRe: Sending Mail using MAPI Pin
TJoe12-Oct-07 1:57
TJoe12-Oct-07 1:57 
Questionthe static keyword Pin
Dextter10-Oct-07 0:28
Dextter10-Oct-07 0:28 
AnswerRe: the static keyword Pin
Christian Graus10-Oct-07 0:31
protectorChristian Graus10-Oct-07 0:31 
GeneralRe: the static keyword Pin
N a v a n e e t h10-Oct-07 0:51
N a v a n e e t h10-Oct-07 0:51 
GeneralRe: the static keyword Pin
Christian Graus10-Oct-07 0:57
protectorChristian Graus10-Oct-07 0:57 
AnswerRe: the static keyword Pin
Guffa10-Oct-07 1:13
Guffa10-Oct-07 1:13 
GeneralRe: the static keyword Pin
Christian Graus10-Oct-07 1:19
protectorChristian Graus10-Oct-07 1:19 
GeneralRe: the static keyword Pin
Guffa10-Oct-07 1:49
Guffa10-Oct-07 1:49 
GeneralRe: the static keyword Pin
Dextter10-Oct-07 1:14
Dextter10-Oct-07 1:14 

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.