Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API Function to drag & drop file onto default printer
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00528893
Message ID:
00528907
Views:
19
>Hi there!
>
>We are all familiar with drag and drop! You a word document on the printer for example windows uses word (the associated app) to print it.
>
>Am trying to do the same using whatever api call windows employs to do this. So the user chooses to send a report to an html format. If they want to print it later, let them point to the file and boo from the program windows is 'instructed' to take over.
>
>If you are already doing this or you know how please I will appreciate your help.
>
>Thank u

Look at the ShellExecute() function in the API section. It supports several operations including print. There's also a _ShellExecute class in the FFC's _base class library, that'll allow you to pass "Print" as a parameter.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform