hallo malik,

kalo pake obyek dievent keypress: 
if keyascii = 39 then keyascii = 0

napa? kamu mau mencegah error pada saat user nginput data untuk value pada 
query SQL ya? direplace aja
query = replace(txt, "'", "`") atau terserah deh mau direplace apa, kalo mau 
dikosongin : query = replace(txt, "'", "`")

atau buat function (biat inputan yang memang harus pake ' gak keganti semua, 
ntar malah error!

function replaceChar(str as string) as string
 replaceChar = replace(txt, "'", "`")
end function

ntar query = "insert into table values ( '" & replaceChar(txt.text) & "')"
G'luck!

----- Original Message -----
From: "malik malik" <[EMAIL PROTECTED]>
To: [email protected]
Subject: [indoprog-vb] tanya cara matiiin tombol keyboard petik satu diatas ( ' 
)
Date: Wed, 30 Nov 2005 00:51:54 -0800 (PST)

> 
> hai kawan ada yang tahu cara matiin tombol keyboard utk petik satu 
> diatas ( ' ) gak, kalo ada yang tahu minta source code nya thanks ya
> 
> 
>    dari ismail
> 
>               
> ---------------------------------
>   Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> Untuk berhenti berlangganan kirim email kosong ke : 
> [EMAIL PROTECTED]
> 
> Ikuti juga forum diskusi VB.net dengan
> mengirim email kosong ke [EMAIL PROTECTED]
> 
> Yahoo! Groups Links
> 
> 
> 
> 


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/zCsqlB/TM
--------------------------------------------------------------------~-> 

Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]

Ikuti juga forum diskusi VB.net dengan 
mengirim email kosong ke [EMAIL PROTECTED]
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indoprog-vb/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke