|
-
Apr 24th, 2012, 01:18 AM
#1
Thread Starter
Member
changing inner code

if its possible could i temporarily change the inner code of a program instead of using a timer or multiple buttons
ex: i have a BUTTON1 set to open a webpage like www.happy.com
could i some how be able to do something like this
Private Sub BUTTON2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
if textbox1.text=1 then
button1.code=me.close
if textbox1.text=2 then
button1.code=systembeep
if textbox1.text=3 then
button1.code=listbox1.disable
End Class
Last edited by TD5X; Apr 24th, 2012 at 01:22 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|