Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Emulate Print in Browser
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00691917
Message ID:
00892073
Views:
20
>>I hope someone has at least some suggestions as to how I can do this.
>>
>>Also, I can't expand the Webbrowser.Document object using the Object Browser. And the following is not valid (I'm just guessing the following).
>>
>>oleBrowser.Document.Print or
>>oleBrowser.Document.Body.Print
>>
>>
>>>Hi all,
>>>
>>>How do I emulate/call the Print (from right-click menu) of a Webbrowser and put it in a print method in the form hosting the Webbrower control.
>>>
>>>TIA.
>
>Printing w/o a dialog: oleBrowser.ExecWB(6, 2)
>Printing w/ a dialog: oleBrowser.ExecWB(6, 1)

Just because I've waisted hours trying to get this to work with KEYBOARD calls let me add the following:
1. 47 seconds from universal thread article to success
2. 2-4 hours screwing around trying to get it to work... reading MS articles... etc
3. Should have come to universal thread first.
4. Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform