Board index » Visual Studio » Printing files with VB6

Printing files with VB6

Visual Studio325
In an application I have to do I need to print files with different

extensions (.Doc, .Xls, pdf, etc) without seeing the actual content. Because

of the different extension I don't know how can I do it. The data base knows

which files to print from a table in which the field is an hyperlink. If

anybaody knows how to do it or where can I find the code I would appreciate

it a lot



Thanks


-
 

Re:Printing files with VB6

You are not going to find a magic control to print anything without; Using

Automation to the associated application (Word for Doc, Excel for

XLS...etc), parsing the contents of the file using information gained at

http://www.wotsit.org/search.asp?s" rel="nofollow" target="_blank">www.wotsit.org/search.asp=ALLFILES, or some user interaction...



--

Chris Hanscom - Microsoft MVP (VB)

www.veign.com">www.veign.com

--



"Chobeto" <Chobeto@discussions.microsoft.com>wrote in message

Quote
In an application I have to do I need to print files with different

extensions (.Doc, .Xls, pdf, etc) without seeing the actual content.

Because

of the different extension I don't know how can I do it. The data base

knows

which files to print from a table in which the field is an hyperlink. If

anybaody knows how to do it or where can I find the code I would

appreciate

it a lot



Thanks







-