Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning 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 March 21st, 2004, 04:59 PM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 'ok buttons'

well ive just about mastered the basic of vb 4 but theres one snag thats preventing me from becoming intermediate level. when i click a certain ok button i want it to open another window can anybody explain how to do this?

thanks in advance,
hiker

 
Old March 22nd, 2004, 09:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..
you have 2 aproachs..

first:
'load the new form
load FrmMyForm
'show it
frmmyform.show
'show has some parameters that tell him how the new form will be showed...

second:
'dont load it
fmrmyform.show
'it will load automaticaly


HTH

Gonzalo
 
Old March 22nd, 2004, 02:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

the idea behind load before show the form if that if you need to do some things before actually showing it.. you can load, do all the stuff you need.. and then show it..

also it will solve some laggy forms that do to much work at the beggining..

p.s.: it's there money involved in the promotion???? :p

HTH

Gonzalo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Buttons plb BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 12th, 2007 12:36 AM
Form buttons Lofa Beginning PHP 1 March 12th, 2007 06:39 AM
Buttons on a site PHP FAQs 0 January 17th, 2007 02:17 PM
buttons over and under rahzan Access VBA 4 April 7th, 2005 11:35 AM





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