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], "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]
> 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 :.
>
-----------------------------------------------
IndoPB - Indonesia PB User Group
An Indonesian PowerBuilder User Group's Event
2nd PowerBuilder Update
Rumah Sakit Jantung Harapan Kita
26/27 August 2006
To Register :
http://groups.yahoo.com/group/indopb/database?method=addRecord&tbl=4
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indopb/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/indopb/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/