473,498 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Printing a Web Control (OT?)

I know this isn't the right newsgroup for this question but I can't seem to
find one that is appropriate. It's a general Windows programming question I
suppose. Hopefully someone will have mercy on me and give me a hand. This
application isn't written in any MS language, it's written in a little
language called PureBasic (www.purebasic.com).

Anyway, on with the show.

I have a web control that I'm printing by sending it a #OLECMDID_PRINT,
#OLECMDEXECOPT_PROMPTUSER message. It works somewhat in that it does present
the user with the default print dialog but it ignores the "number of copies"
option.

I'm also having some trouble when I print multiple web controls using
#OLECMDID_PRINT, #OLECMDEXECOPT_DONTPROMPTUSER, in that they somehow get
added to the print queue in random order, not in the order in which I told
them to print!

Any and all help appreciated, including pointers to another newgroup! I'm an
MSDN subscriber (through the Empower program) and I seem to remember having
access to some other newgroups - can anyone hit me with a clue stick there?

Thanks!

--
- Mitchell
Nov 21 '05 #1
2 1014
"Mitchell Vincent" <mi**************@gmail.com> wrote in message
news:eu**************@TK2MSFTNGP14.phx.gbl...
I know this isn't the right newsgroup for this question but I can't seem to find one that is appropriate. It's a general Windows programming question I suppose. Hopefully someone will have mercy on me and give me a hand. This
application isn't written in any MS language, it's written in a little
language called PureBasic (www.purebasic.com).

Anyway, on with the show.

I have a web control that I'm printing by sending it a #OLECMDID_PRINT,
#OLECMDEXECOPT_PROMPTUSER message. It works somewhat in that it does present the user with the default print dialog but it ignores the "number of copies" option.

I'm also having some trouble when I print multiple web controls using
#OLECMDID_PRINT, #OLECMDEXECOPT_DONTPROMPTUSER, in that they somehow get
added to the print queue in random order, not in the order in which I told
them to print!

Any and all help appreciated, including pointers to another newgroup! I'm an MSDN subscriber (through the Empower program) and I seem to remember having access to some other newgroups - can anyone hit me with a clue stick there?
Thanks!

--
- Mitchell


I can't help directly (sorry), but you could try the news group
news:microsoft.public.inetsdk.programming.webbrows er_ctl, that newsgroup is
for the webbrowser control.

Hope that helps,

Brian.

www.cryer.co.uk/brian
Nov 21 '05 #2
Thank you Brian! Extremely helpful!

--
- Mitchell

"Brian Cryer" <br****@127.0.0.1.activesol.co.uk> wrote in message
news:11***************@sabbath.news.uk.clara.net.. .
I can't help directly (sorry), but you could try the news group
news:microsoft.public.inetsdk.programming.webbrows er_ctl, that newsgroup
is
for the webbrowser control.

Hope that helps,

Brian.

www.cryer.co.uk/brian

Nov 21 '05 #3

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

Similar topics

9
4075
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
0
1809
by: Nigel | last post by:
I successfully create a .NET Component (Visual Basic .NET) that would print, unfortunately when used within a web browser it appears that .NET security doesn't allow you to run code that interacts...
1
5682
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
12
6328
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
8
2385
by: Rick Lederman | last post by:
I am using a PrintDocument and PrintDialog to print. The first time that I print it works, but when I try to print a second time without exiting the entire program I get an...
1
1891
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
Any tips on how to print the data in a datagridview control?
2
9928
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
0
2201
by: nikhilgargi | last post by:
Requirement: I need to provide printing capability in a C# desktop application that I am developing The documents that need to be printed can be in Rich Text Format (RTF) or HTML. Custom...
0
1141
by: dotnet2005 | last post by:
Hi Toall , I want to explain you clearly , I am having some panels having some controls CheckBox,ComboBox,Datagridview,Hyperlink,label,Listbox,Picturebox,RadioButt­ on ,Textbox)...
18
11262
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7208
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
6890
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...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4593
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
3095
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
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1423
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 ...
0
292
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.