Valhalla Legends Forums Archive | Battle.net Bot Development | Code Execution

AuthorMessageTime
WiLD
I used to have a fair idea on how it was done, but i havnt touched vb for awhile and cant remember.

Anyways..... was just wondering how i would go about executing code from a textbox or somewhat.

Basically i just want to be able to to put in some code such as
[code]msgbox "test"[/code]
into a textbox and execute it however. It doesnt really matter what function i put it into, just want to get an idea of how to go about it for now.

Thanks in advance.
June 18, 2005, 5:08 AM
Quarantine
I don't know if VB has an Eval() function, I remember seeing a function maybe CallByName *shrug*
June 18, 2005, 5:20 AM
NicoQwertyu
There's a Scripting Control (OCX) that can do this.  Look for it.
June 18, 2005, 5:23 AM
UserLoser.
This isn't related to Battle.net Bot Development and if you could read the forum topic, then you can surely read MSDN, any simple tutorial, or a book to find out your answer.
June 18, 2005, 5:34 AM
tA-Kane
WiLD: if I'm not mistaken, you'd be interested in VBScript.
June 18, 2005, 8:29 AM
WiLD
Sorry for the late reply.
It may be VBScript im looking for, but im quiet sure i was looking at an example awhile ago on how it is done via the way i explained above. I no longer have the example so im unable to take a look at it.

I guess ill looking into VBScripting more then. Thanks for the help
June 20, 2005, 7:37 AM

Search