473,383 Members | 1,716 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,383 software developers and data experts.

Non_CLS compliant variables?

GB
Hi,

I just upgraded from VS2003 to VS2005 (VB.NET apps) an I get a number of
warnings "Name "..." is not CLS_Compliant". All the corresponding "faulty"
code is in DataSet1.Designer.vb, wich is automatically generated code
associated to some of my Data Adapters at design time. So I feel I should
not touch this code myself.

In fact, all mentionned names are derived from some of my field names in the
records. There is an underscore added in front of the names. Eg : if my
field name is ABC_01, the Designe.vb code would mention a "_ABC_01" name.

How can I have these warnings fixed? Should I change my field naming
conventions in order to avoid this? Where can I find the "CLS-compliant"
rules?

Thanks in advance.

GB
Jan 8 '06 #1
1 1982
GB
OK. Dont bother. I suppressed the faulty Table in a DataSet, then reinserted
it ans so it regenerated the code, ths time correctly. So the porblem is
solved.

GB

"GB" <fo****@bessis.com> a écrit dans le message de news:
eB***************@TK2MSFTNGP15.phx.gbl...
Hi,

I just upgraded from VS2003 to VS2005 (VB.NET apps) an I get a number of
warnings "Name "..." is not CLS_Compliant". All the corresponding "faulty"
code is in DataSet1.Designer.vb, wich is automatically generated code
associated to some of my Data Adapters at design time. So I feel I should
not touch this code myself.

In fact, all mentionned names are derived from some of my field names in
the records. There is an underscore added in front of the names. Eg : if
my field name is ABC_01, the Designe.vb code would mention a "_ABC_01"
name.

How can I have these warnings fixed? Should I change my field naming
conventions in order to avoid this? Where can I find the "CLS-compliant"
rules?

Thanks in advance.

GB

Jan 9 '06 #2

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

Similar topics

6
by: Edward Diener | last post by:
Does anyone know the correct naming conventions for CLS compliant code ? The doc points to a really obscure and difficult to digest document on the web about Unicode names, and I am looking for...
1
by: Jacob Friis Larsen | last post by:
Do you know of a menu that is indexable and standards compliant? I found this: http://www.htmldog.com/articles/suckerfish/dropdowns/example/ Thanks, Jacob
1
by: Pieter | last post by:
Hi, I have this Warning for several forms when using the DockPanel Suite of Weifen Luo in VS.NET 2005. I read a lot about this CLS-compliant stuff, but I don't now how to chech actually which...
10
by: moondaddy | last post by:
I converted a vb.1.1 web service project to 2.0 and .net 2.0 created / replace some datasets. The code it automatiacly generated gets a warning message as follows: Warning 150 Name...
8
by: yossi.kreinin | last post by:
Hi! When are multiple definitions of global variables with the same name considered legal in C, and how is it different from C++? It appears that in terms of assembly language, some C...
14
by: Martin Walke | last post by:
Hi all, Is there any limit to the number of session variables a site can have? And is that affected by global.asa at all? The reason why i ask is that i have a relatively simple site that...
17
by: Mark A | last post by:
DB2 8.2 for Linux, FP 10 (also performs the same on DB2 8.2 for Windoes, FP 11). Using the SAMPLE database, tables EMP and EMLOYEE. In the followng stored procedure, 2 NULL columns (COMM) are...
15
by: Zhang Weiwu | last post by:
http://www.w3.org/MarkUp/2004/xhtml-faq provided a trick to serve xhtml webpage to IE as application/xml I used that trick and now every one of my xhtml webpage have following first 4 starting...
24
by: Daniel Rudy | last post by:
Hello Group, Consider the following code: /* form 1 */ int main(void) { int i; char *p;
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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.