Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 19th, 2005, 12:31 PM
Authorized User
 
Join Date: Aug 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Kaustav Send a message via Yahoo to Kaustav
Default sYNCHRONIZE COMMAND_CLICK EVENT

My problem: I have a command button in form1. Also i have a form2. Now I want that when I click the command button the form2 will be visible. And when the form2 is unloaded a message saying "I am in form1" will appear. Note command_click event of form1 will have all the codes and no code should be written in form2. Is this possible ? If yes plz let me know. PLz try to avoid complex api calls if possible....

------------------
Kaustav
__________________
------------------
Kaustav
 
Old September 19th, 2005, 01:12 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in the command1 click event:

form2.show vbModal
msgbox "I am back"

Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
synchronize combo box HDMorales Access VBA 2 February 8th, 2006 12:34 PM
Synchronize a command button's click event Kaustav VB How-To 2 September 20th, 2005 02:25 PM
how to synchronize between two database zerra Java Databases 1 August 4th, 2005 12:09 AM
Synchronize a remote and local database - MAYBE??? kevorkian SQL Server 2000 3 March 8th, 2005 02:00 PM
How to synchronize time on two computers Vladimirs VB How-To 0 June 29th, 2003 06:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.