Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Word in a VFP form
Message
From
02/03/2005 09:24:17
 
 
To
02/03/2005 07:44:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00991182
Message ID:
00991948
Views:
16
Cetin,

Altering code as below, you can see that FileDownload event fires twice: before the dialog box is shown and after it is shown (and before the document is actually shown).
        Procedure oleBrowserWin.FileDownload
*                 ------------- ------------
                  LParameters bActiveDocumentCancel, bDialogCancel

*                 bDialogCancel = .T.

                  MessageBox ("FileDownload")
        EndProc
Also there seems to be a problem with the FileDownload event, as can be seen in http://www.kbalertz.com/Feedback_831306.aspx (there are many references regarding this problem).

VB people (Google search) say the second parameter (bDialogCancel) is not exposed to their apps (I couldn't understand exactly what that mean), and they complain about documentation.

Fernando

PS. Many thanks for your assistance (...and patience)!


>Hmmm then version problem? My versions were newer. I don't know. Would be good if someone else too could confirm it works or not.
>PS: Tested your code directly under VFP8 SP1, while testing mine in VFP7 SP1. Both not working (dialog consistently shows).
>Cetin
>
>>Cetin,
>>
>>>Launch an explorer window, go to 'Tools\Folder Options' then 'File Types' tab. Locate 'DOC' extension. Click advanced. "Confirm open after download" should be checked.
>>
>>Did what you told me. It was already checked.
>>
>>Fernando
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform