Home All Groups Group Topic Archive Search About

Remembering the printer

Author
27 Jun 2005 5:30 AM
Jack Russell
I am using Printdialog. If the user changes the printer, it is not
"remembered" next time that he prints. Do I have to do this
programtically or is there a setting that keeps that printer for this
"program" but does not change the default?

Thanks

Author
27 Jun 2005 6:04 AM
Crouchie1998
Save it in the 'System.ini' then

Crouchie1998
BA (HONS) MCP MCSE
Author
27 Jun 2005 8:23 AM
Herfried K. Wagner [MVP]
"Crouchie1998" <crouchie1998@spamcop.net> schrieb:
> Save it in the 'System.ini' then

Imagine each application doing that... :-).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
27 Jun 2005 8:35 AM
Carlos J. Quintero [.NET MVP]
Save it somewhere else, since apps should run without admin privileges. You
can use either the registry (HKEY_CURRENT_USER hive) or the file system (the
folder for personal settings C:\Documents and settings\<user>\blah, blah,
there is an API to get that location)...

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

Show quoteHide quote
"Crouchie1998" <crouchie1998@spamcop.net> escribió en el mensaje
news:%23dxP34teFHA.1448@TK2MSFTNGP14.phx.gbl...
> Save it in the 'System.ini' then
>
> Crouchie1998
> BA (HONS) MCP MCSE
>
>