Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Word in a VFP form
Message
De
02/03/2005 09:24:17
 
 
À
02/03/2005 07:44:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00991182
Message ID:
00991948
Vues:
17
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
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform