whoopy_whale
Journeyman
I tried to generate a random number using the following code.
But I get the following error.
I have a database and the generated number should be less than or equal to the total number of the records in the database.
please help.....
Code:
set util=Server.CreateObject("MSWC.Tools")
num=abs(util.random)
Is there any other method to generate a random number?Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/jobinbasani123/picgallery.asp, line 14
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: *www.microsoft.com/contentredirect.asp.
I have a database and the generated number should be less than or equal to the total number of the records in the database.
please help.....