943,712 Members | Top Members by Rank

Ad:
Jun 30th, 2009
0

How to call out another form inside the form

Expand Post »
I'm a newbie in VB i want to ask if have a vb form 1 if i press the command button "ADD" it will call out the form i do vb form 2

so what is the coding for it ah??

Help me thank you
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
gingank is offline Offline
108 posts
since Jun 2009
Jun 30th, 2009
0

Re: How to call out another form inside the form

im not sure:

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Private Sub Command1_Click()
  2.  
  3. Form2.Show
  4.  
  5. End Sub
Reputation Points: 10
Solved Threads: 5
Newbie Poster
jp26198926 is offline Offline
22 posts
since Sep 2008
Jun 30th, 2009
0

Re: How to call out another form inside the form

and if u hide the 1st form then write
me.hide

or

form1.hide
Reputation Points: 14
Solved Threads: 78
Practically a Posting Shark
abu taher is offline Offline
835 posts
since Jul 2008
Jun 30th, 2009
0

Re: How to call out another form inside the form

How to use in Userform2, the name of Userform1, which is received in Userform2 as a variable?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pmyk is offline Offline
5 posts
since Jun 2009
Jul 1st, 2009
0

Re: How to call out another form inside the form

the code will be as shown:

private sub command1_CLICK()

form2.show

end sub

this code should be put in the code window for form1 after double clicking the 'ADD' button.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Mung'aro is offline Offline
2 posts
since Jun 2009
Jul 1st, 2009
0

Re: How to call out another form inside the form

Thanks. I do appreciate your reply. I am new to VB.
-P. Michael
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pmyk is offline Offline
5 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Receive data from MScomm
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: How Can i Build Data Report In vb6.0





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC