473,378 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

odd designer error

guy

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*
Jan 20 '06 #1
3 904
guy
please ignore !

"guy" wrote:

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*

Jan 20 '06 #2
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

"guy" <gu*@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
please ignore !

"guy" wrote:

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*

Jan 20 '06 #3
guy
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

"Martin" wrote:
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

"guy" <gu*@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
please ignore !

"guy" wrote:

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*


Jan 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tom Gao | last post by:
Hello, We are having a recurring problem of a typed dataset that we have in a form dissapearing from the VS designer and all bindings being lost. The dataset is defined in another component and...
0
by: Tom Gao | last post by:
Hello, We are having a recurring problem of a typed dataset that we have in a form dissapearing from the VS designer and all bindings being lost. The dataset is defined in another component and...
1
by: Chuck Haeberle | last post by:
We have need to share functionality across all of our application web pages, so we decided to subclass from System.Web.UI.Page. When we create a new aspx, the Visual Studio designer automatically...
0
by: L Scott | last post by:
I've created a page ancestry (framework) for our application so that all pages in our app would have the same look and feel. To do this, I created several user controls (header, footer, menu,...
2
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm...
3
by: Carlo3030 | last post by:
Hi, My project's original code works as expected, the problem is after we had added our project to our sourcesafe, my teammate got the latest version and all the pages could not be viewed in the...
3
by: Steven Nagy | last post by:
Hi all, ASP.NET : Framework 2.0 - C# A recent addition to my code generater will create GridView's and ObjectDataSource's in a control (ASCX). So the code gen creates an ascx, ascx.cs,...
2
by: dejavue82 | last post by:
Does anybody know how to resolve the following errors? They were caused by the designer.cs file that was auto-generated by the LINQ to SQL designer. I am using the March 2007 Orcas CTP version of...
6
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
Yesterday Visual Studio gave me a strange error both at compiletime and at designtime that had no obvious connection to anything I had changed recently. After some effort tracking down the problem...
4
by: Phil | last post by:
VS 2008 I have a windows form that was created in the normal way using the form designer. I do not wish to use this form directly though, I want to use it as a basis for some other forms. I have...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.