Hello all,
Saya pemula di PB, background saya di VB6
Gimana caranya menggunakan fungsi tsb :
FUNCTION long GetVolumeInformation &
(string lpRootPathName, REF string lpVolumeNameBuffer, long nVolumeNameSize,
&
REF long lpVolumeSerialNumber, REF long lpMaximumComponentLength, &
REF long lpFileSystemFlags, REF string lpFileSystemNameBuffer, &
long nFileSystemNameSize) &
LIBRARY "Kernel32.dll" ALIAS FOR "GetVolumeInformationA"
Fungsi tsb saya copy ke GLOBAL EXTERNAL FUNCTION di W_1 atau di level
APPLICATION ?
trus kemudian di W_1 ada tombol cb_5 :
String ls_volbuffer, ls_fsname
Long ll_serial, ll_MaxCompLength, ll_FileSystemFlags, ll_rtn
ls_volbuffer = Space(255)
ls_fsname = Space(255)
ll_maxCompLength = 0
ll_FileSystemFlags = 0
ll_rtn = GetVolumeinformation("C:\", ls_volbuffer, 255, ll_serial, &
ll_MaxCompLength, ll_FileSystemFlags , ls_fsname, 255)
messagebox("",ll_rtn)
Pada saat run, PB bilang fungsi GetVolumeinformation tdk di kenal, why?
Mohon pencerahannya
Best Regards & thanks in advance
Steven
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
[Non-text portions of this message have been removed]
-----------------------------------------------
IndoPB - Indonesia PB User Group
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe,send a blank message to: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indopb/
<*> 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/