almost there...but have a few more queries.
assume i go online on my pc ,and want to know the ip from say a cybercafe....i can write an app to find the ip and then email it ...
is there anyway i can know automatially when i am online that i can run a batch file or something..

so i have 3 tasks here:
1 . detecting when an internet connection starts
2 . finding the ip ( mind u,its a dial up connection )
3 . sending it by email with the new ip

i can figure out 2 and 3 .
what are the ways i can do 1 ?

do i need to firstly make some changes to autoexec.bat so that it runs this app at start up or is there any chance that the app can start ONLY when an internet connecion starts.
"it is the question ...that drives the answer..."
Keep Clicking,