Skip to content

VB.NET 2005 MultiForms

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #190291
    Johnny5
    Member

    Hi I thought this is something new if anyone come form VB6. In VB6 you can just access to other forms easily, but in VB.NET or any other MS framework programming is not the case. Take a look at the example and have fun 🙂

    #190295
    AhFox
    Member

    huh ?

    Can you just do frmName.propertyName ? that should work.

    #190294
    autopilot
    Member

    @NVYE wrote:

    huh ?

    Can you just do frmName.propertyName ? that should work.

    That works most of the time… but if you start getting multiple threads running, you can run into some problems. I usually create a module to hold the properties that I want to pass back and forth between forms and have never run into a problem with this approach.

    #190293
    AhFox
    Member

    that works

    #190292
    Johnny5
    Member

    everytime you create a new object a new thread is created, you would have to keep track off it. by determine if isNothing then create, else reuse the created object.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.