Click here to Skip to main content
15,906,455 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to download .exe files on click of link in asp.net Pin
Christian Graus6-May-08 19:14
protectorChristian Graus6-May-08 19:14 
you're in the wrong forum, but this code is useless, because it will only work if the server is also the machine doing the browsing. No way is IE going to let you run an exe on the local machine. If you want to download an exe, set the content type and use response.binarywrite, then use a path like this to read the file on the file system if you like. In javascript, you'd also redirect to a page that streams the file down.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

AnswerRe: how to download .exe files on click of link in asp.net Pin
Vasudevan Deepak Kumar6-May-08 19:23
Vasudevan Deepak Kumar6-May-08 19:23 
AnswerRe: how to download .exe files on click of link in asp.net Pin
Shorgov6-May-08 22:08
Shorgov6-May-08 22:08 
GeneralRe: how to download .exe files on click of link in asp.net Pin
NarVish7-May-08 0:18
NarVish7-May-08 0:18 
Questionhow can i pass a text to crystal report from another form in c# Pin
imannasr6-May-08 17:50
imannasr6-May-08 17:50 
AnswerRe: how can i pass a text to crystal report from another form in c# Pin
Gopal.S6-May-08 20:19
Gopal.S6-May-08 20:19 
GeneralRe: how can i pass a text to crystal report from another form in c# Pin
imannasr6-May-08 20:40
imannasr6-May-08 20:40 
QuestionC# interop issue for C image resource Pin
BSOD26006-May-08 16:29
BSOD26006-May-08 16:29 
QuestionOpening a comma delimited file in a spread sheet program Pin
ketto6-May-08 15:34
ketto6-May-08 15:34 
AnswerRe: Opening a comma delimited file in a spread sheet program Pin
Christian Graus6-May-08 15:38
protectorChristian Graus6-May-08 15:38 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
ketto6-May-08 15:45
ketto6-May-08 15:45 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
Christian Graus6-May-08 15:57
protectorChristian Graus6-May-08 15:57 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
ketto6-May-08 17:39
ketto6-May-08 17:39 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
Christian Graus6-May-08 17:49
protectorChristian Graus6-May-08 17:49 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
ketto6-May-08 19:23
ketto6-May-08 19:23 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
Christian Graus6-May-08 19:25
protectorChristian Graus6-May-08 19:25 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
ketto6-May-08 19:30
ketto6-May-08 19:30 
GeneralRe: Opening a comma delimited file in a spread sheet program Pin
Spacix One7-May-08 3:04
Spacix One7-May-08 3:04 
QuestionHow to print data to screen in C# Pin
mary okon6-May-08 15:29
mary okon6-May-08 15:29 
AnswerRe: How to print data to screen in C# Pin
Christian Graus6-May-08 15:37
protectorChristian Graus6-May-08 15:37 
GeneralRe: How to print data to screen in C# Pin
mary okon6-May-08 15:41
mary okon6-May-08 15:41 
AnswerRe: How to print data to screen in C# Pin
javedk096-May-08 20:01
javedk096-May-08 20:01 
QuestionChat Building - transfering data between server and client Pin
nelsonpaixao6-May-08 15:03
nelsonpaixao6-May-08 15:03 
AnswerRe: Chat Building - transfering data between server and client Pin
Reelix6-May-08 21:10
Reelix6-May-08 21:10 
QuestionGetting an Angle for Rotations Pin
RedHotFunk6-May-08 14:28
RedHotFunk6-May-08 14:28 

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.