odd designer error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

occaisionaly when going into the forms designer i get the message:-
"Code generatinon for the property 'Source Module' failed Error was: 'The
value 0 is not a valid value for the enum 'EnumSourceModule'.'

any ideas what this is?

*guy*
 
Please share your solution with us, I get that message a lot too, and I
haven't been able to figure it out, especially since the error log points
into thin air....

Martin
 
Hi Martin, this was in VB6 migrated code, and there was an ENum defined that
i had not spotted, it had hard coded values starting at 1 (ie no zero) for
some reason the forms designer doesnt seem to like this - some of the time!
to be honest i am ignoring it and treating it as a bug in the ide that
hopefully will be fixed in SP1.

hth

guy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top