Answer Posted / cnu
Function Random(max,min)
Randomize
Random=Int((max-min+1)*Rnd+min)
End Function
Dim A
A = random(100,1)
msgbox ("The random numer is:" &A)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which operator is used to perform the comparison among 2 operands in the vbscript language?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
In what way program "hello world" you can write in vbscript?
What is vbscript?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
Description.Create
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
How can you destroy an object in vbscript?
Explain the adodb.stream class?
What is the difference between for loop and while loop?
Mention when to use function procedures and what are its characteristics?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
How to Import data from a file (file is on the desktop) to the data table