Solved

Printing Ms word document from Nt Services

Posted on 2001-06-19
3
170 Views
Last Modified: 2010-05-02
Here is my question!

i am using a service which is printing Word documents. When i run the .exe from Vb, everything works fine. If i set my application as a service, using svrany, the application opens, sends all my word document for printing but nothing gets to the printer.

I think the problems comes from the pop-up i get from the Ms Word printing function. I'm not talking about the popup asking for which printer to use and such but the popup saying printing page 1,2,3,4,5,6,... and then disappearing.

I'm using VB6.0, Windows 2000.

Does anyone have a solution to overcome this problem?
0
Comment
Question by:grattony
3 Comments
 
LVL 5

Accepted Solution

by:
AndrewDev earned 150 total points
ID: 6207110
Take a look at this

Open, Close, Edit, Find/Replace and Print Word Documents in VB6
http://www.freevbcode.com/ShowCode.Asp?ID=1539

Regards
Andrew
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7139513
Hi grattony,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept AndrewDev's comment(s) as an answer.

grattony, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7166777
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now