kcwallace Posted June 21, 2005 Posted June 21, 2005 I am relatively new to .Net, and have functionality question with modules in .NET. In VB6 I created several applications that shared modules. When I fixed the code with Module X within Application A, the changes cascaded to Module X in Application B, C, and D. Conversely, When I try to do the same thing in .NET the changes in Module X do not cascade to Application B, C, or D. Am I doing something wrong? Or is the VB6 functionality gone? Quote Go Beavs!!!
Administrators PlausiblyDamp Posted June 21, 2005 Administrators Posted June 21, 2005 Not sure what you mean by changes cascaded if you meant the same .bas file was shared between all applications then this can still be acheived - when you add an existing item to your project you can click on the drop down next to the open button and select link instead. If you are reusing the code a lot you may want to investigate creating a classlibrary as a means to share the compiled code. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
kcwallace Posted June 21, 2005 Author Posted June 21, 2005 If I do use class libraries, does the compiler automatically compile the library as a dll? Quote Go Beavs!!!
Moderators Robby Posted June 22, 2005 Moderators Posted June 22, 2005 Only if it is in it's own assembly (project) Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.