Visual Basic Qesution

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
Zenaku213





Posts: 185
Joined: Thu Jun 02, 2005 12:09 pm
Location: In your walls.

Visual Basic Qesution

Post by Zenaku213 »

Just to tell you guys im very sorry about the HCME... But ive now decide to get actually into programming.
Im using Visual Basic 2005 EE


2.How do make a text finder. Like when i enter a word in a textbox then click find and in the other textbox it finds all the words and higlights them liek in HW. All i have so far is

Code: Select all

With TextBox1.Text  = ""
.Text "'
at least i think thats what i got so far before
3.Also how do i do a replace so it will replace all the words witht he replacing word.
Last edited by Zenaku213 on Fri Dec 23, 2005 6:42 pm, edited 1 time in total.
superaison





Posts: 175
Joined: Mon Jul 25, 2005 5:06 pm

Re: Visual Basic Qesution

Post by superaison »

Zenaku213 wrote:
1.How do you make it so when you click on a button a new window comes up where you can press other buttons. For example like in HMT where you click a tool...
Well, make a new form in there and add all the buttons u want then on form1 where u got the button to open form1 u type in

Code: Select all

form2.show
and then form2 will come up. Should work.
Zenaku213





Posts: 185
Joined: Thu Jun 02, 2005 12:09 pm
Location: In your walls.

Post by Zenaku213 »

well i tried that and it said Form2 could not be declared

::EDIT:::
::EDIT OF RECENT EDIT::::

Ok I got the

Code: Select all

Form2.Show 
to work

I have some more questions..

1.Do you have to Register VB 2005 EE
Last edited by Zenaku213 on Fri Dec 23, 2005 9:12 pm, edited 2 times in total.
superaison





Posts: 175
Joined: Mon Jul 25, 2005 5:06 pm

Post by superaison »

that post got m lost
Post Reply