![]() |
|
|||||||
| ASP & VBScript Forum Need help from a webmaster with ASP or VBScript, you may ask in this forum? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I am not good at VBScript. I am able to launch word application(from a web page on button click) on client machine using the below script <SCRIPT LANGUAGE=VBScript> Dim objWord Sub Btn1_onclick() call OpenDoc("http://MyServer/MyTest.doc") End Sub Sub OpenDoc(strLocation) Set objWord = CreateObject("Word.Application") objWord.Visible = true objWord.Documents.Open strLocation End Sub </SCRIPT> <INPUT TYPE=BUTTON NAME=Btn1 VALUE="Open Word Doc"> But i am unable to launch the windows explorer in the client machine using the below code..... permission denied error is being dispalyed. <SCRIPT LANGUAGE=VBScript> Sub Btn1_onclick() Set objShell = CreateObject("Shell.Application") objShell.Explore "ftp://username : passwd@host/" End Sub </SCRIPT> <INPUT TYPE=BUTTON NAME=Btn1 VALUE="Open Explorer"> Please help... Thanks in advance |
|
This ad is part of our Revenue Sharing program |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error 3265 VBscript editor Data Access Page | 8cats | ASP & VBScript Forum | 8 | 10-17-2007 04:10 PM |
| Opening an Application! | MTBER | ASP & VBScript Forum | 5 | 07-11-2007 06:51 PM |
| Opening IE | MTBER | ASP & VBScript Forum | 1 | 07-09-2007 02:54 PM |
| Internet Explorer Vs Firefox | LOLA | Show it off & Services | 1 | 06-25-2007 04:07 PM |
| windows trouble. | detoam | Webmasters Lounge/General Chat | 4 | 02-24-2007 07:53 AM |