a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Start Word from FrontPage that has asp code

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Start Word from FrontPage that has asp code
Page: [1]
 
cathy

 

Posts: 2
From: Colorado Springs, CO, USA
Status: offline

 
Start Word from FrontPage that has asp code - 4/6/2001 14:00:00   
I have created a subroutine in VBE that starts Word, but how do I get that subroutine to execute when the page is displayed in IE? In VBE, it executes when I select "Run" and it executes from FrontPage when I select Tools->Macro and then select the macro. But how do I get the macro to run when the user selects a button or hyperlink? Please don't suggest that I use the technique described in this article
http://msdn.microsoft.com/workshop/languages/clinic/scripting10162000.asp
I've struggled with that for 2 days and can't get it to work. My sub is:
Sub Doc_Print()
Dim objWord As Word.Application 'Word object
Set objWord = New Word.Application
objWord.Visible = True
End Sub
Spooky

 

Posts: 26617
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Start Word from FrontPage that has asp code - 4/6/2001 20:50:00   
Does :
<%
Call Doc_Print()
%>

Work when on that asp page?

If so, place that function as a result of a form action > submit to a page that runs that function

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to cathy)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Start Word from FrontPage that has asp code
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts