|
-
Oct 12th, 2000, 05:57 AM
#1
Thread Starter
Fanatic Member
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
-
Oct 12th, 2000, 09:39 AM
#2
Frenzied Member
1. I'll let someone who knows where to get this from answer.
2. GetTickCount.
3. Why is your website about camels?
Harry.
"From one thing, know ten thousand things."
-
Oct 12th, 2000, 03:14 PM
#3
Frenzied Member
put a winsock control on your form
Code:
msgbox winsock1.localip
-
Oct 12th, 2000, 03:17 PM
#4
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 12th, 2000, 03:41 PM
#5
Thread Starter
Fanatic Member
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
-
Oct 12th, 2000, 04:43 PM
#6
transcendental analytic
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:
Code:
Declare Function GetTickCount Lib "kernel32" Alias "GetTickCount" () As Long
To use it:
A=Gettickcount
as you use a function
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 13th, 2000, 01:23 PM
#7
Thread Starter
Fanatic Member
Ok, now about the IP...
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. )
-
Oct 13th, 2000, 01:42 PM
#8
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|