Hi,
Using the Semicolon in place of the comma doesn't work. However, I disovered that if I put in the missing parameter, I can get it to work.
Eval ("MsgBox(""msg"",0,""title"")")
' works if I put in the zero.
Thanks,
Mark
Thanks,
So, taking my first example I should code it:
Private Sub Command0_Click()
Eval ("MsgBox(""msg"";;""title"")")
Do I have that right? I'll try it.
Thanks.
Mark
Hi,
Here's a possiblity, it's what I have done in Windows 2000 or NT. Not sure if this will work in 95 or 98.
I'm sure there are some other ways to do the same thing.
Call CMD.exe from the shell function instead of the command itself. Use the && to string together commands.
stAppName =...
DougP,
Thanks for the response.
I am creating a hierarchical switchboard for an application I wrote. I am using a Treeview object and populating it using the data I have put in a table. Some of the data includes a text field which contains the command I want to be run when a user clicks on...
Anyone can help me on this?
I am running Access 2000 and trying to use the Eval function to pass a string and have it execute what the string evauates to. It seems when I pass it multiple parameters within that string it doesn't work. I have 2 code snippets below to show what I mean.
Ideas...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.