Im trying to write a app in vb 2005 and in this app u write some of my specal code in a text box, ive told vb wat my code meens
e.g, popupmsg = msgbox, and when u press a button it runs, but ive tryed and tryed but it dont work can u help me

Hi,

Can u be more specific...?
What u want actually..? Pop-up message which is in text box...?

Regards
Veena

i wana cre8 a program in which u type in some o my own made up code and press a button and it runs it

the popup msgbox thing was my example of declering my code

e.g
"popupmsg("hello")" ="msgbox("hello")

but i dont know how to declere my code ether

Hi,

so u want write some thing in textbox and in button click give the message from text box...?


Regards
Veena

in my own code yes and later a whole language

i call it mcginty scrypt and the program mcginty scrypt3r (dont ask)

Hi,

OK then Create a Procedure called "PopUpMessage", pass a Sting Variable as Parameter. and In the Function show the Message. Some thing like this:

Private Sub PopUpmsg( MyStr As String)
  MsgBox MyStr
End Sub

Regards
Veena

thanks alot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.