Page 1 of 1

Posted: Sun Nov 03, 2002 5:43 pm
by BackupUser
Restored from previous forum. Originally posted by AngelNox.

Hello !!!
I would not like to indicate knows address can myself the IP address for the internet (PPP) letting, unfortunately I like I this.
Can someone help me???

MFG
AngelNox

Posted: Sun Nov 03, 2002 8:32 pm
by BackupUser
Restored from previous forum. Originally posted by AngelNox.

Can someone say like I with IPAdressGadget would go around me?

I Hope you can Help me ?
MFG
AngelNox

Posted: Sun Nov 03, 2002 8:41 pm
by BackupUser
Restored from previous forum. Originally posted by Sweenie.

You haven't by any chance translated this question from another language with babelfish.altavista.com ?

Because your question is VERY confusing.

Posted: Sun Nov 03, 2002 8:48 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

I'd love to help but don't know what the hell you're saying. :cry:


PB - Registered PureBasic Coder

Posted: Sun Nov 03, 2002 10:05 pm
by BackupUser
Restored from previous forum. Originally posted by cor.

I think he must know the IP address of which he is connected to the Internet.



Using Windows 98 SE
Registered PB version : 3.40 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com

Posted: Sun Nov 03, 2002 10:05 pm
by BackupUser
Restored from previous forum. Originally posted by AngelNox.
Originally posted by AngelNox

Hello !!!
SORRY I have Translate the Massage !!!

I have a Problem, I search to a Example for IPAdressGadget !!!

MFG
AngelNox

Posted: Sun Nov 03, 2002 11:32 pm
by BackupUser
Restored from previous forum. Originally posted by TheBeck.

I think he want's to find the IP address of the system his program is running on. :)

Posted: Sun Nov 03, 2002 11:45 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> I think he want's to find the IP address of the system his program is running on.

Oh... in that case, it's all in the manual. But try this for a start:

Code: Select all

InitNetwork() : ExamineIPAddresses()
Debug IPString(NextIPAddress())
PB - Registered PureBasic Coder

Posted: Mon Nov 04, 2002 11:13 am
by BackupUser
Restored from previous forum. Originally posted by Berikco.
Originally posted by PB

I'd love to help but don't know what the hell you're saying. :cry:

Regards,

Berikco

http://www.benny.zeb.be

Posted: Mon Nov 04, 2002 7:26 pm
by BackupUser
Restored from previous forum. Originally posted by AngelNox.

Hello PB !!!
Thanks for your Answare I have the IP from the LOCAL Network this is ok , I will have the Network IP Adress from the PPP Adapter for the Internet and now my Programm This is for the LOCAL Network LAN

InitNetwork()
ExamineIPAddresses()
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)

I hope you can help me :)

Posted: Mon Nov 04, 2002 8:29 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.
Originally posted by AngelNox
MessageRequester("Deine IP-Adresse"," " +String$, 0)
Hi AngelNox,
Looks like you are German...
Maybe just ask question in your language, many German speaking ppl here.

Regards,

Berikco

http://www.benny.zeb.be

Posted: Mon Nov 04, 2002 9:54 pm
by BackupUser
Restored from previous forum. Originally posted by Shawn.
Originally posted by AngelNox

Hello PB !!!
Thanks for your Answare I have the IP from the LOCAL Network this is ok , I will have the Network IP Adress from the PPP Adapter for the Internet and now my Programm This is for the LOCAL Network LAN

InitNetwork()
ExamineIPAddresses()
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)

I hope you can help me :)
You must call NextIPAddress() again to iterate through the entire list of IP addresses.

Code: Select all

InitNetwork() 
ExamineIPAddresses() 
NextIP.l = NextIPAddress()
While NextIP.l  0
  MessageRequester("Next IP Address",IPString(NextIP.l), 0)
  NextIP.l = NextIPAddress()
Wend

or

Code: Select all

InitNetwork() 
ExamineIPAddresses() 
IPAdresse = NextIPAddress() 
String$ = IPString(IPAdresse) 
MessageRequester("Deine IP-Adresse"," " +String$, 0)
IPAdresse = NextIPAddress() 
String$ = IPString(IPAdresse) 
MessageRequester("Deine IP-Adresse"," " +String$, 0)

Hope this helps.

Shawn

Posted: Mon Nov 04, 2002 10:19 pm
by BackupUser
Restored from previous forum. Originally posted by AngelNox.

Thank You Shawn !!!!!

Berikco Thanks for your Answare !!!! :(

MFG
AngelNox

Posted: Tue Nov 05, 2002 4:01 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.

Well, i'm not English or German.....could not understand what you where asking...sorry :cry:

Regards,

Berikco

http://www.benny.zeb.be