473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How To open another Form in Visual Basic 6

3
Sorry for being so nooby but I'm making a project for my class and I couldn't find anything on google. I was just wonder what I should put so it opens another form.
May 19 '07 #1
5 12896
Dököll
2,364 Expert 2GB
Sorry for being so nooby but I'm making a project for my class and I couldn't find anything on google. I was just wonder what I should put so it opens another form.
Hiya, Jkr6t!

Because this is a school project, I will give you some hints and a link:

(1) If you double-click on a command button, ode is pre-written thus all you need to do is tell VB what the button should do when that command button ispressed

(2) If the button is pressed therefore you'll need the form to appear:-)

This sample pops up a message box, hint...

http://visualbasic.about.com/library/blLVB6a.htm

If you need better, sound results, plug in the title of your thread, or modify it to look for other things, to Google and let her rip.

Good luck with the project!
May 19 '07 #2
Jkr6t
3
But the thing is I searched Google and found this Website, and I don't need to open a message box, i need to open another form in the program. I thought that i could use: Load frmName

but that doesn't work.

any other advice?
May 19 '07 #3
But the thing is I searched Google and found this Website, and I don't need to open a message box, i need to open another form in the program. I thought that i could use: Load frmName

but that doesn't work.

any other advice?

If your asking what I think you are asking its your form name.Show. On mine it I want it to bring up another form on mine the form is called frmAbout and I have .show after is so it's frmAbout.show.

Try frmName.show

It works for me.
May 19 '07 #4
Jkr6t
3
Thanks, worked like a charm
May 19 '07 #5
Dököll
2,364 Expert 2GB
But the thing is I searched Google and found this Website, and I don't need to open a message box, i need to open another form in the program. I thought that i could use: Load frmName

but that doesn't work.

any other advice?
Alright, the cat's out of the bag. I wanted to hint you could replace the message box with the form command itself. Glad soramaster came to your rescue, kudos on that. Additionally:

Expand|Select|Wrap|Line Numbers
  1.  
  2. Unload Me  'will rid of form already open, 
  3. YourForm.Show   'shows new form you need open
  4.  
  5.  
May 19 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
115
by: TheAd | last post by:
At this moment I use MsAccess and i can build about every databound application i want. Who knows about a serious open source alternative? Because Windows will be a client platform for some time, i...
1
by: Jorge Ponte | last post by:
hi I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In that WUC I want have a textbox and a button. I want to click on the button and open a popup (I use javascript for...
4
by: Ahsan | last post by:
How can i stop one VB.Net form to execute again when its running already ? in other words I don't allow the user to open one form twice in my application Suggestions please. Thank you, Ahsan
13
by: Daniel Walzenbach | last post by:
Hi, Imagine the following situation: I have an asp.net application which allows uploading files to a SQL Server 2000 database (Files are stored as type "images"). As a next step I would like to...
4
by: http://www.visual-basic-data-mining.net/forum | last post by:
Hi Does anyone know how to stay connected to the server and at the same time i can pass the string to and from the module to the form..... What I want: I put the connection at the...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
1
by: Vayse | last post by:
Using Vb 2005 and Access 2000. From within VB, I'd like to open a form in Access. frmCustomer is the form, and I'd like to view the form for a particular CustomerID. I remember doing something...
3
by: Frisco Depot | last post by:
I have a Run-time error problem on a Vista computer. There are two computers involved, The first one is Vista Home Premium SP1 with Windows Mail Version 6.0.6000.16386 (vista_rtm.061101-2205)...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.