I'm trying to open word from a asp.net-page.
there are no errors, but word (2000) does not open as expected. i know these commands would be enough to make it work in VB...Code:Private Sub ImageButtonWord_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonWord.Click Dim aWordApp As Word.ApplicationClass Dim aWordDoc As Word.Document aWordApp = New Word.ApplicationClass() aWordDoc = New Word.Document() aWordApp.Visible = True aWordApp.ShowMe() aWordDoc.Activate() End Sub
any idea's?


Reply With Quote