\r\n\r\n
Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Load one form from another


\r\n \r\n
 
 
Thread Tools Display Modes

\r\n\r\n\r\n
I am beginner in programing in visual basic .I have just start programing my first aplication when i encounter problem.
\r\n
\r\nI am having problem with loading form "stoperica" from form "form1"
\r\nWhen i try to load form
\r\nit say run-time error 361 ,can load or unload this object .
\r\nBut when i try to load
\r\ni done it like this
\r\n
\r\nPrivate Sub Stoperica_Click()
\r\nUnload Me
\r\nLoad Stoperica
\r\nStoperica.Visible = True
\r\n
\r\nEnd Sub
\r\n
\r\nBut when i try to load "form1" from form "stoperica" than its ok
\r\nWhat is problem ?
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[667566] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 02-28-2004, 12:56 PM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
Iceplug\'s Avatar\r\n\r\n
\r\n \r\n Iceplug\r\n Iceplug is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 02-28-2004, 12:53 PM
Goran87 Goran87 is offline
Newcomer
 
Join Date: Feb 2004
Location: Banja Luka
Posts: 9
Default Load one form from another


I am beginner in programing in visual basic .I have just start programing my first aplication when i encounter problem.

I am having problem with loading form "stoperica" from form "form1"
When i try to load form
it say run-time error 361 ,can load or unload this object .
But when i try to load
i done it like this

Private Sub Stoperica_Click()
Unload Me
Load Stoperica
Stoperica.Visible = True

End Sub

But when i try to load "form1" from form "stoperica" than its ok
What is problem ?
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
disable print preview from xlDialogPrint w_seyller Excel 9 12-11-2003 11:20 AM
form load and unload irisbeast General 3 07-24-2003 03:34 AM
MDI Form and dimensions kkonkle Interface and Graphics 6 03-26-2003 09:50 AM
Showing a form w/i another form load event VBLady Interface and Graphics 2 02-04-2003 10:56 AM
Load Form with Never ending loop mjs7231 General 9 01-20-2003 02:19 PM

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
 
 
-->