Teen Programmers Unite  
 

 

Return to forum top

customize MSGBOX() -Visual Basic 6

Posted by gule [send private reply] at September 25, 2002, 02:52:10 AM

I tried to make my own msgbox function.
Actually I want to have different caption property(on my language-serbian) of button object in msgbox(), and maybe some different icons instead vbQuestion,vbExclamation ..etc

If anyone can help me I'll be thankfull

regards

Posted by DragonWolf [send private reply] at September 25, 2002, 05:00:44 AM

Didn't you post the last thread about the last topic? If so please stick to one thread (unless its been locked in which case bad mouth the admins then start a new thread)

Long time since I used Visual Basic 6. I'm trying to think how to open multipule instances of the same form. Anyone any ideas?

Posted by taubz [send private reply] at September 25, 2002, 09:23:47 AM

dim newInstance as new NameOfForm
newInstance.show

Posted by DragonWolf [send private reply] at September 25, 2002, 09:59:51 AM

could you do that in 5?

Posted by Neumann [send private reply] at September 25, 2002, 10:01:10 AM

DragonWolf: I could do that in VB3...

Posted by DragonWolf [send private reply] at September 25, 2002, 10:04:11 AM

nutz.
I was trying to make a IRC server in err I think 4/5 but couldn't figure out how to make more than one instance of my WinSock object. (This was like 5/6 years ago ^^)

Posted by Neumann [send private reply] at September 25, 2002, 10:08:01 AM

... and IRC WEB server? how coooool.

Posted by Neumann [send private reply] at September 25, 2002, 10:10:45 AM

Also, I think you have to use what was called a "Control group" in VB6 (litterate french translation). You had to set the Index property of the control you wanted to instanciate. This way, VB6 made the new instances of you object in such that the code you entered for the first instance (the one on the form at design time) is shared by all the instances you create at runtime.

Posted by DragonWolf [send private reply] at September 25, 2002, 10:10:51 AM

hehe ^^ typo so :P IRC server even ^^

Posted by DragonWolf [send private reply] at September 25, 2002, 10:12:02 AM

Neuman: That should happen in any half decent compiler anywayz ^^
When I stay instantiate I mean at run-time not design-time.

What I eventually did was copy and paste the object like 20 times (I was obviously not gonna bother copying and pasting 65000 odd times ^^

Posted by Neumann [send private reply] at September 25, 2002, 10:20:31 AM

VB6 sucked anyway...
Everyone should now use VB.NET.
But people affraid of RAD tools should use ML...

Posted by DragonWolf [send private reply] at September 25, 2002, 10:22:53 AM

I like C#.NET and ASP.NET for programming business applications.

Posted by Neumann [send private reply] at September 25, 2002, 10:24:58 AM

I'm supposed to be programming ASP.NET right at the moment I'm writing this message...

I'm retracting my previous statement... Everybody (including people affraid of RAD tools) should use C#.
People affraid of Microsoft should use Java...

Posted by mop [send private reply] at September 25, 2002, 06:25:41 PM

Oh great, I'm lost now, first it was cool to use linux, then it was cool to call people who think its cool to use linux "immature" now whats cool?

Come on, I need to know which programming fad I should pretend I'm good at!

Posted by gian [send private reply] at September 25, 2002, 07:34:10 PM

No, it's still cool to bash people who go:
"Iuse lINXU so ii aasm l33t3rr thENn j00"

Posted by RedX [send private reply] at September 26, 2002, 02:20:13 PM

mop just say you write games for quantum computers.

Posted by mop [send private reply] at September 26, 2002, 05:55:39 PM

...a quantum computer that I built with parts from radio shack. Technically it boots up while you play the game.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.