Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Go Beavs!!!
  • Administrators
Posted

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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...