Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
Yes, but be aware that using Kixforms will require that the DLL be registered on every computer. Maybe not so bad if it's just for a handful of laptops..
Glenn
_________________________ Actually I am a Rocket Scientist!
I have already create a script who will change network configuration (via netsh command).
But I would that user receives a popup to entrer his provider IP (if not DHCP, and that this IP is wrotten inside my netsh script, afterwards this netsh script is excecuted.
Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
There is no native method in Kix - you'll need to use KixForms, which requires the registration of a DLL on every computer, or use some built-in capability such as that language that contains a "V" and a "B", as Arend was struggling to say.
Maybe a future feature request?? PromptBox() - similar syntax to MessageBox(), but instead of buttons, it has a one-line input field and it returns that string. Just an OK/Cancel button, where Enter/OK return the string, and Cancel retuns nothing.
Glenn
_________________________ Actually I am a Rocket Scientist!
Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
Sweet, guys!
With the MessageBox in Richard's example, the result looks just as annoying as if it were written in wscript! (sorry, I've dealt with too many poorly written wscripts that output 100+ messages, one msgbox at a time, and do so in such a way that you can't terminate the process.)
Still, I'll be adding this to the UDF library for those special situations, and pretend it has nothing to do with that "V" thingy..
Glenn
_________________________ Actually I am a Rocket Scientist!
I saw that thread, but completely missed what/how it was working. This is a neat idea. Definitely keeping this option open for other things. Glad you saw it.
Many thanks for all your answer. Sorry for the delay of mine.
As I have seen, a suggestion is to use VBS, but I would like to stay with Kix. I will try to use inputbox from kixforms. It is not a problem for me to install dlls (autoIt)
I will give feed back to you when I find the time to test it