Komunitas Informatika Aneuk Nanggröe
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Komunitas Informatika Aneuk Nanggröe

Dengan Agama hidup menjadi terarah, dengan Ilmu hidup menjadi mudah dan dengan seni hidup menjadi indah..!!
 
IndeksPortalLatest imagesPencarianPendaftaranLogin

 

 Hide disket pake vfp

Go down 
PengirimMessage
teuku arfan
SD
teuku arfan


Male
Jumlah posting : 40
Age : 38
Lokasi : Panteriek
Registration date : 07.06.08

Hide disket pake vfp Empty
PostSubyek: Hide disket pake vfp   Hide disket pake vfp Icon_minitimeTue Jul 01, 2008 6:14 pm

** Program untuk menghide disket
Declare Integer RegOpenKeyEx In Win32API Integer, String @, Integer, Integer, Integer @
Declare Integer RegCreateKey In Win32API Integer, String @, Integer @
Declare Integer RegCloseKey In Win32API Integer
Declare Integer RegSetValueEx In Win32API Integer, String, Integer, Integer, String, Integer
*2nd simple sample
#define HKEY_CURRENT_USER -2147483647

#define KEY_QUERY_VALUE 4
LnResult=0
lnReserved=0
lnError=RegCreateKey(HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer",@lnResult)
mzTol2 = chr(1)&&+chr(0)+chr(0)+chr(0) &&& hasilnya=||||
mzTolo2 = len(mzTol2) &&=4
=RegSetValueEx(lnResult,"NoDrives",lnReserved,KEY_QUERY_VALUE,mzTol2,mzTolo2)
=RegCloseKey(lnResult)

Silahkan ... lol!
Kembali Ke Atas Go down
 
Hide disket pake vfp
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» Daftar Aneuk MI'03
» Hati2 pake Patch
» Antivirus paan sih yg klian pake....
» Mebalik kata pake java

Permissions in this forum:Anda tidak dapat menjawab topik
Komunitas Informatika Aneuk Nanggröe :: General Category :: Pemrograman :: FoxPro-
Navigasi: