borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Getting the WATCH details?) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Global Storage for FormName and Handle
Poster Message
divy24
Level: Trainee

Registered: 25-09-2007
Posts: 3

icon Global Storage for FormName and Handle

Is there a way to create a Global class in VB 6.0 which can be accessed across all projects i have in my application(group file).Plz reply ASAP and also tell me how to do it using some sample if possible.

08-10-2007 at 06:35 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 896
icon Re: Global Storage for FormName and Handle

Hi

To reference a class across projects:
Put the class in a dll
reference the dll from your other projects

You may now create instance of the class in any of the projects.
If you wish to pass the instance around, use parameters and not globals.

Hope this helps,
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

08-11-2007 at 07:05 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Global Storage for FormName and Handle
Next Topic (Getting the WATCH details?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder