What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Visual Basic 6 or Visual Basic .NET?

Visual Basic 6 or Visual Basic .NET?
Author: Message:
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Visual Basic 6 or Visual Basic .NET?
I think you should add member functions to user controls, like this...

This is UserControl2's member function. Assume it has a Checkbox named Check1

Public Function GetCheck1Caption() As String
    GetCheck1 = Check1.Caption
End Function


And in Form code you just... (uc2Control is a UserControl2)

'blahblah...
    Whatever=uc2Control.GetCheck1Caption
'blahblah...



I know it's a little bit troublesome (even strange). Actually, if you use VB.Net, this can be easier with its full OOP support.
08-25-2004 05:11 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Visual Basic 6 or Visual Basic .NET? - by DJeX on 08-25-2004 at 07:51 AM
RE: Visual Basic 6 or Visual Basic .NET? - by Mnjul on 08-25-2004 at 10:31 AM
RE: Visual Basic 6 or Visual Basic .NET? - by spokes on 08-25-2004 at 03:34 PM
RE: Visual Basic 6 or Visual Basic .NET? - by DJeX on 08-25-2004 at 04:32 PM
RE: Visual Basic 6 or Visual Basic .NET? - by Mnjul on 08-25-2004 at 05:11 PM
RE: Visual Basic 6 or Visual Basic .NET? - by DJeX on 08-25-2004 at 05:37 PM
RE: Visual Basic 6 or Visual Basic .NET? - by Mnjul on 08-25-2004 at 05:47 PM
RE: Visual Basic 6 or Visual Basic .NET? - by DJeX on 08-26-2004 at 01:51 AM
RE: Visual Basic 6 or Visual Basic .NET? - by Mnjul on 08-26-2004 at 02:46 AM
RE: Visual Basic 6 or Visual Basic .NET? - by DJeX on 08-26-2004 at 05:09 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On