Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating the Confirm open after download setting
Message
From
15/05/2003 06:01:16
 
 
To
15/05/2003 05:59:04
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00787704
Message ID:
00788581
Views:
16
>hi kevin!
>
>what about using the Scripting Host?
>
>
>local oWsh as object
>oWsh=createobject("Wscript.Shell")
>oWsh.run(dok-file)
>rele oWsh
>
>
>Using the code above would open the dok-file with the default program assigned to this extension. you could also combine it with a
messagebox("Open the file?",4+32)
>
>HTH

Robert

The file I'm opening is a .DOC, but I want to open the file via the WebBrowser control from VFP, this allows me to view word within a VFP form and access the Document Model.

Thanks
Kev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform