473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Exception @ GetHdevmodeInternal()

When calling Print() on a PrintDocument class, we randomly receive a
System.ComponentModel.Win32Exception with the odd message "The operation
completed successfully" coming from the GetHdevmodeInternal() call. We
cannot reproduce the problem on demand -- can anyone help enlighten us on
where this exception may be coming from so that we can try to uncover a
specific scenario that reproduces this problem so that we can correctly fix
it?

Thanks,

The operation completed successfully
at System.Drawing.Printing.PrinterSettings.GetHdevmod eInternal()
at System.Drawing.Printing.PrinterSettings.GetHdevmod e(PageSettings
pageSettings)
at System.Drawing.Printing.PrintController.OnStartPri nt(PrintDocument
document, PrintEventArgs e)
at
System.Windows.Forms.PrintControllerWithStatusDial og.OnStartPrint(PrintDocument document, PrintEventArgs e)
at System.Drawing.Printing.PrintController.Print(Prin tDocument document)
at System.Drawing.Printing.PrintDocument.Print()
Nov 22 '05 #1
3 3266
David wrote:
When calling Print() on a PrintDocument class, we randomly receive a
System.ComponentModel.Win32Exception with the odd message "The operation
completed successfully" coming from the GetHdevmodeInternal() call. We
cannot reproduce the problem on demand -- can anyone help enlighten us on
where this exception may be coming from so that we can try to uncover a
specific scenario that reproduces this problem so that we can correctly fix
it?

Thanks,


David - I'm wondering if you're the same David M. (last name kept out
for privacy) who wrote a few multiplayer games for Major BBS in the
1989-1992 timeframe... as Computel?

If so, can you drop me a reply here or via e-mail (remove ubesux from
the email address)? Even if not, actually, so I can cross you off the
list and I know you received this. I would like to talk to you about
your software.

Thank you!

Rick
http://www.themajorbbs.com

Nov 22 '05 #2
Nope, was not me, sorry.

"Questman" wrote:
David wrote:
When calling Print() on a PrintDocument class, we randomly receive a
System.ComponentModel.Win32Exception with the odd message "The operation
completed successfully" coming from the GetHdevmodeInternal() call. We
cannot reproduce the problem on demand -- can anyone help enlighten us on
where this exception may be coming from so that we can try to uncover a
specific scenario that reproduces this problem so that we can correctly fix
it?

Thanks,


David - I'm wondering if you're the same David M. (last name kept out
for privacy) who wrote a few multiplayer games for Major BBS in the
1989-1992 timeframe... as Computel?

If so, can you drop me a reply here or via e-mail (remove ubesux from
the email address)? Even if not, actually, so I can cross you off the
list and I know you received this. I would like to talk to you about
your software.

Thank you!

Rick
http://www.themajorbbs.com

Nov 22 '05 #3
David wrote:
Nope, was not me, sorry.

"Questman" wrote:


Damn.. thanks for the response. The David J. M. I'm looking for is
becoming very difficult to find!

Rick

Nov 22 '05 #4

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

Similar topics

4
by: Nicolas Fleury | last post by:
Hi, I've made a small utility to re-raise an exception with the same stack as before with additional information in it. Since I want to keep the same exception type and that some types have very...
1
by: Old Wolf | last post by:
1. What is the difference between #include <stdexcept> and #include <exception> ? 2. Is there a list somewhere of what each standard exception is used for? either to throw them, or throw...
11
by: Master of C++ | last post by:
Hi, I am writing a simulation package in C++, and so far I've written about 8000 lines of code and have about 30 classes. I haven't used C++ exceptions so far (for various reasons). The only two...
3
by: David | last post by:
When calling Print() on a PrintDocument class, we randomly receive a System.ComponentModel.Win32Exception with the odd message "The operation completed successfully" coming from the...
4
by: maricel | last post by:
I have the following base table structure - DDL: CREATE TABLE "ADMINISTRATOR"."T1" ( "C1" INTEGER NOT NULL ) IN "TEST_TS" ; ALTER TABLE "ADMINISTRATOR"."T1" ADD PRIMARY KEY
5
by: PCC | last post by:
I am using the Exception Managment Application Block on Windows Server 2003 Enterprise and .NET v1.1. If I use the block with an ASP.NET web wervice or in a web application I get the following...
2
by: Alex | last post by:
Hi. What would happen if an exception occurs inside a Finally block and at the same time inside the try another exception was thrown without been handled by any catch? Alejandro.
44
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
3
by: JohnDeHope3 | last post by:
First let me say that I understand that Asp.Net wraps my exception in an HttpUnhandledException. I have found a lot of discussion about that on the web, which was informative, but not helpful. Let...
2
by: Darko Miletic | last post by:
Recently I wrote a dll in c++ and to simplify the distribution I decided to link with multithreaded static library (/MT or /MTd option). In debug everything works fine but in release I get this: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.