Click to See Complete Forum and Search --> : view word menu from asp page


kurk2000
11-26-2003, 09:06 AM
I am loading a Word file from a page asp, but I don't view the menu of word, I only view the pages' document.
Can I view the menu of word from asp pages?

Thank.

lillu
11-26-2003, 10:04 AM
Showing menubar will mean opening the Word application itself. This method only works if you have Word installed on the server.
Dim objW
Set objW = CreateObject("Word.Application")
objW.Documents.Open("mydoc.doc")
objW.Visible = True
objW.CommandBars(i).Visible = True

Give it a try, I'm not sure if it works.