Page 2 of 2 <12
Topic Options
#197072 - 2009-12-10 09:53 PM Re: change ip address [Re: Arend_]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
In that fashion, at long last:
 Code:
Function IsNumeric($strInput)
  Dim $sc, $rc
  $sc = CreateObject("ScriptControl")
  $sc.Language = "VBScript"
  $rc=$sc.Eval('IsNumeric("'+$strInput+'")')
  If $rc = -1
    $IsNumeric = 1
  Else
    $IsNumeric = 0
  EndIf
EndFunction

Top
#197077 - 2009-12-11 10:00 AM Re: change ip address [Re: Richard H.]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
 Originally Posted By: Richard H.
The InputBox() UDF posted above can be used directly in KiXtart, it just borrows the function from VBS.

I posted it in the UDF section. This is too useful to get "lost" in the post history. At least now it is easy to find. Thanks Richard and Allen for providing the code.
UDF Library » InputBox() - Displays an inputpox and gets the result
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.052 seconds in which 0.026 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org