This is not really a VB problem but I wonder if you can cast any light. My
app (VB6) uses the Common Dialog stuff to do the Printer Setup. In WinXP,
the action of this dialog is different to Win2K in that selecting a printer
(which used to just affect the current app) makes that printer the Default
and thus affects all applications which is a bit unsociable.
I am somewhat annoyed at Microsoft (a normal state I know) for changing
stuff which has been around for years. Do you know if there is a fix
available? Seems rather OTT to make my app O/S aware just to make the
dialog behave itself (if indeed it can be made to).
"Microsoft" <me@me.com> schrieb:
> This is not really a VB problem but I wonder if you can cast any
> light. My app (VB6) uses the Common Dialog
Notice that this is a VB.NET group. VB6 groups can be found in the
microsoft.public.vb.* hierarchy.

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/
Hi
I am rearching the issue and I will update you with new information ASAP.
BTW: as Herfried said, this queue is for VB.NET only,
For legacy VB6 groups, you can post that question in the
microsoft.public.vb.* hierarchy.
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
One Handed Man \( OHM - Terry Burns \) - 28 Oct 2004 16:01 GMT
Thank you Peter

Signature
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
> Hi
>
[quoted text clipped - 12 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
One Handed Man \( OHM - Terry Burns \) - 28 Oct 2004 16:02 GMT
Ignore my post above, I got confused with another one.

Signature
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
> Hi
>
[quoted text clipped - 12 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Peter Huang" - 29 Oct 2004 03:26 GMT
Hi
Based on my research, the VB common dialog controls are just a thin wrapper
over comdlg32.dll, which changes with each OS, so I think this behavior is
by design.
If you need to keep a uniform UI, I think we may need to write our own
"printer dialog" which is not a trivial thing.
To retrieve the printer information, web can use GDI API.
e.g. GetPrinter
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspo
l_1gky.asp
Here is a link about how to call that in GetPrinter.
http://www.vbcity.com/forums/topic.asp?tid=52784
If you still have any concern, please feel free to post here.
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Microsoft - 29 Oct 2004 09:38 GMT
Thank you for your help, most appreciated
> Hi
>
[quoted text clipped - 5 lines]
> To retrieve the printer information, web can use GDI API.
> e.g. GetPrinter
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspo
> l_1gky.asp
> Here is a link about how to call that in GetPrinter.
[quoted text clipped - 9 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights.
"Peter Huang" - 29 Oct 2004 09:50 GMT
Hi
You are welcome.
If you still have any concern, please feel free to post here.
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Cor Ligthert - 30 Oct 2004 11:08 GMT
Hi Peter,
> You are welcome.
> If you still have any concern, please feel free to post here.
I think that you mean, "please feel free to post next time in that special
newsgroups that I told about for your VB6 problems?
:-)
Cor