;

Selasa, 17 April 2012

Membuat SMS Gratis Melalui Visual Basic 6

Selasa, 17 April 2012

 
Copy Paste Code Di Bawah ini Ke Dalam Coding Visual Basic 6

Private Declare Function ReleaseCapture Lib "user32" () As Long
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 Const WM_NCLBUTTONDOWN = &HA1
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" ( _
ByVal hwnd As Long, _
ByVal nIndex As Long) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" ( _
ByVal hwnd As Long, _
ByVal nIndex As Long, _
ByVal dwNewLong As Long) As Long
Private Declare Function SetLayeredWindowAttributes Lib "user32" ( _
ByVal hwnd As Long, _
ByVal crKey As Long, _
ByVal bAlpha As Byte, _
ByVal dwFlags As Long) As Long
Private Const GWL_STYLE = (-16)
Private Const GWL_EXSTYLE = (-20)
Private Const WS_EX_LAYERED = &H80000
Private Const LWA_COLORKEY = &H1
Private Const LWA_ALPHA = &H2
Private Declare Sub 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)

Private Sub Command1_Click()
Me.WebBrowser1.Navigate ("http://gilasms.com/widget/inbox.php?hp=") & (Text1.Text)
Text1.SetFocus
End Sub

Private Sub Command2_Click()
Me.WebBrowser1.Navigate ("http://sms.roi5.co.cc/")
End Sub

Private Sub Form_Load()
Me.WebBrowser1.Navigate ("http://sms.roi5.co.cc/")
Me.BackColor = vbCyan
    SetWindowLong Me.hwnd, GWL_EXSTYLE, GetWindowLong(Me.hwnd, GWL_EXSTYLE) Or WS_EX_LAYERED
    SetLayeredWindowAttributes Me.hwnd, vbCyan, 0&, LWA_COLORKEY
    Call SetWindowPos(Me.hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, Flags)
Form1.Height = 9105
Form1.Width = 5130
End Sub
Private Sub Image1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
ReleaseCapture
r% = SendMessage(Me.hwnd, WM_NCLBUTTONDOWN, 2, 0)
End If
End Sub

Private Sub Image1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.ForeColor = &HFF&
Label2.ForeColor = &HFF&
End Sub

Private Sub Label1_Click()
Me.WindowState = vbMinimized
End Sub

Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.ForeColor = &HFF0000
End Sub

Private Sub Label2_Click()
MsgBox "Terima Kasih Telah Menggunakan Program SMS Gratis", vbInformation, "100 Artikel.blogspot.com"
End
End Sub

Private Sub Label2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label2.ForeColor = &HFF0000
End Sub
Private Sub Timer1_Timer()
Label4 = Date
Label3 = Time
End Sub
Atau Download Projectnya Download Now

Terima Kasih Sudah Membaca Artikel Membuat SMS Gratis Melalui Visual Basic 6
NANTIKAN ARTIKEL DARI ROIS PEDIA SECARA GRATIS

Kang Rois - 01.13