Click here to Skip to main content
16,007,126 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: persist css ?? Pin
ToddHileHoffer21-Jul-08 9:29
ToddHileHoffer21-Jul-08 9:29 
GeneralMissing Request Parameter Pin
Brady Kelly21-Jul-08 8:14
Brady Kelly21-Jul-08 8:14 
JokeRe: Missing Request Parameter Pin
Paul Conrad21-Jul-08 8:49
professionalPaul Conrad21-Jul-08 8:49 
GeneralRe: Missing Request Parameter Pin
Brady Kelly21-Jul-08 8:53
Brady Kelly21-Jul-08 8:53 
GeneralRe: Missing Request Parameter Pin
Paul Conrad21-Jul-08 8:58
professionalPaul Conrad21-Jul-08 8:58 
Questionasp.net web app. with javascript that launch an .exe Pin
EdgarF8321-Jul-08 7:23
EdgarF8321-Jul-08 7:23 
AnswerRe: asp.net web app. with javascript that launch an .exe Pin
Paul Conrad21-Jul-08 8:50
professionalPaul Conrad21-Jul-08 8:50 
GeneralRe: asp.net web app. with javascript that launch an .exe Pin
EdgarF8321-Jul-08 9:01
EdgarF8321-Jul-08 9:01 
I have tried a lot but here are the main ones:

(1)

function showDirectory(){
var oShell = new ActiveXObject("WScript.Shell");
var commandToRun = "C:\\Windows\\Notepad.exe";
oShell.Exec("C:\\Windows\\Notepad.exe");
}


//but I don't wont an activex

(2)

function showDirectory(){
SystemProcess spCommand = new SystemProcess();
spCommand.runCommand("C:\\WINDOWS\\notepad.exe");
}


(3)
//this was done in the .aspx.cs file

protected void Button1_Click(object sender, EventArgs e){
System.Text.StringBuilder myStringBuilder = new System.Text.StringBuilder();

myStringBuilder.Append("\n");
myStringBuilder.Append(@"<script language=""javascript"" type=""text/javascript"">\n");
myStringBuilder.Append("SystemProcess spCommand = new SystemProcess();");
myStringBuilder.Append("spCommand.runCommand(C:\\WINDOWS\\notepad.exe);");
myStringBuilder.Append("</script>\n");


string myString = myStringBuilder.ToString();
if (!this.ClientScript.IsStartupScriptRegistered("startCatia"))
{
this.ClientScript.RegisterStartupScript(this.GetType(), "startCatia", myString);
}
}
GeneralRe: asp.net web app. with javascript that launch an .exe Pin
Paul Conrad21-Jul-08 9:06
professionalPaul Conrad21-Jul-08 9:06 
GeneralRe: asp.net web app. with javascript that launch an .exe Pin
EdgarF8321-Jul-08 9:13
EdgarF8321-Jul-08 9:13 
AnswerRe: asp.net web app. with javascript that launch an .exe Pin
ToddHileHoffer21-Jul-08 9:21
ToddHileHoffer21-Jul-08 9:21 
AnswerRe: asp.net web app. with javascript that launch an .exe Pin
Perspx21-Jul-08 11:36
Perspx21-Jul-08 11:36 
Questionborder in ajax accordian pane Pin
justintimberlake21-Jul-08 6:41
justintimberlake21-Jul-08 6:41 
Questionsqldatasource and DetailsView bind issue Pin
excaliber21-Jul-08 5:16
excaliber21-Jul-08 5:16 
AnswerRe: sqldatasource and DetailsView bind issue Pin
Sherin Iranimose21-Jul-08 5:34
Sherin Iranimose21-Jul-08 5:34 
GeneralRe: sqldatasource and DetailsView bind issue Pin
excaliber21-Jul-08 8:00
excaliber21-Jul-08 8:00 
QuestionProgrammatically navigate to a specific row in GridView Pin
Dan Neely21-Jul-08 4:11
Dan Neely21-Jul-08 4:11 
AnswerRe: Programmatically navigate to a specific row in GridView Pin
Sherin Iranimose21-Jul-08 4:30
Sherin Iranimose21-Jul-08 4:30 
GeneralRe: Programmatically navigate to a specific row in GridView Pin
Dan Neely21-Jul-08 4:34
Dan Neely21-Jul-08 4:34 
GeneralRe: Programmatically navigate to a specific row in GridView Pin
Sherin Iranimose21-Jul-08 4:42
Sherin Iranimose21-Jul-08 4:42 
GeneralRe: Programmatically navigate to a specific row in GridView Pin
Dan Neely21-Jul-08 4:47
Dan Neely21-Jul-08 4:47 
GeneralRe: Programmatically navigate to a specific row in GridView [modified] Pin
Sherin Iranimose21-Jul-08 4:57
Sherin Iranimose21-Jul-08 4:57 
GeneralRe: Programmatically navigate to a specific row in GridView Pin
Dan Neely21-Jul-08 5:07
Dan Neely21-Jul-08 5:07 
GeneralRe: Programmatically navigate to a specific row in GridView Pin
Sherin Iranimose21-Jul-08 6:04
Sherin Iranimose21-Jul-08 6:04 
GeneralRe: Programmatically navigate to a specific row in GridView Pin
Dan Neely21-Jul-08 5:23
Dan Neely21-Jul-08 5: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.