|
-
June 17th, 2002, 02:17 PM
#1
How to with PrintDocument Control
Does anyone know how to print say a Word Document or Web Page from a VB interface. In other words being able to control printing from a VB program. I'm trying to see if there is a way to pass another application (word, IE) as a parameter to the PrintDocument Control. Any help would be appreciated.
-
January 16th, 2003, 03:42 PM
#2
I am trying to do something like this too. Did you find any solution to your problem? Any help or links would be appreciated.
Moon
Have a nice day! (^_^)
-
January 16th, 2003, 04:15 PM
#3
I'd use the ShellExecute API call.
-
July 15th, 2003, 08:10 AM
#4
Printing Worddoc
If u would like to print a WordDocument, why not try:
oDocument = oWord.ActiveDocument
oDocument.PrintOut(Background:=False)
et voilá
D.
The most important thing about what people say, is what they don't say
-
August 15th, 2005, 02:55 PM
#5
Re: How to with PrintDocument Control
For complete documentation from MSDN on how to do as Dozo suggests, check out http://msdn.microsoft.com/library/de...ETcallsVBA.asp
Or at msdn.microsoft.com/library navigate to :
Office Solutions Development ->Microsoft Office 2003->Office 2003->Technical Articles
Check out the Calling Visual Basic for Apps Code from VB .NET article. Everything you need is there...
HTH anyone else with similar problems.
Jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|