Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getting printer list from com component

0 views
Skip to first unread message

ted185

unread,
Aug 3, 2009, 9:53:01 AM8/3/09
to
I have my com component written in vb6. It is running under a specific
windows user on a windows 2008 web server. I am for testin g purposes using
a domain admninistrators account to run the com componet under.

The com component gets a list of printers for printing reports

Even though the com component is running under a specific user it only will
get the printer list if the console is logged in with the user that the com
component is running under.

Otherwise it will show the list of printers defined under the users\.Default
user. I was albe to add printers to the .Default user thorugh the registry
and they show up if I am not logged in.

Why isn't the com component getting the list of printers from the user that
the com components is running under?

This works under windows 2003 and had worked on this 2008 web server for a
while. I was having issues with the com componets locking up if you were
logging in under the user that the com components were running under. I
went to change the windows user and something happend to the registry. Now
no matter what user I specify the com components to run under they will only
show a printer if that user is logged into the console.

ted

0 new messages