Solved

Printing Ms word document from Nt Services

Posted on 2001-06-19
3
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

732 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