Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing the other application after Preview\open
Message
De
06/05/2009 09:30:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01398069
Message ID:
01398111
Vues:
35
I have the following code on the click event of textbox in grid:
local cFileToView
cFileToView=alltrim(grdcrsr.pathfile)
if file(cFileToView)=.f.
	messagebox('Opss',0+16)
	return
endif
ThisForm.contweb.Olexplor.navigate(cFileToView)
>You've no control over applications opened by Web Browser control but there shouldn't be multiple instance of the same application opened unless you're launching multiple instance of the Web Browser control .
>
>>
>>I have grid with files list .
>>The grid contain another two columns - Preview, Open
>>
>>The user can navigate on the grid and to view each file on the form by OleExplorer (navigate.'filename').
>>In addition, he can open the file with acc program.
>>- The user can open with\without using by preview first.
>>
>>
>>I started to work on preview mode.
>>My problem now that the OLE content showing each file but while I navigate few word documents (for example) I see list of 'WINWORD ' procces on task manager.
>>
>>I expect to other same\similar problem by working on the preview\open and more problems with multy users.
>>
>>Thanks for help for this or any other thing\tool\viewer in this subject.
>>
>>Thank's
Thank you
Chaim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform