|
-
Jul 29th, 2004, 05:06 PM
#1
Thread Starter
New Member
InvalidProgramException (Fixed, Thankx)
I'm getting this exception with code that I believe there's nothing wrong with.
The first time I got the exception it just wouldn't go into a particular method call.
So I commented out the method call - no exceptions.
I took just the lines of code in the method and inserted it in place of the call, and got the exception.
Seems like as my code grows to something bigger the exception occurs.
Help.
Last edited by hjmanlig; Aug 6th, 2004 at 12:49 AM.
-
Jul 29th, 2004, 05:33 PM
#2
PowerPoster
Hi,
Whether you believe it or not there is obviously something wrong with your code, so post it. The forum Crystal Ball has not been working lately
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jul 29th, 2004, 05:59 PM
#3
Frenzied Member
MSDN says
The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program.
What are you using to compile?
-
Jul 29th, 2004, 09:16 PM
#4
Thread Starter
New Member
To compile, I'm using Visual Studio .NET (.NET Framework 1.1 SP2).
What I meant by "I believe that there is nothing wrong with the code" is that all the code in question, compiles (no errors). And just running the code (the method causing the exception) works just fine. (After reading my post, I thought that someone would reply of the sort, I would have, he he he)
-
Jul 30th, 2004, 08:55 AM
#5
Frenzied Member
I'd take taxes' advice and post the offending code. Maybe someone may see somthing.
-
Oct 25th, 2006, 07:23 AM
#6
Fanatic Member
Re: InvalidProgramException (Fixed, Thankx)
i got the same exception . can you please say what it was?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|