i'd like to open word when i click a button on my .aspx-page
i have 'imports office" at the beginning of my page
this is my subroutine:
¨
Code:Private Sub ButtonBrief_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonBrief.Click Dim WORDAPP As Word.Application Dim WORDDOC As Word.Document 'start word and open the document template WORDAPP = CreateObject("Word.Application") WORDAPP.Visible = True WORDDOC = WORDAPP.Documents.Add end sub
the code executes but nothing happens, i can't find word in the taskmanager either... any ideas?
greetz
Tim




Reply With Quote