none
application open office document will not popup and get focus RRS feed

  • Question

  • Hi

    i have a VB.net application to open a word document

    Code as below

    Dim wd As New Word.Application

    wd.visible = true

    wd.WindowState = Word.WdWindowState.wdWindowStateMaximize

    wd.Documents.Open("C:\abc.doc")

    In windows server 2003 & MS Office 2003, it work fine the word document will popup and get focus

    when i upgrade to server 2008 & MS Office 2003, the word document still can open but the word will not popup and get focus

    It still stay focus on my VB.net application, user not notice the word document was opened

    Is there any setting in Windows Server 2008?

    Best Regards,

    Kenneth

    Tuesday, September 24, 2013 3:13 AM