Programming: VB Programming Tutorial #1

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
[CL]9mm-Man




Wordewatician 500

Posts: 773
Joined: Tue May 04, 2004 7:14 am
Location: Uranus

Post by [CL]9mm-Man »

Nice job, easy tutorial, I was sorted used to it because of TMK but nice tutorial, good job, make some more :D
Your image cannot exceed 400x200 or 50kb
User avatar
Locke




Socialist Advisor Translator

Posts: 2225
Joined: Fri Aug 06, 2004 1:42 am
Location: Woot.com
Contact:

Post by Locke »

[CL]9mm-Man wrote:Nice job, easy tutorial, I was sorted used to it because of TMK but nice tutorial, good job, make some more :D
Ok thanx.Im trying to think of a tut that involves Halo,but is still easy so everyone gets it
Image
Feel free to send me an instant message if you need anything.
Sentinel





Posts: 420
Joined: Thu Nov 04, 2004 1:18 pm

Post by Sentinel »

EvilPickels wrote:Yeah... um, the DL link is like... BROKEN. You mind fxing it?


EDIT: Yeah I recognize that sentence : hello world!. I know where you learned all that from, arg I am to lazy to search for i but try typing C++ tutorial into yahoo search and you get a few really nice tuts. Like from www.cplusplus.com
yeah i found a tut where it made you say hello world. it is from www.dotnetspider.com
http://www.microsoft.com/downloads/deta ... layLang=en
that is the exact link.
I don't have a sig....
Thebirthdayhat





Posts: 94
Joined: Mon Nov 15, 2004 7:01 pm
Location: over there

Post by Thebirthdayhat »

Is It Possible To Cause The Command Button To Make A Whole New Form Pop up Instead Of A Message




-hat
Signature exceeded 3 lines of text.
User avatar
Locke




Socialist Advisor Translator

Posts: 2225
Joined: Fri Aug 06, 2004 1:42 am
Location: Woot.com
Contact:

Post by Locke »

Its not possible in vb. You would have to create the form before hand with all the stuff on it. Name it frmmessage
When you clikc the button the code is

Code: Select all

Private Sub Command1_Click()
Frmmessage.visible = true
end sub
I recommend C++ to create the new forms as vb is very limited
Image
Feel free to send me an instant message if you need anything.
[CL]9mm-Man




Wordewatician 500

Posts: 773
Joined: Tue May 04, 2004 7:14 am
Location: Uranus

Post by [CL]9mm-Man »

Yomama wrote:Its not possible in vb. You would have to create the form before hand with all the stuff on it. Name it frmmessage
When you clikc the button the code is

Code: Select all

Private Sub Command1_Click()
Frmmessage.visible = true
end sub
Are you sure? I do that in VB all the time, thats how I made that "annoying program"....I added a passworded form for after :P I'll have to show it to you soon, when you get back from school.
Your image cannot exceed 400x200 or 50kb
User avatar
Locke




Socialist Advisor Translator

Posts: 2225
Joined: Fri Aug 06, 2004 1:42 am
Location: Woot.com
Contact:

Post by Locke »

Yes but those are just msgboxes. But if not. Ill be home in a while. I hate using these macs at school

Viva la Pc's!
Image
Feel free to send me an instant message if you need anything.
Thebirthdayhat





Posts: 94
Joined: Mon Nov 15, 2004 7:01 pm
Location: over there

Post by Thebirthdayhat »

k thx a lot



-hat
Signature exceeded 3 lines of text.
Sentinel





Posts: 420
Joined: Thu Nov 04, 2004 1:18 pm

Post by Sentinel »

sorry for this noob question but whats the diff in C# and VB cause i wanna learn C# cause i think thats wat ppl are sayin that alot of the h2 apps are gonna b so i wanna mabey make an app, or is that too hard?
I don't have a sig....
conquer2090





Posts: 255
Joined: Sat Feb 14, 2004 2:11 pm

Post by conquer2090 »

uhh im guessing that thats not the only program u have to dl to do this i dled it and gave me 3 .dll files what do i do now lol
These fractional multiplications curb the exponential growth of some Cuil calculations and recognize the fact that as things get weirder to us they also become more intensely real. http://cuiltheory.wikidot.com/mathematics-of-cuil
[CL]9mm-Man




Wordewatician 500

Posts: 773
Joined: Tue May 04, 2004 7:14 am
Location: Uranus

Post by [CL]9mm-Man »

Thats only a patch... The real demo got taken down I think, I had it the day before.
Your image cannot exceed 400x200 or 50kb
Sentinel





Posts: 420
Joined: Thu Nov 04, 2004 1:18 pm

Post by Sentinel »

yeah i noticed that. i downloaded vb from that link then i couldnt figure out the tut c ause i just wasnt payin much attention apperentally but i already had vb from that link and decided well mabey theres an update so i deleated it and went to go dl it again and it was frikkin patches. damn_Microsoft sucks. i was able to get it from my cousin who had the thing that he dl'ed from that link though.
I don't have a sig....
[CL]9mm-Man




Wordewatician 500

Posts: 773
Joined: Tue May 04, 2004 7:14 am
Location: Uranus

Post by [CL]9mm-Man »

nice
Last edited by [CL]9mm-Man on Tue Apr 17, 2007 11:51 pm, edited 1 time in total.
~{DE}~Demolisher





Posts: 100
Joined: Thu Dec 02, 2004 8:35 am
Location: MS,USA
Contact:

Post by ~{DE}~Demolisher »

Could some1 PM in to me also plz?id appreciate it. :D
Signature exceeded 75KB.
Thebirthdayhat





Posts: 94
Joined: Mon Nov 15, 2004 7:01 pm
Location: over there

Post by Thebirthdayhat »

i have a laptop and i wanna get it on t here to but prob is that i sent the whole vb folder from program files over to my laptop via lan conntection but it dont work on my laptop, any help?
Signature exceeded 3 lines of text.
sparkicks





Posts: 151
Joined: Sat May 15, 2004 8:07 am

Post by sparkicks »

ok i want to know where can i download the free version of vb cus i have downloaded stuff from the link at the top of hte tut and i suppose that those are something like a plugin for vb and i downloaded run time files(whatever those are) and well it came with an install program but i cant find vb in start so i suppose that wasnt vb either so would someone please give me a link to the free version of vb?
~{DE}~Demolisher





Posts: 100
Joined: Thu Dec 02, 2004 8:35 am
Location: MS,USA
Contact:

Post by ~{DE}~Demolisher »

http://files.halomods.com/viewtopic.php?t=24440 its the newest version itsa beta but it can compile you forms into exe plus its free lol.
Signature exceeded 75KB.
marcmarteleira





Posts: 137
Joined: Sun Jan 30, 2005 7:32 am
Location: Mississauga

Post by marcmarteleira »

i know this souunds oo so noobish, but, how do u export it to a exe file
Signature exceeded 500x120 pixels.
Spartan Sniper





Posts: 497
Joined: Wed Nov 17, 2004 4:14 pm

Post by Spartan Sniper »

hey when i downloaded it it came out good then when i extracted the files my computer didn't reconize it and i can't install it so what do i do?
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

How do i save it to an exe file?
...left for good
Post Reply