Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open A "NEW" word document

Status
Not open for further replies.

CFProgrammer

Programmer
Jan 29, 2001
53
US
Hey Gang,
I am trying to create a hyperlink on my site that would automatically open up a "NEW" word document, excel, and access database. I know it is the createObject("word.application") method. But I am new to vb and VBA. Any advise is needed.


CFprogrammer
 
Vbscript (as written in ASP) is not the same as VB (Standalone programming) , furthermore, that command would only work server-side, which would be pointless, because you could never execute it on the client. Karl
kb244@kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, HTML/Dhtml, Visual InterDev 6(ASP/WebProgramming/Vbscript)

 
Depending on what you want to do with it, if it were me, I would just save an empty document, upload it to my server, and then put a link to it on the site...

Then, you have basically accomplished the same thing.

Good luck!:)
Paul Prewett
 
You can set the page you send out to a Word Doc using response.contenttype() method. This will show a Word Doc. For more info on creating Word Docs on the fly try out these links (you're more intersted in ASP/MIME Types probably):

ASP to create Word files and sent them to the client

ASP and XML to create Word Files

ASP using MIME Types to sent files out as MS Word or other

Common MIME Types (reference)

Hope that helps Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top