untuk sample dapetin IP address bisa diliat di http://eric.aling.tripod.com/PB/tips/pbtip14.htm
_____ From: frs161179 [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 9:03 AM To: [email protected] Subject: [indopb] Re: How to Read IP Address and Computer Name Gw udeh coba Function GetComputerName pake Library "Kernel32" yg hardest kirim, tapi cuman dapat computer name aja ada yg tau untuk dapet ip address-nya ga? Kalo pake cara getregistry yg rajiman doang kirim, masalahnya gw find di registry untuk ip dan ternyata rata2 yg folder yg memuat TCPIP itu namanya seperti ini : HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001 - \Services\Tcpip\Parameters\Interfaces\{22119E5E-0DB0-41E9-B0EF- E88D9FD7CB0E} - HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001 \Services\Tcpip\Parameters\Interfaces\{FDB30A76-44DD-450B-B38B- 4A7B13B5B3D2} Rajiman, kalo boleh tanya, apakah FDB30A76-44DD-450B-B38B- 4A7B13B5B3D2},{22119E5E-0DB0-41E9-B0EF-E88D9FD7CB0E}, merupakan folder yg valid untuk semua PC? Soalnya kalo engga, berarti susah dong pake GetRegistry untuk ambil IP Address? Anyway untuk computer name sudah bisa memang, thanks rajiman Help untuk yg IP Address ya, curious juga ne Thanks guys ^_^ --- In [EMAIL PROTECTED] <mailto:indopb%40yahoogroups.com> com, "h4rd3st" <[EMAIL PROTECTED]> wrote: > > [Local External Function] > Function boolean GetComputerName (ref string lpBuffer, ref ulong nSize) Library "KERNEL32.DLL" > Alias for "GetComputerNameA" > > > [cb_1.clicked()] > string ls; ulong ul=100 > GetComputerName(ls, ul) > messagebox('', ls) > > > ----- Original Message ----- > From: Parwanto @[EMAIL PROTECTED] > To: [EMAIL PROTECTED] <mailto:indopb%40yahoogroups.com> com > Sent: Tuesday, February 13, 2007 5:21 PM > Subject: [indopb] How to Read IP Address and Computer Name > > > Dear indopb-ers > > I'm the begginer of Power Builder Programming and > I want to read My IP and computer names, I try to using help, > but I can't find it, I hope all friends here can help me... > > Best Regards > > .: Parwanto :. > __________ NOD32 2058 (20070213) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com __________ NOD32 2058 (20070213) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com
