Is it possible to show my ip adress, when i opens the autorun exe..
Professional Software Development Tools
Is it possible to show my ip adress, when i opens the autorun exe..
Originally Posted by chrissus
Yeah, it depends how you want to display it.
You can get the IP-address by using the following function:
lan = System.GetLANInfo();
LanIP = lan.IP;
Now it's up to you how you want to display the address.
Good luck!
No problem... try adding something like this to the "On Startup" event in your project:
Code:Dialog.Message("IP Address","Your system's current IP Address is "..System.GetLANInfo().IP);
Yeah right. Who's the only one here who knows the illegal ninja moves from the government?
()))))))))o)))))))==============================================
Thanks.. but it only shows the lan ip 192.168.1.5..
is it possible to show the ip.. Fx on http://www.showmyip.com is the ip viewed...
I you have a server that will run PHP you can use a script like the following and then query that script from AMS to find your routers IP.
Save the above script to your site as findmyip.php and edit the yoursitehere.com to your site. It works well. Worm had a dll or code that would do something similar.PHP Code:<?php
if (!$ip)
{
$ip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo '<meta **********="refresh" content="0;URL=http://yoursitehere.com/findmyip.php?ip='.$ip.'?host='.$host.'">';
}
?>
Tigg
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Here is a thread that shows how to do it. thanks to sside
http://www.indigorose.com/forums/sho...ghlight=router
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Okay.. i made an account here: http://www.hostedscripts.dk/
is it possible to insert that code:
Code:IP adress: <script type="text/javascript" src="http://www.hostedscripts.dk/basic/basic.php?uid=5502&showip=1"></script>
You should be able to do that in a Web object.
Tigg
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Yes, the borders around the web object, can these being removed so its flat stylet and matches the page..
Yes you can apply a mask to that object. If AMS does not support it directly, Worm's setmask will do the job.
Tigg
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine