Question : Expected user-defined type, not project

Hello,
 I get this error in my form on_load event "The expression On Load you entered as the event property setting produced the following error:Expected user-defined type, not project"

I don't remember this happening last night, so i don't know what I changed.  This error even happens when I comment out the whole form's onload event.

Please help.

Whatever.

Answer : Expected user-defined type, not project

Not sure if this is it, but when you go to the form properties in design view, do you see an event procedure next to the load event in properties?
If not, copy your code out of the onload event, and delete it all and then go through the property inspector click on the drop down box next to load event and select code editor and then paste your code back in there.

Billystyx
Random Solutions  
 
programming4us programming4us