473,511 Members | 14,951 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print Dialogs

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).
Nov 21 '05 #1
8 947
"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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #2
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.

Nov 21 '05 #3
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))
--
""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:0U**************@cpmsftngxa10.phx.gbl...
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.

Nov 21 '05 #4
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))
--
""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:0U**************@cpmsftngxa10.phx.gbl...
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.

Nov 21 '05 #5
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/de...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.

Nov 21 '05 #6
Thank you for your help, most appreciated

""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:9a**************@cpmsftngxa10.phx.gbl...
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/de...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.

Nov 21 '05 #7
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.

Nov 21 '05 #8
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
Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2614
by: Mark Goldin | last post by:
I am trying to implement a printing to file solution of a html page on the server. What I have is a form with a IE control that loads the page I want to print to. I am using execWB command for...
1
2310
by: JimHurst | last post by:
I'm writing a C# win forms application and the customers wish to be able to define at run/install time which language that application runs in. I've manage to set the applications culture, setting...
2
2158
by: David | last post by:
Hello, I have an application that has been running for years and had little problem with it. We've been retesting the latest code under Windows 2003 and found a surprise. There is a certain...
0
1103
by: Marcelo | last post by:
Greetings! I'm developping a Windows Multiple Forms application with Microsoft Visual Studio .NET 2003. I'd like to use the print and printPreview dialogs to print the graphics that are...
0
818
by: Tony Johansson | last post by:
Hello! Assume I have 10 dialogs and these will be written in winforms C++.NET. Assume also that 30 % of these 10 dialogs are identical. What kind of component would be suitable to avoid to...
5
4799
by: mark | last post by:
Any ideas on how to do this. It comes with print, zoom, close etc. But I want to add a button for font change/redisplay. Just knowing how to get the button on there is all I need. -- mark
1
2031
by: milti | last post by:
Hi All!! Is there any way, I can avoid the Print Dialog from appearing multiple times? Let me be more clear. I've say three files. file1.html, file2.html and file3.html. there's a button...
4
2159
by: franchdream | last post by:
DELPHI code: unit test1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type
1
1398
by: hash | last post by:
Hello! I recently ported my project from VC6 to VC8. But while executing them I found that dialogs have not changed to XP style. These dialogs are being shown with same WIN98 style. However in...
0
1075
tbarto
by: tbarto | last post by:
Hello, For some time I have been working on an application where a part of the solutuion is a class that is able to find all the system dialogs ( eg. openFileDialog ) that are currently open....
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7417
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3219
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.