Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create Auto Copy With VB6
#1
Online-offline_16 
Halo, ane mw share lagi tentang VB6 yah ? !
mungkin ada yang belum tw maksudnya auto copy , nih download contohnya dulu : Contoh Copy
Cara menggunakan :
. Tulis di textboxnya,
. Pencet copy, dan wala, tulisan di textbox telah tercopy secara otomatis.. ! Piktor

Tutorial membuatnya :
. Buat 1 buah CommandButton, 1 buat TextBox
. Ganti name CommandButton menjadi : cmdCopy
. Ganti name TexBox menjadi : txtTarget
. Hapus tex di texbox
. isikan kode berikut di form :
Code:
Private Sub cmdCopy_Click() Clipboard.SetText txtTarget.Text MsgBox "Text Telah berhasil disalinkan pada clipboard. =)", vbInformation, "UHD" End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) OpenURL "http://www.uhdcode.blogspot.com", Me.hWnd End Sub

. kalo sudah add module , ganti nama module menjadi : ModBrowser . lalu masukin kode sebagai berikut :
Code:
'modul UHD Public 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 Public Sub OpenURL(situs As String, sourceHWND As Long) Call ShellExecute(sourceHWND, vbNullString, situs, vbNullString, vbNullString, 1) End Sub
. Tinggal di hias deh,

Silahkan Menikmati =) Bahagia

kalo ada error comment sini aja, tapi, jangan lupa kasih SS Bahagia

Sumber : sini

[Image: 467898856656158]
Quote:The closer you look, the less you'll see.
-=[ irc.hacker-newbie.org ]=-
Reply


Messages In This Thread
Create Auto Copy With VB6 - by UHD - 01-15-2012, 11:29 AM
RE: Create Auto Copy With VB6 - by ovanIsmycode - 01-15-2012, 12:40 PM
RE: Create Auto Copy With VB6 - by Nandha689 - 01-15-2012, 12:51 PM
RE: Create Auto Copy With VB6 - by UHD - 01-15-2012, 05:33 PM
RE: Create Auto Copy With VB6 - by Nandha689 - 01-15-2012, 05:52 PM
RE: Create Auto Copy With VB6 - by UHD - 01-15-2012, 05:57 PM
RE: Create Auto Copy With VB6 - by Nandha689 - 01-15-2012, 06:09 PM
RE: Create Auto Copy With VB6 - by UHD - 01-15-2012, 06:18 PM
RE: Create Auto Copy With VB6 - by Nandha689 - 01-15-2012, 06:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [vb.net] number auto generator 72Dark 0 78 12-24-2011, 08:32 PM
Last Post: 72Dark
  [ VB ] Poisson "Copy" System Hyda 17 186 12-24-2010, 11:39 PM
Last Post: Hyda

Forum Jump:


Users browsing this thread: 1 Guest(s)