Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing the other application after Preview\open
Message
From
06/05/2009 09:30:43
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01398069
Message ID:
01398111
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform