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
#2
nice share om.. Mantab
tapi bisa gak untuk auto copy saat colok fd.. biar kita bisa curi data temen.. Sinis
[Image: banner1.png]
Reply
#3
Reply
#4

[Image: 467898856656158]
Quote:The closer you look, the less you'll see.
-=[ irc.hacker-newbie.org ]=-
Reply
#5
kok ane gak bisa di copy ke notepad Sedih
Reply
#6
(01-15-2012, 05:52 PM)Nandha689 Wrote: kok ane gak bisa di copy ke notepad Sedih

coba pake contoh softnya,

monggo di download dulu...

[Image: 467898856656158]
Quote:The closer you look, the less you'll see.
-=[ irc.hacker-newbie.org ]=-
Reply
#7
ia ... test dulu pakai contoh soft na

lalu di paste ke notepad gak bisa Sedih
Reply
#8
(01-15-2012, 06:09 PM)Nandha689 Wrote: ia ... test dulu pakai contoh soft na

lalu di paste ke notepad gak bisa Sedih

maap, setelah ane coba pake soft yang udah jadi kgk bisa, tapi ane tadi sebelum build ane jalanin bisa tuh, ada masalah apa yah ? Bingung

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

ya mungkin tuh bisa nya di paste di textbox 2

coba lu buat 1 textbox lagi

lalu klik cmdcopy na

paste kan di textbox 2 Ngakak
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)