Hi!
I want to know two simple things:
1) How do I get my own IP address?
2) What is better than a timer?
Thank you anyway,
Arie.
Visit: http://www.nip.to/camel2000
Printable View
Hi!
I want to know two simple things:
1) How do I get my own IP address?
2) What is better than a timer?
Thank you anyway,
Arie.
Visit: http://www.nip.to/camel2000
1. I'll let someone who knows where to get this from answer.
2. GetTickCount.
3. Why is your website about camels?
put a winsock control on your form
:)Code:msgbox winsock1.localip
depends what timer you refer to
1. the function timer, gettickcount is more exact, but well it doesn't do the same thing either, gettickcount returns uptime and timer, the time since startup. alternatively querryperformance for very exact time.
2. timer control, the alternative is a better activeX timer, can be found somewhere, or you could use the settimer and killtimer api and create your own event
1. When I do this message there is no IP in the message!
2. What is that GetTickCount?
3. This website isn't about camels at all. not even close!
Thank you,
Arie.
Visit: http://www.nip.to/camel2000
Gettickcount is an api call to user32.dll which returns the amount of milliseconds after startup, almost similar to the timer function, except it returns amount of seconds since midnight.
to use, declare the api in a module public or in a form private:
To use it:Code:Declare Function GetTickCount Lib "kernel32" Alias "GetTickCount" () As Long
A=Gettickcount
as you use a function
About the IP....
There is another way to get my own IP?
Maybe a function? with API?
I don't know, but if you know, tell me!
Thank you, anyway
Arie.
Visit: http://www.nip.to/camel2000
(Cool site. the camel is just
a symbul for the site. )
there's some api here on this thread,
http://forums.vb-world.net/showthrea...threadid=35171