PDA

View Full Version : LAN IP Address



NewsArchive
08-19-2014, 03:03 AM
Hi All,

I'm creating a combined client/server installer for an IP enabled app.
I have everything working fine but would like to add some smarts in
terms of letting the end user know the IP Address of the server on the
LAN.

I can't see any functions within SB that might do it but I could
create a small exe and run that at the end. That is once I have found
a way of determining this in code. Maybe an API.

Anybody have any comments or advice on my approach?

Best Regards,
Geoff

NewsArchive
08-19-2014, 03:03 AM
Hi Geoff,

Perhaps this one?

http://www.lindersoft.com/forums/showthread.php?p=76810#post76810

Friedrich

NewsArchive
08-19-2014, 04:14 AM
Hi Friedrich,

Good grief, I think you just snuck that one in on me. <g>

I had found the GetSystemInfo function but not that parameter.

Thank you very much.

Best Regards,
Geoff

NewsArchive
08-19-2014, 04:14 AM
Hi Geoff,

> Good grief, I think you just snuck that one in on me. <g>
>
> I had found the GetSystemInfo function but not that parameter.
>
> Thank you very much.

<G> You are very welcome :) BTW, I just sent a private email.

Friedrich

NewsArchive
08-19-2014, 04:15 AM
BTW, full demo source code (.sb8) can be found here:

http://www.lindersoft.com/projects/GetIPs.zip

Friedrich

NewsArchive
08-20-2014, 03:21 AM
Thanks Friedrich,

All working now. <g>

Best Regards,
Geoff

NewsArchive
08-22-2014, 01:43 AM
>
> All working now. <g>
>

Perfect :-)

Friedrich