Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Set objWord = CreateObject("Word.Application") CAN i do this i n javascript???


  • From: javascript@xxxxxxxxxx (Peter Brunone)
  • Subject: [Javascript] Set objWord = CreateObject("Word.Application") CAN i do this i n javascript???
  • Date: Thu, 20 Jun 2002 12:07:23 -0500

	I don't know if the JavaScript engine has the same access as the VBScript
engine, but you can try.  Other than that, if the permissions are there for
the browser (locally, or low-security mode remotely), then you should be
fine.

-Peter

|-----Original Message-----
|From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On
|Behalf Of Scott.Wiseman
|
|this works locally :-)
|but not on the server
|
|can I do this with javascript and run it locally???
|
|<HTML>
|   <HEAD>
|   <SCRIPT LANGUAGE=VBScript>
|   Dim objWord
|   Sub Btn1_onclick()
|   call OpenDoc("http://database/testing/Faxing/FaxOfficeMerge.doc";)
|   End Sub
|
|   Sub OpenDoc(strLocation)
|
|   Set objWord = CreateObject("Word.Application")
|   objWord.Visible = true
|   objWord.Documents.Open strLocation
|   End Sub
|
|   </SCRIPT>
|   <TITLE>Launch Word</Title>
|   </HEAD>
|   <BODY>
|   <INPUT TYPE=BUTTON NAME=Btn1 VALUE="Open Word Doc">
|   <p>
|   </BODY>
|   </HTML>
|_______________________________________________
|Javascript mailing list
|Javascript@xxxxxxxxxx
|https://lists.LaTech.edu/mailman/listinfo/javascript
|