Open Word file in Vista



I have another problem with an application that runs OK in XP, 98, and 95
but not Vista.
I open a Word.doc file from a command button in a form as below in XP, 98,
or 95 and the Word doc file opens and displays on the screen so the user can
enter a letter in Word. When I use the same file in Vista it pops up on the
task bar and the user has to click on the task bar to open the file up.

oWORD = GetObject(MYLOCATION+'\'+'C_FILE_NUM+'.DOC')
WITH oWORD
.APPLICATION.WindowState = 1
.APPLICATION.VISIBLE = .T.
ENDWITH

No problem staring up Word with the document but it always ends up on the
task bar when run in Vista. Is there something to add so it will open up
without the user having to click the taskbar??
Tony


.



Relevant Pages

  • Re: Open Word file in Vista
    ... Word MVPs are using Vista, and this is more of a Word issue than a VFP ... oWORD = CREATEOBJECT ... XP, 98, or 95 and the Word doc file opens and displays on the screen ... Vista it pops up on the task bar and the user has to click on the ...
    (microsoft.public.fox.programmer.exchange)
  • Re: file extensions
    ... In order to control the command line of the default command for a filetype in Vista, you will need to understand editing the registry, and the syntax of the app you are using to play the sound. ... If you double-click a file in Windows and it opens in the wrong software program, follow these steps to choose the program you would prefer that file use. ...
    (microsoft.public.windows.vista.general)
  • Re: Open Word file in Vista
    ... I put on the clip board to the doc file after I opened it. ... Word MVPs are using Vista, and this is more of a Word issue than a VFP ... XP, 98, or 95 and the Word doc file opens and displays on the screen ... Vista it pops up on the task bar and the user has to click on the ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Network access
    ... times by multiple users simultaneously. ... My PC's will NEVER run VISTA as such I will not have the opportunity to ... "All computers on the network are Vista Home Premium" ... multiple instances of a C++ app (which opens the Access .mdb file that ...
    (microsoft.public.access.modulesdaovba)
  • Vista printer driver file permissions problem
    ... i have an interesting problem under Vista which i can not seem to resolve. ... when we create the file we doing some security descriptor stuff which opens ... then execute the command line. ... bSuccess = OpenThreadToken( ...
    (microsoft.public.development.device.drivers)