VB.NET 2005 MultiForms

Here you will find tutorials that will help you with programming.

VB.NET 2005 MultiForms

Postby Johnny5 » Fri Sep 05, 2008 9:34 am


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 :)
Attachments
MultiForms.rar
(50.31 KiB) Downloaded 80 times
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Re: VB.NET 2005 MultiForms

Postby NVYE » Mon Sep 22, 2008 5:47 pm

huh ?

Can you just do frmName.propertyName ? that should work.
Add-on Bots for educational and amusement purposes:
http://www.vipbots.com

Website:
http://www.asktechguy.com
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 230
Joined: Fri Jun 10, 2005 11:29 pm

Re: VB.NET 2005 MultiForms

Postby autopilot » Tue Sep 23, 2008 6:57 am

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.
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 356
Joined: Sat Sep 23, 2006 7:19 pm

Re: VB.NET 2005 MultiForms

Postby NVYE » Tue Sep 23, 2008 11:40 pm

that works
Add-on Bots for educational and amusement purposes:
http://www.vipbots.com

Website:
http://www.asktechguy.com
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 230
Joined: Fri Jun 10, 2005 11:29 pm

Re: VB.NET 2005 MultiForms

Postby Johnny5 » Mon Oct 20, 2008 2:05 pm

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.
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm


Return to Programming Tutorials

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests