Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Location
    Allentown, PA.
    Posts
    52

    Huh? Web Link Q: - joining ip + port

    I'm sorry to bother... but I'd really appreciate any assistance.
    I'm trying to join the local ip with a port# to create a weblink, it seems like it should be ez - nut it's really kinda ticking me off =(

    I have the lan Ip address - how can I join this to a port# to create a weblink.

    *I'm trying to connect to a chat server running locally, but the IP may be different on computer the thing I'm making gets installed on - so want the link to change if the Ip changes and the link is port specific also.

    -------------------------------------------------------------------
    tLanInfo = System.GetLANInfo();
    Input.SetText("laninfo", "Local IP Address : "..tLanInfo.IP);
    ?
    ?
    localurl = (laninfo,":2001");
    Web.LoadURL("Web1", ...localurl...);
    -------------------------------------------------------------------

    the weblink should come out looking like:
    http://laninfo: port

    Thnx in advance...

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Hello,

    The attached example does what you want (I think) and then displays the variable that has been 'built' in a label. You can just as easily use the variable to open a url in a web object say.

    Hope that helps.

  3. #3
    Join Date
    Apr 2005
    Location
    Allentown, PA.
    Posts
    52
    Awesome! That's exactly what I was looking for!
    You made it look so easy... thank you again.

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by drgfx
    Awesome! That's exactly what I was looking for!
    You made it look so easy... thank you again.
    That's exactly what I so often think about the stuff that the more advanced members of the forum produce and make freely available to us all - glad it helped though.

Similar Threads

  1. link between 2 web browsers
    By themaestro in forum AutoPlay Media Studio 4.0
    Replies: 16
    Last Post: 02-06-2004, 09:26 AM
  2. Interacting with Embedded Web Objects
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 02:17 PM
  3. Sorry- But need to just link to a web site...
    By Incrocci in forum AutoPlay Media Studio 4.0
    Replies: 2
    Last Post: 03-30-2003, 12:02 PM
  4. HOW TO: Return a Web Browser Object to the Original URL after a Page Jump
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 02-03-2003, 09:18 AM
  5. Video Tutorial - Add a web link to a hotspot
    By Corey in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 09-05-2002, 04:54 AM

Posting Permissions

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