Print Dialogs

  • Thread starter Thread starter Microsoft
  • Start date Start date
M

Microsoft

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 said:
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.
 
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

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thank you Peter

--
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))
 
Ignore my post above, I got confused with another one.

--
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

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

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi

You are welcome.
If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top