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

What does "'[fieldname]' is not a member of 'String'" mean.... specifically

Greetings All,

I have never seen this error before, and after an extensive search of
Groups, I cannot find a satisfactory answer to my basic question.

What exactly does "is not a member of 'String'" mean specifically?

I am developing in VB.NET and I was using the Collection datatype to
store property and object values. However, another group where I work
decided to use C#, and they want to use my base library objects. From
my research, I have learnt that the Collection and Dictionary
datatypes are carry over from VB6, and C# does not have an equivalent.
I have decided to implement the IDictionary interface, with absolute
failure!

I found an example on Microsoft how to inherit the DictionaryBase
library, but now get the "'[fieldname]' is not a member of 'String'"

Any example or help explaining this issue is gratefully appreciated.

I thank you in advance for your help.

--

Dave
Nov 21 '05 #1
3 5938
It means that the propert/method you are trying to use does not exist in the
type of object you are using.

"Dave" <da**@e2group.org> wrote in message
news:67**************************@posting.google.c om...
Greetings All,

I have never seen this error before, and after an extensive search of
Groups, I cannot find a satisfactory answer to my basic question.

What exactly does "is not a member of 'String'" mean specifically?

I am developing in VB.NET and I was using the Collection datatype to
store property and object values. However, another group where I work
decided to use C#, and they want to use my base library objects. From
my research, I have learnt that the Collection and Dictionary
datatypes are carry over from VB6, and C# does not have an equivalent.
I have decided to implement the IDictionary interface, with absolute
failure!

I found an example on Microsoft how to inherit the DictionaryBase
library, but now get the "'[fieldname]' is not a member of 'String'"

Any example or help explaining this issue is gratefully appreciated.

I thank you in advance for your help.

--

Dave

Nov 21 '05 #2

Thanks for responding Marina,

Interesting... that was one of the first things I looked at, and that is
what confused me because my two properties are in the object.

I guess the error is generating from somewhere else. I do instantiate
the object in several places. I will look in those areas. Perhaps I
will have to think of another solutions.

Thanks so much for confirming my initial thoughts, and for responding

--

Dave
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #3
On 30 Sep 2004 09:24:20 -0700, Dave wrote:
What exactly does "is not a member of 'String'" mean specifically?


It means that '[fieldname]' is not a member of the String class. Can you
show us the line that is giving this error?

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 21 '05 #4

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

Similar topics

4
by: Jian H. Li | last post by:
Hello, What's the essential differences between the two ways of "class::member" & "object.member"(or object_pointer->member)? class C{ public: void f() {} int i; };
1
by: ad | last post by:
Hi, What is the difference between (string)dr and dr.ToString();
1
by: Abe Simpson | last post by:
Hi all, My form file has this attribute: <META http-equiv="Content-Type" content="text/html; charset=utf-8"> The form's action points to an .aspx file where I try to retrieve field values...
10
by: Water Cooler v2 | last post by:
I've asked myself this question in the past but couldn't afford more time to it (I program other languages for my bread and butter), so I'll ask now since it's never too late. What does the...
9
by: Fei Liu | last post by:
In Accellerated C++, the author recommends that in a header file one should not declare using std::string, using std::vector etc instead one should directly specify the namespace specifier in...
17
by: Petyr David | last post by:
Just looking for the simplest. right now my perl script returns an error messge to the user if the date string is invalid. would like to do this before accessing the server. TX
5
by: Gianni Mariani | last post by:
I'm hoping someone can tell me why using member address of works and why using the dot operator does not in the code below. The code below uses the template function resolution mechanism to...
3
by: MagicKat | last post by:
Can you explain what they mean by "instant member" for instance, in the article about arraylists, it says it's thread safe but it's instant members are not. What does that mean? ...
3
by: andersond | last post by:
I want input objects to have a light yellow background when they have focus. Here's how I call my function: input name="monthsVacant" id="monthsVacant" disabled="disabled"...
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?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.