SunQuest
 
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Iron Speed
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 3rd, 2003, 02:00 PM
Doby Doby is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 1 Doby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Using VBscript to open MS Word

Here is the code I used to open the code to open a Word document using VBscript on a webpage. It doesn't work, can anyone tell me what's wrong with it?

<html>
<body>

<script type="text/vbscript">
dim ww
Set ww = Wscript.CreateObject("Word.Document")
ww.Application.DefaultSaveFormat = ""
MsgBox "Word 97 is now saving in its default format"
</script>

</body>
</html>


If it's not possible to open a word document with VBscript on a webpage, can someone tell me too? Thanks

Reply With Quote
  #2  
Old September 5th, 2003, 04:47 AM
King_bob King_bob is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 King_bob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just use the shell command
Bla = Shell ("DocPath and Name,1)

Reply With Quote
  #3  
Old March 25th, 2004, 05:03 AM
geetu geetu is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 geetu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
open word document

ss

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Using VBscript to open MS Word


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway