Solved

Printing Ms word document from Nt Services

Posted on 2001-06-19
3
169 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

910 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

26 Experts available now in Live!

Get 1:1 Help Now