dekzorro 0 Report post Posted December 16, 2004 aku rasa isu pasal autoload tu dah ader sblm ni.. tapi aku tak dapat carikk..kalu korang tau... post la kat aku.autload tu camni.. aku nak program yg aku buat tu (cthnye) akan diaktifkan bila komputer reboot (start win). jadi tak yah la aku nak klik ikon bila nak bukak program tuh.yg kedua nih mungkin takde lagi dlm forum... aku nak program nih jadi mcm invisible program..mcm spamware tu la.. (tp ni bkn utk spamware..ni auto shutdown).maknanyer..bila ON PC..autoshutdown akan aktif automatik dan org tak tau yg program tu dah aktif. Quote Share this post Link to post Share on other sites
mohdfadly 24 Report post Posted December 17, 2004 ko nak buat dalam language aper ni? Quote Share this post Link to post Share on other sites
dekzorro 0 Report post Posted December 18, 2004 guna VB6.0 -- cenang skit Quote Share this post Link to post Share on other sites
alternat0r 0 Report post Posted December 18, 2004 Berikut adalah sample VB Project:Project1:Download 1Description: Project 1 ni menunjukan contoh bagaimana hendak membuat Windows Startup menggunakan Registry. So, tentukan kedudukan dan nama file dan run the program.Project2:Download 2Description: Project 2 ni menunjukan bagaimana hendak mengaktifkan program secara invisible dan akan serta merta shutdown apabila program di execute. Quote Share this post Link to post Share on other sites
Ancient One 3 Report post Posted December 19, 2004 invisible programdalam konteks aper?? gui nyer yang invisible ker, process nyer yang invisible ker.. Quote Share this post Link to post Share on other sites
dekzorro 0 Report post Posted December 19, 2004 dalam konteks aper?? gui nyer yang invisible ker, process nyer yang invisible ker..← Quote Share this post Link to post Share on other sites
alternat0r 0 Report post Posted December 19, 2004 mcm ni.. bila program tu dah outoload masa Win start, skrin program tu tak akan keluar kat monitor..tapi program tu mmg sdg run.Kalau macam ni kau boleh download macam aku bagi link kat atas tu. Tapi sekiranya kau nak hide program tu dari program task manager bolehlah menggunakan call API RegisterServiceProcess pada 'Kernel32.dll'. Walaubagaimanapun ia hanya sesuai untuk Win9x/Me. Sekiranya program tu running pada Windows XP adalah sesuai sekiranya guna function CreateService. Rujuk MSDN untuk maklumat lanjut. Other way to hide is using illegal way - Memory Injection (not recommend).satu lagi, walaupun program tu tak nampak, tapi ikon program tu ada kat tepi bar yg ada jam tu (tak ingat lak nama bar tu). jadi, bila admin ke, atau sesapa yg nak edit time kat TIMER tu, dia bole klik kat ikon tu dan edit time. tu jeeeerrr.. camne lak nak buat supaya ikon pi duduk kat tepi jam tu??? need help again..tq all Untuk letakan icon pada SystemTray bolehlah rujuk pada link berikut: PSCKat situ byk contoh code so, rajin2lah mencarik. Quote Share this post Link to post Share on other sites
dekzorro 0 Report post Posted December 21, 2004 Alternator, tq bebanyak sbb Bantu aku buat visible program tuh. Aku skang ni Tanya kat ko aper fungsi coding² ni? Apakah tujuannya? Tu jeeee…Apa fungsi coding ni…ada update kat registry ke?Private Sub Form_Load()SetKeyValue HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Run", "KuihRaya", "C:\kuihraya.exe", REG_SZEnd Subni pulak utk aper???Public Sub SetKeyValue(ByVal hKey As Long, sKeyName As String, sValueName As String, vValueSetting As Variant, lValueType As Long)Dim lRetVal As LonglRetVal = RegOpenKeyEx(hKey, sKeyName, 0, KEY_ALL_ACCESS, hKey)lRetVal = SetValueEx(hKey, sValueName, lValueType, vValueSetting)RegCloseKey (hKey)End SubPublic Function SetValueEx(ByVal hKey As Long, sValueName As String, lType As Long, vValue As Variant) As LongDim lValue As LongDim sValue As StringSelect Case lTypeCase REG_SZ sValue = vValue & Chr$(0) SetValueEx = RegSetValueExString(hKey, sValueName, 0&, lType, sValue, Len(sValue))Case REG_DWORD lValue = vValue SetValueEx = RegSetValueExLong(hKey, sValueName, 0&, lType, lValue, 4)End SelectEnd FunctionFrom modulesYang ini mmg kena ada ker kalau nak coding registeryPublic Const REG_SZ As Long = 1Public Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As LongPublic Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As LongPublic Declare Function RegSetValueExString Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByVal lpValue As String, ByVal cbData As Long) As LongPublic Declare Function RegSetValueExLong Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, lpValue As Long, ByVal cbData As Long) As LongPublic Const HKEY_LOCAL_MACHINE = &H80000002Public Const KEY_ALL_ACCESS = &H3F Quote Share this post Link to post Share on other sites
Ancient One 3 Report post Posted December 24, 2004 Private Sub Form_Load() SetKeyValue HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Run", "KuihRaya", "C:\kuihraya.exe", REG_SZ End Sub generally, tambah entry ke registry. contoh kat atas tambah entry kepada windows startup list so program C:\kuihraya.exe akan run maser windows start. yang kaat bawah pun sama gak.. akses registry.. Public Const REG_SZ As Long = 1 Public Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long Public Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long Public Declare Function RegSetValueExString Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByVal lpValue As String, ByVal cbData As Long) As Long Public Declare Function RegSetValueExLong Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, lpValue As Long, ByVal cbData As Long) As Long Public Const HKEY_LOCAL_MACHINE = &H80000002 Public Const KEY_ALL_ACCESS = &H3F tu constants dan declaration yang kena ader kalau nak guner win32 api (in this case registry functions from advapi32.dll) dalam vb programs. Quote Share this post Link to post Share on other sites