Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Visual basic
Visual basic
2003-12-05, 5:55 AM #1
Anyone know how to do dialogs step by step? These stupid tutorials leave out stuff because every one i look at has what the other one doesnt but when i put them together it doesnt work. I have version 6.0 just to let you know.
2003-12-05, 6:18 AM #2
Dialogues?

------------------
"LC Tusken: the idiot is the person who follows the idiot and your not following me your insulting me your following the path of a idiot so that makes you the idiot"
Jack Chick preaches it
NMGOH
the idiot is the person who follows the idiot and your not following me your insulting me your following the path of a idiot so that makes you the idiot - LC Tusken
2003-12-05, 6:24 AM #3
Awww forget VB - if you're going to code, do it properly and become a C/C++/Java sadist [http://forums.massassi.net/html/wink.gif] Then, you shall know true suffering... [http://forums.massassi.net/html/redface.gif]. Also, that way you get a proper compiler that you can scream at [http://forums.massassi.net/html/eek.gif] [http://forums.massassi.net/html/wink.gif]

Last time I did any VB was over 3 years ago now, though I can still remember a little. Seems strange though - just today at work, someone was using VBA within MS Access and to see a statement without a semi-colon on the end... it was enough to drive me crackers....

* /me tears hair out and runs round in circles - not too much unlike Deus Ex II's AI... [http://forums.massassi.net/html/wink.gif] *

Anyways, from what I can recall, do you mean "dialogs" as in pop-up boxes? The only one I can remember off the top of my head is the "message box" (and it goes something like this - as I say, I'm rusty...)

(this assumes you have a button named "button1")

Code:
Private Sub button1_Click()
    Dim text As Integer
    text = msgBox("Do you like Massassi?", vbQuestion + vbOKCancel, "The title-bar text")
End Sub


As I say, I'm not kidding when I say it's been a while, so don't slate me if I'm a little off {it seems so wrong to code without the curly brackets} [http://forums.massassi.net/html/wink.gif]. Other than that, I can't give you a full answer unless I know what you're trying to achieve.

Hope this has (somewhat) helped [http://forums.massassi.net/html/biggrin.gif]

-Jackpot

------------------
Are you feeling lucky, cuz if you are, get your hands off me... ;p

Initiator of the "Bring Back Jan Ors" Campaign!

"Life is mostly froth and bubble,
But two things stand in stone,
Kindness in another's trouble,
Courage in your own"
("Ye Wearie Wayfarer" - by Adam Lindsay Gordon)
"lucky_jackpot is the smily god..." -gothicX
"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
- "Ye Wearie Wayfarer"
|| AI Builder: compatible with both JK & MotS || My website ||
2003-12-05, 6:56 AM #4
Im sorry... i forgot to mention that i meant stuff like the save/open/print/collor dialogs. Also c++ was kinda hard for me...
2003-12-05, 8:01 AM #5
Youll have to use "Commong Dialogs" for that . . . just do a Google search for it.

------------------
Fight the future.
And when the moment is right, I'm gonna fly a kite.
2003-12-05, 8:20 AM #6
Clicky, then scroll to the bottom and find the tutorials you want.
2003-12-05, 8:48 AM #7
C++ is too difficult, agreed. Visual Basic is inelegant, agreed (well nobody said it but I'm agreeing in advance). I use Delphi which seems to be a nice midpoint, and you can pick up personal for free.

But of course this isn't a debate about programming languages, so I'll be going now!

------------------
tristan is the best friend of the jedi

"I am the signature virus! Copy me into your signature so that I can take over the world! Moohahahee!"
tristan is the best friend of the jedi

"I am the signature virus! Copy me into your signature so that I can take over the world! Moohahahee!"
2003-12-05, 8:54 AM #8
Quote:
<font face="Verdana, Arial" size="2">Originally posted by lucky_jackpot:

Awww forget VB - if you're going to code, do it properly and become a C/C++/Java sadist [http://forums.massassi.net/html/wink.gif] Then, you shall know true suffering... [http://forums.massassi.net/html/redface.gif]. Also, that way you get a proper compiler that you can scream at [http://forums.massassi.net/html/eek.gif] [http://forums.massassi.net/html/wink.gif]
</font>


I know someone who owns his own company (with this father) and he does all his work with VB. They dont do much in the way of large projects though, they mostly cater to smaller independant companies for which they write small database and fincancing programs. So for the most part they get along fine.

------------------
You underestimate the power of the Dark Side...

DSettahr's Homepage

[This message has been edited by DSettahr (edited December 05, 2003).]
2003-12-05, 9:06 AM #9
Visual Basic is the best language for learning to program and smaller applications, but for more complex things its not the best thing.
2003-12-05, 9:14 AM #10
Quote:
<font face="Verdana, Arial" size="2">Originally posted by UndeadOne:
Visual Basic is the best language for learning to program and smaller applications, ...</font>


Um, no. VB is great if you want relatively rapid dev time, and a quick and dirty GUI, without regards to quality or app integrity. Use C++ or similar if you care about the later.


Ive been coding in Perl for a few months now (cant cog any more, certainly cant do VB on Linux..) and Im loving it . its everything Ive ever wanted in a language.

------------------
Fight the future.
And when the moment is right, I'm gonna fly a kite.
2003-12-05, 9:55 AM #11
Actually, with VB .NET, Visual Basic is a relatively viable language since it has the same compile target as Managed C++ and C#. Which, of course, also means that in the distant future VB programs will be runnable on Linux.
One of the major things about .NET is that the language you code in is supposed to be based on your own style, rather than the application requirements.

So... stay tuned. [http://forums.massassi.net/html/smile.gif]
2003-12-05, 11:11 AM #12
I dunno about Perl, it's a bit too much not having types! (Plug: Kylix is Delphi for Linux)

------------------
tristan is the best friend of the jedi

"I am the signature virus! Copy me into your signature so that I can take over the world! Moohahahee!"
tristan is the best friend of the jedi

"I am the signature virus! Copy me into your signature so that I can take over the world! Moohahahee!"

↑ Up to the top!