mig33 ultra family magelang
Would you like to react to this message? Create an account in a few clicks or log in to continue.
mig33 ultra family magelang

mig33 of ultra family magelang community
 
IndeksGalleryLatest imagesPencarianPendaftaranLogin
< class="" height="25">
Pencarian



Display results as :

Rechercher Advanced Search
Login
Username:
Password:
Login otomatis: 
:: Lupa password?
Latest topics
» nich trik gprs na byar murah yang pake XL
Membuat Controler Migpro Sederhana Icon_minitimeSat Jul 18, 2009 2:57 am by faisolamir

» ngiseppppp.....
Membuat Controler Migpro Sederhana Icon_minitimeSat Jul 18, 2009 2:49 am by faisolamir

» MLEBET ROOM PI MBOTEN KETOK
Membuat Controler Migpro Sederhana Icon_minitimeSat Jul 18, 2009 2:33 am by faisolamir

» PASSWORD TESTER V-1.05
Membuat Controler Migpro Sederhana Icon_minitimeSat Feb 07, 2009 6:46 pm by andi_solo

» ULTRA ADALAH.......
Membuat Controler Migpro Sederhana Icon_minitimeThu Jan 22, 2009 12:22 am by joe

» ..:: Speed Up your Browsing with Symbian Phone ::..
Membuat Controler Migpro Sederhana Icon_minitimeFri Sep 05, 2008 7:11 pm by dam3

» warung remang ebk
Membuat Controler Migpro Sederhana Icon_minitimeMon Aug 11, 2008 6:47 pm by cloud_near

» ::::::::::::::rEm0vEr_rMs::::::::::::::
Membuat Controler Migpro Sederhana Icon_minitimeSat Aug 09, 2008 3:59 pm by alien

» -_-_-_-_-_-_-_SJboySpecialEdition_-_-_-_-_-_-_-_-
Membuat Controler Migpro Sederhana Icon_minitimeSat Aug 09, 2008 3:53 pm by alien

» UNBANNED EMOTS FLOODER
Membuat Controler Migpro Sederhana Icon_minitimeSat Aug 09, 2008 3:50 pm by alien

Forum
< class="" height="25"> Your first subject
Membuat Controler Migpro Sederhana Icon_minitimeFri Jul 11, 2008 3:44 am by dam3
Take some time to read this information before starting to use the administration of your forum:


How to access your administration panel ?
In the top menu, click on Log In, a new page is displayed. Fill in the username "admin" and the password you have choosen during your registration. If you have lost or forgot it, click here. Once you are logged in, click on the link "Administration Panel" at …

Comments: 0
Affiliates
free forum

 

 Membuat Controler Migpro Sederhana

Go down 
3 posters
PengirimMessage
dam3
Admin
Admin
dam3


Male
Jumlah posting : 67
Age : 39
Lokasi : ams cell,jl.sarwo edi.magelang
Registration date : 11.07.08

Membuat Controler Migpro Sederhana Empty
PostSubyek: Membuat Controler Migpro Sederhana   Membuat Controler Migpro Sederhana Icon_minitimeFri Jul 11, 2008 4:47 pm

Controler migpro

source code from vortex n edited by phatp

bahan : vb 6 (microsoft visual basic 6),dan migpro

Twisted Evil Langkah pertama buka vb >> buat sebuah project

Membuat Controler Migpro Sederhana 113


Buat 6 buah text box, dan 8 buah command button seperti gmbr di bawah

Membuat Controler Migpro Sederhana 213


Twisted Evil Langkah kedua coding (memfungsikan button dan text box yg telah dibuat)

pilih view code kemudian copy dan paste declarasi code berikut

Code:
Private filo As New FileSystemObject
Private sete As TextStream
Private strName As String
Private Declare Function SendMessage Lib "user32" _
Alias "SendMessageA" ( _
ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
lParam As Any) As Long
Private Declare Function FindWindow Lib "user32" _
Alias "FindWindowA" ( _
ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long
Const WM_CLOSE = &H10
Private Declare Function ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As _
String, ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Declare Function SetWindowPos Lib "user32" _
(ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, _
ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Const HWND_TOPMOST = -1
Const HWND_NOTOPMOST = -2
Const SWP_NOSIZE = &H1
Const SWP_NOMOVE = &H2


Code diatas adalah deklarasi untuk fungsi yang mau kita buat

Membuat Controler Migpro Sederhana 313


Dibawahnya
kita buat sebuah deklarasi code lg yg berfungsi untuk menyimpan file
dari text box dan menyimpanya ke dlm file mig.ini

Code:
Private Sub savingData(ByVal strFileName As String)
strFileName = App.Path & "\mig.ini"
Set sete = filo.CreateTextFile(strFileName, True)
With sete
.WriteLine ("[migpro edited by phatp]")
.WriteLine ("p01=") & Text1.Text
.WriteLine ("pass=") & Text2.Text
.WriteLine ("room=") & Text3.Text
.WriteLine ("kick=") & Text4.Text
.WriteLine ("lol=") & Text5.Text
.WriteLine ("address=") & Text6.Text
.Close
End With
End Sub


dibawah adalah code untuk menyimpan ke dlm file data.txt

Code:
Private Sub saveData(ByVal strFileName As String)
strFileName = App.Path & "\data.txt"
Set sete = filo.CreateTextFile(strFileName, True)
With sete
.WriteLine Text1.Text
.WriteLine Text2.Text
.WriteLine Text3.Text
.WriteLine Text4.Text
.WriteLine Text6.Text
.Close
End With
End Sub



Kemudian pilih view object
dobel klik pada button "save" dan isikan code seperti berikut

Code:
Private Sub Command1_Click()
savingData strFileName
saveData strFileName
End Sub



dobel klik pada button "load" dan isikan code seperti berikut

Code:
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
With filo
strFileName = App.Path & "\data.txt"
Set sete = .OpenTextFile(strFileName, ForReading)
With sete
Text1.Text = Text1.Text & .ReadLine
Text2.Text = Text2.Text & .ReadLine
Text3.Text = Text3.Text & .ReadLine
Text4.Text = Text4.Text & .ReadLine
Text6.Text = Text6.Text & .ReadLine
End With
End With
End Sub


dobel klik pada button "login" dan isikan code seperti berikut

Code:
Private Sub Command3_Click()
savingData strFileName
Shell App.Path & "\phat01.exe", vbNormalFocus
End Sub


dobel klik pada button "close" dan isikan code seperti berikut

Code:
Private Sub Command4_Click()
Dim lngHandle As Long
lngHandle = FindWindow(vbNullString, "phat01")
SendMessage lngHandle, WM_CLOSE, 0, 0
End Sub



dobel klik pada button "enter" dan isikan code seperti berikut

Code:
Private Sub Command5_Click()
savingData strFileName
Dim kBd As New Class1
AppActivate "phat01"
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (keyReturn)
End Sub


dobel klik pada button "leave" dan isikan code seperti berikut

Code:
Private Sub Command5_Click()
Dim kBd As New Class1
AppActivate "phat01"
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyDown)
kBd.PressKeyVK (keyReturn)
kBd.PressKeyVK (KeyUp)
End Sub


dobel klik pada button "kick" dan isikan code seperti berikut

Code:
Private Sub Command5_Click()
savingData strFileName
Dim kBd As New Class1
AppActivate "phat01"
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyDown)
kBd.PressKeyVK (KeyDown)
kBd.PressKeyVK (keyReturn)
End Sub


dobel klik pada button "send" dan isikan code seperti berikut

Code:
Private Sub Command5_Click()
savingData strFileName
Dim kBd As New Class1
AppActivate "phat01"
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyUp)
kBd.PressKeyVK (KeyDown)
kBd.PressKeyVK (KeyDown)
kBd.PressKeyVK (KeyDown)
kBd.PressKeyVK (keyReturn)
End Sub



dobel klik pada button "save ip" dan isikan code seperti berikut

Twisted Evil Langkah ketiga menambahkan sebuah module, ini berfungsi untuk mendeklarasikan perintah menekan tombol dlm migpro

Pilih Project >> add Class module >> open
dan isikan atau copy paste code di bawah ini

Code:
Option Explicit

Private Declare Function MapVirtualKey Lib "user32" Alias _
"MapVirtualKeyA" (ByVal wCode As Long, _
ByVal wMapType As Long) As Long

Private Declare Function VkKeyScan Lib "user32" Alias "VkKeyScanA" (ByVal _
cChar As Byte) As Integer

Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _
bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As _
Long) As Integer

Private Const KEYEVENTF_EXTENDEDKEY = &H1
Private Const KEYEVENTF_KEYUP = &H2

Public Enum enumKeys
keyBackspace = &H8
keyTab = &H9
keyReturn = &HD
keyShift = &H10
keyControl = &H11
keyAlt = &H12
keyPause = &H13
keyEscape = &H1B
keySpace = &H20
keyEnd = &H23
keyHome = &H24
keyLeft = &H25
KeyUp = &H26
keyRight = &H27
KeyDown = &H28
keyInsert = &H2D
keyDelete = &H2E
keyF1 = &H70
keyF2 = &H71
keyF3 = &H72
keyF4 = &H73
keyF5 = &H74
keyF6 = &H75
keyF7 = &H76
keyF8 = &H77
keyF9 = &H78
keyF10 = &H79
keyF11 = &H7A
keyF12 = &H7B
keyNumLock = &H90
keyScrollLock = &H91
keyCapsLock = &H14
End Enum


'Presses the single key represented by sKey
Public Sub PressKey(sKey As String, Optional bHold As Boolean, Optional _
bRelease As Boolean)

Dim nVK As Long
nVK = VkKeyScan(Asc(sKey))

If nVK = 0 Then
Exit Sub
End If

Dim nScan As Long
Dim nExtended As Long

nScan = MapVirtualKey(nVK, 2)
nExtended = 0
If nScan = 0 Then
nExtended = KEYEVENTF_EXTENDEDKEY
End If
nScan = MapVirtualKey(nVK, 0)

Dim bShift As Boolean
Dim bCtrl As Boolean
Dim bAlt As Boolean

bShift = (nVK And &H100)
bCtrl = (nVK And &H200)
bAlt = (nVK And &H400)

nVK = (nVK And &HFF)

If Not bRelease Then
If bShift Then
keybd_event enumKeys.keyShift, 0, 0, 0
End If
If bCtrl Then
keybd_event enumKeys.keyControl, 0, 0, 0
End If
If bAlt Then
keybd_event enumKeys.keyAlt, 0, 0, 0
End If

keybd_event nVK, nScan, nExtended, 0
End If

If Not bHold Then
keybd_event nVK, nScan, KEYEVENTF_KEYUP Or nExtended, 0

If bShift Then
keybd_event enumKeys.keyShift, 0, KEYEVENTF_KEYUP, 0
End If
If bCtrl Then
keybd_event enumKeys.keyControl, 0, KEYEVENTF_KEYUP, 0
End If
If bAlt Then
keybd_event enumKeys.keyAlt, 0, KEYEVENTF_KEYUP, 0
End If
End If

End Sub

'Loop through a string and calls PressKey for each character (Does not
' parse strings like SendKeys)
Public Sub PressString(ByVal sString As String, Optional bDoEvents As Boolean = True)

Do While sString <> ""
PressKey Mid(sString, 1, 1)

Sleep 20
If bDoEvents Then
DoEvents
End If

sString = Mid(sString, 2)
Loop

End Sub

'Presses a specific key (this is used for keys that don't have a
' ascii equilivant)
Public Sub PressKeyVK(keyPress As enumKeys, Optional bHold As Boolean, _
Optional bRelease As Boolean, Optional bCompatible As Boolean)

Dim nScan As Long
Dim nExtended As Long

nScan = MapVirtualKey(keyPress, 2)
nExtended = 0
If nScan = 0 Then
nExtended = KEYEVENTF_EXTENDEDKEY
End If
nScan = MapVirtualKey(keyPress, 0)

If bCompatible Then
nExtended = 0
End If

If Not bRelease Then
keybd_event keyPress, nScan, nExtended, 0
End If

If Not bHold Then
keybd_event keyPress, nScan, KEYEVENTF_KEYUP Or nExtended, 0
End If

End Sub

'Returns (in the boolean variables) the status of the various Lock keys
Public Sub GetLockStatus(bCapsLock As Boolean, bNumLock As Boolean, _
bScrollLock As Boolean)

bCapsLock = GetKeyState(enumKeys.keyCapsLock)
bNumLock = GetKeyState(enumKeys.keyNumLock)
bScrollLock = GetKeyState(enumKeys.keyScrollLock)

End Sub



Membuat Controler Migpro Sederhana 413


Twisted Evil Langkah keempat menambahkan componen agar project bisa jalan

Pilih Project >> References >> trus cari Microsoft Scripting Runtime dan centang dah

Membuat Controler Migpro Sederhana 511


Twisted Evil Langkah terakhir save project as
Kamu bisa simpan project didirektori apa aja atau folder apa aja

Twisted Evil note : jangan lupa menambahkan migpro editan yg bisa km donlot di link berikut



Twisted Evil Hasil akhir dari project

Membuat Controler Migpro Sederhana 610


Copy phat01.exe ke folder project kamu trs jalankan project

Kamu juga bisa donlot project jadinya di link di bawah ini

Kembali Ke Atas Go down
http://mig33ultrafamily.heavenforum.com
la_pen_doz
helpers
helpers
la_pen_doz


Male
Jumlah posting : 23
Age : 38
Lokasi : magelang pojok kidul
Registration date : 11.07.08

Membuat Controler Migpro Sederhana Empty
PostSubyek: ..   Membuat Controler Migpro Sederhana Icon_minitimeSat Jul 12, 2008 4:02 pm

pak dunlut vb dmn ya au pengen belajar dlu bahasa pemrograman... piss
Kembali Ke Atas Go down
http://endoz.peperonity.com
kuro_the_killer
helpers
helpers
kuro_the_killer


Male
Jumlah posting : 55
Age : 34
Lokasi : magelang-jogja-magelang ah mbuh mumet tko manut
Registration date : 11.07.08

Membuat Controler Migpro Sederhana Empty
PostSubyek: Re: Membuat Controler Migpro Sederhana   Membuat Controler Migpro Sederhana Icon_minitimeTue Jul 15, 2008 9:43 am

<<pgen ajar pi ga muudeng jhe bbb
Kembali Ke Atas Go down
http://mig33ultrafamily.heavenforum.com/
dam3
Admin
Admin
dam3


Male
Jumlah posting : 67
Age : 39
Lokasi : ams cell,jl.sarwo edi.magelang
Registration date : 11.07.08

Membuat Controler Migpro Sederhana Empty
PostSubyek: Re: Membuat Controler Migpro Sederhana   Membuat Controler Migpro Sederhana Icon_minitimeSun Jul 20, 2008 1:29 pm

oke aku kasih link nya mas pen siap
Kembali Ke Atas Go down
http://mig33ultrafamily.heavenforum.com
Sponsored content





Membuat Controler Migpro Sederhana Empty
PostSubyek: Re: Membuat Controler Migpro Sederhana   Membuat Controler Migpro Sederhana Icon_minitime

Kembali Ke Atas Go down
 
Membuat Controler Migpro Sederhana
Kembali Ke Atas 
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
mig33 ultra family magelang :: special menu of mig33 :: applikasi mig33 :: trick and codes-
Navigasi: