J
jjk1407
hello,
i am a newbie to vb.net. i met a problem with vb on adding function to
an existing class.
when i was trying to add a function, say myfunc, to a class, myclass,
using "public shared function myfunc", and called myfunc in somewhere
else. theres always a complier error said "myfunc is not a member of
myclass". and in object browser, ive found that there are two classes,
myclass and myclass [1.0.0.0]. in the content of myclass, there lies
myfunc, but in myclass [1.0.0.0], there has every old functions except
myfunc.
i totally have no clue on why it happened. does anyone can help?
thanks a lot!
i am a newbie to vb.net. i met a problem with vb on adding function to
an existing class.
when i was trying to add a function, say myfunc, to a class, myclass,
using "public shared function myfunc", and called myfunc in somewhere
else. theres always a complier error said "myfunc is not a member of
myclass". and in object browser, ive found that there are two classes,
myclass and myclass [1.0.0.0]. in the content of myclass, there lies
myfunc, but in myclass [1.0.0.0], there has every old functions except
myfunc.
i totally have no clue on why it happened. does anyone can help?
thanks a lot!