Solved

Printing Ms word document from Nt Services

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

820 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