Click here to Skip to main content
15,904,926 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
raheeli21-Nov-05 18:20
raheeli21-Nov-05 18:20 
AnswerRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
Steve Pullan21-Nov-05 18:58
Steve Pullan21-Nov-05 18:58 
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
raheeli21-Nov-05 19:18
raheeli21-Nov-05 19:18 
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
Steve Pullan21-Nov-05 19:30
Steve Pullan21-Nov-05 19:30 
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
raheeli21-Nov-05 23:35
raheeli21-Nov-05 23:35 
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
Steve Pullan22-Nov-05 12:27
Steve Pullan22-Nov-05 12:27 
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
raheeli22-Nov-05 17:01
raheeli22-Nov-05 17:01 
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
Steve Pullan22-Nov-05 17:38
Steve Pullan22-Nov-05 17:38 
As far as I'm aware you need to open the correct application for the type of file you want to print, and then print via that application. Your code needs to do this.

I did a Google search for "automate printing files different formats" and found this hit in the results: http://www.silentprint.com/[^] which is a ready-built application for what you are attempting to do. This will save you a heap of headaches. However if you must do this code yourself (i.e. for project/assignment or other reasons) then you'll need to have your own code be aware of all the types of documents likely to be printed and handle them accordingly.

Note - I do not have any interest in the company or product referenced above. I simply found it as one of the hits on Google. There are others that you may want to check out.

...Steve
GeneralRe: how can i print a document of file (.xls,.doc,.ppt,.pdf) its urgent Pin
raheeli22-Nov-05 18:00
raheeli22-Nov-05 18:00 
QuestionPizza Program Help Pin
pdm7621-Nov-05 17:13
pdm7621-Nov-05 17:13 
AnswerRe: Pizza Program Help Pin
Christian Graus21-Nov-05 17:39
protectorChristian Graus21-Nov-05 17:39 
GeneralRe: Pizza Program Help Pin
pdm7621-Nov-05 17:41
pdm7621-Nov-05 17:41 
GeneralRe: Pizza Program Help Pin
Christian Graus21-Nov-05 17:43
protectorChristian Graus21-Nov-05 17:43 
GeneralRe: Pizza Program Help Pin
pdm7621-Nov-05 17:51
pdm7621-Nov-05 17:51 
GeneralRe: Pizza Program Help Pin
Christian Graus22-Nov-05 11:12
protectorChristian Graus22-Nov-05 11:12 
GeneralRe: Pizza Program Help Pin
pdm7622-Nov-05 14:45
pdm7622-Nov-05 14:45 
QuestionGrab Frame From MPEG file (VB .NET) Pin
zammourr21-Nov-05 17:08
zammourr21-Nov-05 17:08 
AnswerRe: Grab Frame From MPEG file (VB .NET) Pin
Christian Graus21-Nov-05 17:39
protectorChristian Graus21-Nov-05 17:39 
Questiondic Pin
FaribaYousefi21-Nov-05 14:32
FaribaYousefi21-Nov-05 14:32 
AnswerRe: dic Pin
Christian Graus21-Nov-05 14:48
protectorChristian Graus21-Nov-05 14:48 
QuestionMS Access Query Problems Pin
eatwork21-Nov-05 10:09
eatwork21-Nov-05 10:09 
AnswerRe: MS Access Query Problems Pin
KaptinKrunch21-Nov-05 10:28
KaptinKrunch21-Nov-05 10:28 
GeneralRe: MS Access Query Problems Pin
eatwork22-Nov-05 8:23
eatwork22-Nov-05 8:23 
GeneralRe: MS Access Query Problems Pin
dptalt22-Nov-05 9:13
dptalt22-Nov-05 9:13 
GeneralRe: MS Access Query Problems Pin
eatwork23-Nov-05 5:24
eatwork23-Nov-05 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.