Talikag
September 8th, 2008, 02:57 PM
I encountered a compatibility problem with my program. I am using XP SP2, and the program encounters a problem when I try to run it on XP SP3 or Vista.
When I tried to compile it on Vista, it ran well on Vista but failed to run in the other two windows versions.
The 3 computers have the SAME dot net framework version (version 3.5).
The program is a windows application, and it fails before the main form is loaded.
Here is some information about the exception thrown:
System.ArgumentException was unhandled
Message="Parameter is invalid."
Source="System.Drawing"
StackTrace:
at- System.Drawing.Bitmap..ctor(String filename)
at- AntiCheatForm.InitializeComponent()
at- AntiCheatForm..ctor()
at- AntiCheatForm.Main()
InnerException:
I never come against such problem in the past, so I don't really know how to deal with it.
Does anyone here know what may cause the problem, or can tell me about a tool that will help me spot it?
Thanks in advance.
When I tried to compile it on Vista, it ran well on Vista but failed to run in the other two windows versions.
The 3 computers have the SAME dot net framework version (version 3.5).
The program is a windows application, and it fails before the main form is loaded.
Here is some information about the exception thrown:
System.ArgumentException was unhandled
Message="Parameter is invalid."
Source="System.Drawing"
StackTrace:
at- System.Drawing.Bitmap..ctor(String filename)
at- AntiCheatForm.InitializeComponent()
at- AntiCheatForm..ctor()
at- AntiCheatForm.Main()
InnerException:
I never come against such problem in the past, so I don't really know how to deal with it.
Does anyone here know what may cause the problem, or can tell me about a tool that will help me spot it?
Thanks in advance.