Visual Basic 6 or Visual Basic .NET? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Visual Basic 6 or Visual Basic .NET? (/showthread.php?tid=30419) Visual Basic 6 or Visual Basic .NET? by DJeX on 08-25-2004 at 07:51 AM I'm making a trojan detection program which will tell you whats connected to your computer, allows you to block IP's form connecting to your computer, Full netstats, and more. But since I really don't want to learn C++ I need a simple and effective code to make it in. Now I've started in VB 6 but I'm wondering if it would be worth while to move to VB. NET. Is VB.NET better? or should I stick with VB 6 for now? RE: Visual Basic 6 or Visual Basic .NET? by Mnjul on 08-25-2004 at 10:31 AM
To be honest, VB .Net, based on .Net Framework, has better Windows integration, and more importantly, easy access to Windows core functions (I think you may need this a lot). For example, registry accessing requires quite a few API calls, and you need to take care of things more than just calling those functions. But in VB .Net, it's been wrapped as Classes and things are a lot easier. RE: Visual Basic 6 or Visual Basic .NET? by spokes on 08-25-2004 at 03:34 PM I'd personally use VB6 the run-times are smaller and most computers have them. As Mnjul said the .Net Framework is 20MB+ (23). VB.Net is better but some users may be limited RE: Visual Basic 6 or Visual Basic .NET? by DJeX on 08-25-2004 at 04:32 PM
Thanks, I'll stick with VB untill I feel like learning C++ (Which won't be for awhile now) o and have any of you (Mnjul, or spokes25) read my post on UserControls? Would you know how to access A UserControl's objects. Like for example: RE: Visual Basic 6 or Visual Basic .NET? by Mnjul on 08-25-2004 at 05:11 PM
I think you should add member functions to user controls, like this... RE: Visual Basic 6 or Visual Basic .NET? by DJeX on 08-25-2004 at 05:37 PM The only problem with that is it wont let you go from Control to Control only from Form to Control. RE: Visual Basic 6 or Visual Basic .NET? by Mnjul on 08-25-2004 at 05:47 PM
Well... RE: Visual Basic 6 or Visual Basic .NET? by DJeX on 08-26-2004 at 01:51 AM
Humm well, RE: Visual Basic 6 or Visual Basic .NET? by Mnjul on 08-26-2004 at 02:46 AM As I said, I think you should use member functions. Those child-controls have been wrapped and I don't think there's a way to access them directly. Are you sure that you want to use UserControls, instead of Forms with instances (Dim AForm as New frmFormTemplate)? RE: Visual Basic 6 or Visual Basic .NET? by DJeX on 08-26-2004 at 05:09 AM
I'm sorry but I'm fairly new at VB, I know most things but not Instances or member functions. If you don't mind do you think you could explain a little more about those? |