Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / April 2005

Tip: Looking for answers? Try searching our database.

Stupid  Error on VB.NET IDE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
João Santa Bárbara - 19 Apr 2005 11:30 GMT
Hi all.

i have a funny error in the IDE but only in one form. :(

i have declare a Method like this "Private Sub MyTransGForms(ByVal sender As
Object, ByVal e As EventArgs)"
and i have an handler to it.

and in the same form i have this calling

AddHandler frm.TranslateForm, AddressOf Me.MyTransGForms
frm.ShowDialog()
RemoveHandler frm.TranslateForm, AddressOf Me.MyTransGForms

The problem is in this declaration the AddressOf Me.MyTransGForms is getting
an  error, and error is  'MyTransGForms' is not a member of  MyForm', what a
stupid error, i have both in the same class.
when i change the name of my method from MyTransGForms to MyTransGForms1 and
change back again to MyTransGForms it start to work. anyone knows how to
solve this stupid Error ???

thks
JSB
Cor Ligthert - 19 Apr 2005 12:04 GMT
Joao,

How are you so sure it was not a typo the first time.

Because at the moment it is good and probably you cannot reproduce it.

Otherwise show us a snippet of code so that we can test it as well.

Cor
azerty - 20 Apr 2005 20:21 GMT
> Joao,
>
[quoted text clipped - 5 lines]
>
> Cor
Steve Amey - 22 Apr 2005 17:12 GMT
Hiya

Are you still getting this error? When the build error comes up, does it go
away if you re-open the project?

Kind Regards,
Steve

> Hi all.
>
[quoted text clipped - 19 lines]
> thks
> JSB

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.