R
Richard Clarke
Hi
Could someone explain why none of the following work in Windows XP
from a VB5 executable please?
1)
mobjWordApp.Visible = True
mobjWordApp.WindowState = wdWindowStateMaximize
mobjWordApp.Activate
Where mobjWordApp is a Word.application object.
2) AppActivate mobjWordApp.Documents(1).Name
where the document name is correct.
3) AppActivate Document.Name
where document.name is correct.
All I get is an orange flashing Word taskbar item which I can click to
get the Word application to the foreground. The calling application
parent form is an MDI form which I have tried minimizing in code, and
the word window appears behind the MDI form until I click the Word
item in the taskbar.
Many thanks
Could someone explain why none of the following work in Windows XP
from a VB5 executable please?
1)
mobjWordApp.Visible = True
mobjWordApp.WindowState = wdWindowStateMaximize
mobjWordApp.Activate
Where mobjWordApp is a Word.application object.
2) AppActivate mobjWordApp.Documents(1).Name
where the document name is correct.
3) AppActivate Document.Name
where document.name is correct.
All I get is an orange flashing Word taskbar item which I can click to
get the Word application to the foreground. The calling application
parent form is an MDI form which I have tried minimizing in code, and
the word window appears behind the MDI form until I click the Word
item in the taskbar.
Many thanks