Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Errors with Web Browser ActiveX control
Message
From
23/02/2000 16:52:03
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00335358
Message ID:
00336347
Views:
26
Charlie,

>Got an email yesterday from someone else experiencing the same problem. Since it does the same thing in VB, maybe it is a bug. If so, is there a way to get MS involved? I'm going to be relying more heavily on the web browser control as I have stopped using the Report Writer in favor of generating HTML instead.

If you haven't already, take a look at ScriptX, a public-domain ActiveX that you can reference in your report page. It has lots of cool features for setting margins, selecting printer, sending automatically to print without clicking a button using onload(), etc, etc.

I'm using it to automatically send POS receipts to the proper printer with no user intervention -- I call a new window, with a WC URL that generates the plain text with OBJECT call at the top and "pagebreakafter" embedded at the proper places, then in the "onload()" call the "doprint()" function of the ActiveX, then "self.close" to shut down the new window. Works great.

They also have a $ version with even more features. One of the guys from that company wrote this article for MSDN about web printing:

http://msdn.microsoft.com/workshop/Author/script/DHTMLPRINT.asp

It may not solve all your problems, but it's a great source of info on the subject.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform