Hello,
randomize is a function in vbscript.
What is the function for vb ?

(I have tried to use that command in the script in web-service of .net,
which used VB and not VBScript).

Thanks :)

Re: randomize by Ray

Ray
Thu Sep 18 11:41:28 CDT 2003

Why would you ask in a vbscript group as opposed to a vb one then I
wonder...

In VB.NET, I believe you do something like:

Dim x as New Random
TheRandomNumber = x.Next

Try posting in a vb.net group.

Ray at work

"Mr. x" <a@b.com> wrote in message
news:u5GNRHgfDHA.892@TK2MSFTNGP12.phx.gbl...
> Hello,
> randomize is a function in vbscript.
> What is the function for vb ?
>
> (I have tried to use that command in the script in web-service of .net,
> which used VB and not VBScript).
>
> Thanks :)
>
>



Re: randomize by Ray

Ray
Thu Sep 18 11:41:47 CDT 2003

Also fix your clock.

Ray at work

"Mr. x" <a@b.com> wrote in message
news:u5GNRHgfDHA.892@TK2MSFTNGP12.phx.gbl...
> Hello,
> randomize is a function in vbscript.
> What is the function for vb ?
>
> (I have tried to use that command in the script in web-service of .net,
> which used VB and not VBScript).
>
> Thanks :)
>
>



Re: randomize by Mr

Mr
Thu Sep 18 17:19:02 CDT 2003

I was looking for my unswer, and I didn't find it,
till I see you do post before me,
that's why I was posting this email twice.

I don't understand what is wrong with my clock !
I am sending this email from Israel, and my clock is on summer clock time
(maybe yours is on winter clock time).
Now this email is sent at my clock : 00:18 after midnight (and I was also
looking at my hand-watch).

Thanks :)

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:epPwBPgfDHA.2576@TK2MSFTNGP11.phx.gbl...
> Also fix your clock.
>
> Ray at work
>
> "Mr. x" <a@b.com> wrote in message
> news:u5GNRHgfDHA.892@TK2MSFTNGP12.phx.gbl...
> > Hello,
> > randomize is a function in vbscript.
> > What is the function for vb ?
> >
> > (I have tried to use that command in the script in web-service of .net,
> > which used VB and not VBScript).
> >
> > Thanks :)
> >
> >
>
>



Re: randomize by Ray

Ray
Thu Sep 18 16:43:16 CDT 2003

Your clock is wrong.
http://www.aspfaq.com/show.asp?id=2257

Ray at work

"Mr. x" <a@b.com> wrote in message
news:%23cz3eoifDHA.3228@tk2msftngp13.phx.gbl...
> I was looking for my unswer, and I didn't find it,
> till I see you do post before me,
> that's why I was posting this email twice.
>
> I don't understand what is wrong with my clock !
> I am sending this email from Israel, and my clock is on summer clock time
> (maybe yours is on winter clock time).
> Now this email is sent at my clock : 00:18 after midnight (and I was also
> looking at my hand-watch).
>
> Thanks :)
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> news:epPwBPgfDHA.2576@TK2MSFTNGP11.phx.gbl...
> > Also fix your clock.
> >
> > Ray at work
> >
> > "Mr. x" <a@b.com> wrote in message
> > news:u5GNRHgfDHA.892@TK2MSFTNGP12.phx.gbl...
> > > Hello,
> > > randomize is a function in vbscript.
> > > What is the function for vb ?
> > >
> > > (I have tried to use that command in the script in web-service of
.net,
> > > which used VB and not VBScript).
> > >
> > > Thanks :)
> > >
> > >
> >
> >
>
>



Re: randomize by Mr

Mr
Thu Sep 18 19:13:30 CDT 2003

Hello,

I am still thinking my clock is OK.
My time is now 2:13 (posting this e-mail) past midnight on 19/9/03, and I
see your post at 23:43 on 18/9/03.
Can you calculate the time that my clock should be right now ?
Is it 1 hour beyond or after you think it should be - if not, so what the
difference to the correct time ?
(1 hour less or more, may be, because of summer clock time).
I don't use the following configuration :
date/time properties -> date/time zone -> automaticlly sync...
because if I used that option (checked), my clock will be as from the
internet (which is not always true) - one hour less or more, and it is
annoying,
because it's always change my clock to wrong time.

I think that in our country in few days/1 - 2 weeks will change the clock to
winter-clock time.

Anyway - for your solution to my first question - Thanks a lot.
Please answer this e-mail, because I curious of my computer's time getting
wrong.
(And what time is yours ?)

Thanks :)

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eKQbf3ifDHA.3076@tk2msftngp13.phx.gbl...
> Your clock is wrong.
> http://www.aspfaq.com/show.asp?id=2257
>
> Ray at work
>
> "Mr. x" <a@b.com> wrote in message
> news:%23cz3eoifDHA.3228@tk2msftngp13.phx.gbl...
> > I was looking for my unswer, and I didn't find it,
> > till I see you do post before me,
> > that's why I was posting this email twice.
> >
> > I don't understand what is wrong with my clock !
> > I am sending this email from Israel, and my clock is on summer clock
time
> > (maybe yours is on winter clock time).
> > Now this email is sent at my clock : 00:18 after midnight (and I was
also
> > looking at my hand-watch).
> >
> > Thanks :)
> >
> > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> > news:epPwBPgfDHA.2576@TK2MSFTNGP11.phx.gbl...
> > > Also fix your clock.
> > >
> > > Ray at work
> > >
> > > "Mr. x" <a@b.com> wrote in message
> > > news:u5GNRHgfDHA.892@TK2MSFTNGP12.phx.gbl...
> > > > Hello,
> > > > randomize is a function in vbscript.
> > > > What is the function for vb ?
> > > >
> > > > (I have tried to use that command in the script in web-service of
> .net,
> > > > which used VB and not VBScript).
> > > >
> > > > Thanks :)
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: randomize by Dr

Dr
Fri Sep 19 12:26:39 CDT 2003

JRS: In article <eR7LcojfDHA.560@tk2msftngp13.phx.gbl>, seen in
news:microsoft.public.scripting.vbscript, Mr. x <a@b.com> posted at Fri,
19 Sep 2003 02:13:30 :-

>Date: Fri, 19 Sep 2003 02:13:30 +0200

That means local time is 2 hours ahead of Greenwich; and I think that
you posted at 02:13:30 local time.

>I am still thinking my clock is OK.
>My time is now 2:13 (posting this e-mail) past midnight on 19/9/03, and I
>see your post at 23:43 on 18/9/03.
>Can you calculate the time that my clock should be right now ?

You should, I think, be 3 hours ahead of Greenwich Mean Time in the
Summer You can check this by visiting www.heavens-above.com, which will
show GMT.

>I think that in our country in few days/1 - 2 weeks will change the clock to
>winter-clock time.

There may be a problem in that Summer Time Rules in Israel seem
unpredictable. I would be pleased to hear what they actually are.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.