Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

How to change forms with VB6?

 
webmaster forum
singam  Offline
Activity
0%
 
Regular Coder
Posts: 50
Topics: 19
June 19, 2010, 11:18:08 PM

In VB6 how do I make it change forms.  Like say if I press a button while running it, it opens a different form?



Edit:Removed self promotion links which are allowed only in forum signatures



« Last Edit: June 19, 2010, 11:26:56 PM by Admin »
 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
June 19, 2010, 11:34:06 PM

I guess on the button_onClick() event you will need to use a code similar to form1.load() to load the form1 (navigate from form2 to form1)

Hope this helps.
 
webmaster forum
hitmark  Offline
Activity
0%
 
Regular Coder
Posts: 91
Topics: 13
July 20, 2010, 10:48:55 PM

it is not a difficult. simply place a command button on form1 and write the following code in click event of command button

form2.show
form1.hide

Orchids Flowers | Wedding Flowers | Wedding Decorations
 
webmaster forum
sd3189541  Offline
Activity
0%
 
New Coder
Posts: 44
Topics: 0
March 30, 2011, 09:38:58 PM

Thanks for this suggestion.
« Last Edit: April 10, 2011, 09:54:20 PM by Admin »
 
webmaster forum
Activity
0%
 
New Poster
Posts: 1
Topics: 0
March 31, 2011, 03:05:33 AM

How can we Add Panel in VB6. 0 i had many time to used that Ver!

film studio los angeles,  los angeles film  , Film Production  , los angeles video ,  los angeles video production , san diago fim production company, film production company las vegas, los angeles viral video production , san diego viral video production
 
webmaster forum
Life Is Good!
Activity
0%
 
Professional Coder
Gender: Female
Posts: 242
Topics: 3
WWW
August 06, 2011, 06:40:37 AM

yep, it will be on the event that will trigger that change..

Affordable Custom Web Design Services
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 21, 2012, 05:21:24 AM