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 Word document

Status
Not open for further replies.

mmaz

Programmer
Nov 22, 2000
347
Hello,

I'm opening a Word document from my ASP and I've noticed that a new instance of winword.exe will be created whether I click "Yes" or "No" to the ActiveX warning message ("Some Software(ActiveX Controls) on this page might be unsafe. It is recommended that you not run it. Do you want to allow it to run?)

I'd like to have a sub-routine where if the user selects "No", then set the instance of the Word.application object to nothing.

Does anybody know how I can detect which option the user selected ("yes" or "no")?

Thank you in advance!
 
I remember seeing this post before. I'm guessing no one answered which is why it's posted again.

I would recommend posting this in the ASP area of this site. It's much more active, and I'm fairly sure that more people read it.

Wish I could be of more help, but I'm sure someone will answer you over there.

:)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top