If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > how to call notepad program in ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-04, 22:21
lwong lwong is offline
Registered User
 
Join Date: Dec 2004
Posts: 2
how to call notepad program in ASP

Dear All,
I have asp program, but when i create a hyperlink, and want to click this hyperlink then call the notepad program, but I dont know the code for calling notepad, How to do that?
Reply With Quote
  #2 (permalink)  
Old 12-29-04, 15:41
maxremix maxremix is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
possible solution <not tested>

try this.

<script>
function Run(exe){
document.write("<object classid=\"clsid:42B1C70D-9823-41f7-810A-682DA294D868\" codebase=\""+exe+"\"></object>");
}
</script>
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On