Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 9th, 2005, 2:22 PM   #1
gam3r
Newbie
 
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0 gam3r is on a distinguished road
Help

Hi,

Im trying to make a phonebook as im new to all this.

The problem im having is i dont know how to get one button to link to another form.

E.g i want the button "add contact" to link to this other form which is the add contact form.

how would i do this?

Thank you
__________________
biggest NOOB ever :P
gam3r is offline   Reply With Quote
Old Oct 9th, 2005, 4:18 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Put up some code and ask for help with it. Incidentally, you need to trim your fingernails; you hit the '3' instead of the 'e' when you made your user name.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 9th, 2005, 5:00 PM   #3
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
Attach the code to that button, I think the syntax is somethink like: formname.show or formname.showMe...
But I think that you should learn the basics of the vb before starting an app like that...
ivan is offline   Reply With Quote
Old Oct 9th, 2005, 6:06 PM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
It's as simple as FormName.Show. That's it. Easy as pie, no?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Oct 9th, 2005, 7:25 PM   #5
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 597
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
I thought it would be something like

form.visible = true
crawforddavid2006 is offline   Reply With Quote
Old Oct 9th, 2005, 8:41 PM   #6
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I love Oobles response. That is not sarcasm on my part, that's a hard true statement. If you want to give a tip or a hint or a lead, give a tip or a hint or a lead (helps learn self learning); if you want to give an answer, by dam' give an answer. It isn't good to beat around the bush, or guess, or waffle; the OP is usually looking for a good answer (not a suggestion of voodoo, see my avatar if you want voodoo, I'll pretend it's you and stick pins). If you're not sure, check before you answer. If you're sure, and you're wrong, be prepared to apologize.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 9th, 2005, 8:44 PM   #7
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
gam3r, seriously, go buy a Visual Basic book. It might be a big investment at first, if you're not really into it, but you're not going to be able to do anything useful (and i know this because you had to come here to ask about the show member of VB forms, btw there is a hide too -- saves us some time).

Don't expect anybody in life to help you with anything unless you've shown that you've tried hard to do/learn it first.
__________________

tempest is offline   Reply With Quote
Old Oct 9th, 2005, 9:08 PM   #8
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
I would strongly reccomend switching to VB .Net (or C#) while you can. It prevents a lot of the un-learning associated with switching from VB 6 later on.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Oct 10th, 2005, 11:58 AM   #9
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
I agree with Dameon. And frmAddContact.Show Me, VbApplicationModal would probably be better, as it's a dialog.
Rory is offline   Reply With Quote
Old Oct 11th, 2005, 12:42 PM   #10
gam3r
Newbie
 
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0 gam3r is on a distinguished road
well thanks guys...im starting out at school (properly) im going to go buy a book soon, i just need some cash.

jeez
__________________
biggest NOOB ever :P
gam3r is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:45 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC