Jump to content
Sign in to follow this  
mujako

Login Form Drpd Vb6 Connect Ke Ms Sql

Recommended Posts

Assalammualaikum WBT.

- Saya ada buat satu login form menggunakan vb 6, dekat vb form tu ada 2 text box,2 command btn,

- Satu text box utk userid,lagi satu text box utk password

- Satu command btn utk enter,lagi satu command btn utk cencle

Dan saya ada buat satu database table utk login drpd ms sql 2000,

so saya nak tahu macam mana dari form login vb yg saya buat tu bila user enter userid and password, dan kalau betol user masukkan id dan pwd yang sama dalam database, maka form yg seterus nya akan keluar...dan jika user salah key in userid and pwd, maka akan keluar satu mesej "sila masukkan userid atau password yang betul"

Share this post


Link to post
Share on other sites

aku pernah belajar vb 6 tapi tak pernah belajar ms sql...baru try saje2 belajar ms sql 2000 dr tenet...saje nak tambah skill... tapi part nie yg aku dah carik kat tenet tak jejumper tutor dia...so sesaper please

Share this post


Link to post
Share on other sites

OKlah Oklah..sian lak aku nengoknyer..

okies...cite step by step..mende ape yg ko nak sebnarnyer?

ko memang x tau langsung camne nak buat connection ke, x paham camne flow utk login?...

habaq kat ceq betui2...

Share this post


Link to post
Share on other sites

apa yg aku nak tahu ialah....

biler user enter usid,and password dia ... kalo betol akan keluar satu pop up login "member success" ... kalo salah keluar popo up yg tulis sila masukan "userid dan pass yang betul"

mcm mana nak laku kan nye dry.gif

Share this post


Link to post
Share on other sites

apa yg aku nak tahu ialah....

biler user enter usid,and password dia ... kalo betol akan keluar satu pop up login "member success" ... kalo salah keluar popo up yg tulis sila masukan "userid dan pass yang betul"

mcm mana nak laku kan nye  dry.gif

itu yg ko nak tau...yg ko patut tau,ko dah tau?

ko dah tau camne nak buat connection ke database?..ko dah tau camne nak open table?..ko dah tau ko nak guna adodb atau adodc?..ataupun ko dah tau,camne nak add reference,component ataupun gune msgbox?...ko dah tau sume tuh?..

kalo x tau,susah aa nak ajar bagi ko tau,ape yg ko nak tau..huhu,database dah ade ke?

Share this post


Link to post
Share on other sites

Link guna ADODB..

Go to MSDN search on ADO VB 6 .. Kena mention VB 6 pasal nanti keluar .NET confuse plak kor.

Anyway.. kor boleh paste kode yang kor dah tulis and kami boleh la tolong tokok tambah ape ape

To Nage.. Wah.. gambar Raya tahun biler tu tongue.gif

STEP

Share this post


Link to post
Share on other sites

Link guna ADODB..

Go to MSDN search on ADO VB 6 .. Kena mention VB 6 pasal nanti keluar .NET confuse plak kor.

Anyway.. kor boleh paste kode yang kor dah tulis and kami boleh la tolong tokok tambah ape ape

To Nage.. Wah.. gambar Raya tahun biler tu tongue.gif

STEP

yupss..buat cam step cadangkan..

Step..gambar tahun nih, bulan lepas..abg tunang aku nikah...hehe..

Share this post


Link to post
Share on other sites

"abg tunang aku nikah" =

1. Abang kepada tunang kor bernikah?

2. Abang kor bertunang, and kor kawin?

Hehehehee..

STEP

Share this post


Link to post
Share on other sites

"abg tunang aku nikah" =

1. Abang kepada tunang kor bernikah?

2. Abang kor bertunang, and kor kawin?

Hehehehee..

STEP

hehe

Abang kepada tunang aku, bernikah...

Selamat Hari Raya dan Selamat Berkoding

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...