Re: gdip exception

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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ò


.



Relevant Pages

  • Re: Update KB886903 dotnet framework
    ... > Updater keeps wanting to update even though framework was uninstalled. ... By "updater" do you mean update.exe or Windows Update? ... then reinstalled it and still could not update with this patch, ... > then reinstall ok but now can't apply update says were unable to be ...
    (microsoft.public.security)
  • Re: Media Center Not Working
    ... From what I read, one of the upgrades, I think it was the MCE rollup 2 ... overwrote a newer version of a critical .dll of .Net Framework or viceversa ... I did try those fixes, and was able to reinstall Net ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Update KB886903 dotnet framework
    ... The "so you are saying that" part is correct and I don't know how to ... >> Updater keeps wanting to update even though framework was ... > but now Windows Update still wants to install the patch ... >> then reinstall ok but now can't apply update says were unable to be ...
    (microsoft.public.security)
  • Re: Is ther any wrapper framework dll available for gdi32,user32
    ... A good way to make irregularly shaped forms and controls is to use the ... There are a few articles out on the internet that walk through how to create ... "TusharP" wrote in message ... > Is there any similar framework dlls for gdi32.dll, ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: Why TCL?
    ... A great "full stack" web framework in the vein of Rails, TurboGears, ... Tcl space like the other have where we could post articles and then ...
    (comp.lang.tcl)