Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a Physical File

Status
Not open for further replies.

girishpde

Programmer
Dec 2, 2001
13
IN
Hi,
I am new to PB environment, is there any function to print a file through PB?

Our application produces report which comprises of MS-Word Files, (e.g. C:\abc.doc)

All I can find is function to print datawindow but I could not find any function for Printing File.

Thanx in Advance
Girish
 
Hi,

Use the OLEObject to launch MS-Word, Open the specified file and then Print it. For an example of this, surf to:


For help on using OLE with Word, surf to:



Regards,

--
PowerObject!
-----------------------------------------
PowerBuilder / PFC Developers' Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top