Invalid Access to Memory Location Error

Keekee

New member
Joined
Apr 16, 2008
Messages
2
Programming Experience
Beginner
Hi,

New to the forums and just getting back into Vb.net stuff. Building an inventory/stocking program for my Sister-in-Law. Just started yesterday and I'm sure my error is something silly and small that I'm missing, but when I opened up the project today, attempted to debug I'm getting the error "Invalid Access to Memory Location". Not sure what to do about this and can't find anything online about this error not being linked to anything else. Any suggestions would be appreciated. If I've posted in the wrong area please let me know.

Thanks
 
Does this error occur every time you run the application? or was it just the one time?

What code do you have running when the application first loads?

Do you have a screen shot of the error?
 
Yes, the error occurs every time I run debug and try to test the application.

At this point, the only code I've really put in is just exit/close buttons and the button to open a second form off the first. The code is very minimal at this point. Yesterday, when I first created the project I had no issue with running debug and testing my code. Today, this is when the errors occur.

I can get a screen shot but literally all it says is "Invalid Access to Memory Location". There is no error code # or information.
 
Last edited:
Only unmanaged code can do that, so either you're using Win32 calls incorrectly, using a buggy third party, or hit a bug in the Framework.
 
Back
Top