![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
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... |
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
It's as simple as FormName.Show. That's it. Easy as pie, no?
|
|
|
|
|
|
#5 |
|
Expert Programmer
|
I thought it would be something like
form.visible = true |
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#7 |
|
Programming Guru
![]() |
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.
__________________
|
|
|
|
|
|
#8 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#9 |
|
Expert Programmer
|
I agree with Dameon. And frmAddContact.Show Me, VbApplicationModal would probably be better, as it's a dialog.
|
|
|
|
|
|
#10 |
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|