Re: gdip exception
- From: "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Nov 2006 20:28:12 +0100
I woult think that at worst you'd have to reinstall the framework on the
target machine. Have you verified that framework 2 is running on the
targets? it may be Framework 1.1 so this sort of exception would be normal
as the System.Drawing dll changed between versions.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Paolo Niccolò Giubelli [Axettone]" <axettone|at|hotmail|com> wrote in
message news:C58FA854-A4FF-4056-9DA9-4BE65EBD8772@xxxxxxxxxxxxxxxx
Hi folks! I made a simple application in c# 2.0, and I successfully
installed
it on many computers (windows xp pro). The .net framework v. 2 was
previously
installed of course. On a SINGLE computer, the application start but it
crashes immediatly saying "Unhandled exception..", so i surrounded the
Main
body with a try{}, and in the catch statement i print on a messagebox the
exception message. The message is "the type initializer for gdip threw and
exception". What can I do? I suppose that this is a problem of the
computer
(not of my program), because I tested it on many computers (~10) and it
works
fine. Do I have to reinstall windows? Or copy a dll? Please help me!
Thank you!!
Paolo Niccolò
.
- Prev by Date: Re: Losing pixels from edge when resizing and using interpolation
- Next by Date: Re: Drawing Charts with GDI+
- Previous by thread: Losing pixels from edge when resizing and using interpolation
- Next by thread: Re: gdip exception
- Index(es):
Relevant Pages
|