Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Multiple Form Help


Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2002, 04:29 PM
gamepro741 gamepro741 is offline
Freshman
 
Join Date: Oct 2002
Posts: 44
Default Multiple Form Help


I have a program with multiple forms. Each time I load a new form and show it, I unload the previous one. The problem is when I open up a certain form, my program still calls a module that was being called on other forms. The form that I just loaded and showed had no coding whatsoever in it, yet, it still called the module. What is happening?
Reply With Quote
  #2  
Old 12-09-2002, 04:32 PM
excaliber's Avatar
excaliber excaliber is offline
Senior Contributor

* Expert *
 
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
Default

You Could use classes and dim a new object for each one...

whats wrong with it calling the same module?
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)

"Perl - The only language that looks the same before and after RSA encryption."
Reply With Quote
  #3  
Old 12-09-2002, 04:43 PM
gamepro741 gamepro741 is offline
Freshman
 
Join Date: Oct 2002
Posts: 44
Default The problem is

I have a sub in the module and the form that is loading calls the sub even though I dont call it in my new forms code. I dont want to call the sub from this particular form.
Reply With Quote
  #4  
Old 12-09-2002, 05:06 PM
excaliber's Avatar
excaliber excaliber is offline
Senior Contributor

* Expert *
 
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
Default

could you upload the project here? i could take a look...despite being new myself i might spot something you didnt.
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)

"Perl - The only language that looks the same before and after RSA encryption."
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->