Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / April 2008

Tip: Looking for answers? Try searching our database.

Application.Printers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DavidS - 27 Mar 2008 15:30 GMT
When I startup my Access 2007 application, and read the printers collection
from Application.Printers - there current, i.e., they list the printers that
are currently in the end-users printer and fax form associated with their
network login.

Since part of our system requirements are to extend means for the end-user
to create/remove printers from "Start | Printers and Faxes" taskbar item -
therefore on occasion it can happen that new printers are either added or
current printers are removed accordingly.

Issue I'm having with Application.Printers collection is that THIS IS NOT
CURRENT after network printers are changed unless I quit the access
application and relogin again.  Basically, I'd like to have end-user not QUIT
the access application - but I assumed that if they changed the network
printers their using - working @ different site facility and we provide means
to access ONLY those printers - than when I re-read the Application.Printers
property it doesn't update itself with new printers in collection [again /
only unless I QUIT the access app and relogin is this proper].

Is this a design limitation - OR, is there a way that I can use this Access
Application object to give me the current list of printers as they can
possibly be changed dynamically by end-users.

Kind regards for assistance
DavidS - 28 Mar 2008 19:44 GMT
ANY HELP HERE!!!!!!!

> When I startup my Access 2007 application, and read the printers collection
> from Application.Printers - there current, i.e., they list the printers that
[quoted text clipped - 20 lines]
>
> Kind regards for assistance
DavidS - 01 Apr 2008 21:03 GMT
ANY HELP HERE

> When I startup my Access 2007 application, and read the printers collection
> from Application.Printers - there current, i.e., they list the printers that
[quoted text clipped - 20 lines]
>
> Kind regards for assistance
Stephen Lebans - 01 Apr 2008 21:16 GMT
The only solution I can see is to follow the standard course to query
WIndows for the current list of installed printers. It's more code to read
the registry but it will give you a current list. A GooggleGroups search
will yield several examples of the necessary code to build the list.

Signature

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

> ANY HELP HERE
>
[quoted text clipped - 31 lines]
>>
>> Kind regards for assistance
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.