Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10

Thread: View IP Adress

  1. #1
    Join Date
    Mar 2006
    Posts
    20

    View IP Adress

    Is it possible to show my ip adress, when i opens the autorun exe..

  2. #2
    Join Date
    Feb 2005
    Posts
    77
    Quote Originally Posted by chrissus
    Is it possible to show my ip adress, when i opens the autorun exe..

    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!

  3. #3
    Join Date
    Oct 2005
    Location
    MI
    Posts
    524
    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)))))))==============================================

  4. #4
    Join Date
    Mar 2006
    Posts
    20
    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...

  5. #5
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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.

    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.'">'

    ?>
    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.

    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

  6. #6
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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

  7. #7
    Join Date
    Mar 2006
    Posts
    20
    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>

  8. #8
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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

  9. #9
    Join Date
    Mar 2006
    Posts
    20
    Yes, the borders around the web object, can these being removed so its flat stylet and matches the page..

  10. #10
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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

Similar Threads

  1. Forcing Thumbnail View
    By jgavin in forum AutoPlay Media Studio 5.0
    Replies: 8
    Last Post: 12-16-2004, 10:10 AM
  2. View content .zip file in list box....
    By lepinski in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 08-17-2004, 03:14 PM
  3. How to view content the specific folder..
    By lepinski in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 03-11-2004, 12:16 AM
  4. View Icon Size
    By imagesbyken in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 08-26-2003, 03:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts