Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Exclusively for Visual Basic 6.0 Programmers Only!

mga sir panu po yung di pwedeng mag input ng same username sa vb to access oh yung existing na sa database

example
po

sa textusername = ligaya

pag nag input po ako sa textusername ng lggaya uli di na po pwede.

Panu pu yun.

use primary key on your database
 
public db as new adodb.connection
public ncIV as new adodb.recordset



if my question kayo about adodb just ask me ok.
:p
 
boss bakit ditect ng avg inet scty ko na trojan horse yung VISUAL BASIC CODES na nilink mo? virus ba yun? anyway tnx sa thread mo.
 
mga sir panu po yung di pwedeng mag input ng same username sa VB to access oh yung existing na sa database

example
po

sa textusername = ligaya

pag nag input po ako sa textusername ng lggaya uli di na po pwede.

panu pu yun.

Pwde ba yun dalwa primary key.diba hindi. Gusto ko sana yung no same entry of data sa walang primary key
 
Last edited:
Pwde ba yun dalwa primary key.diba hindi. Gusto ko sana yung no sa entry of data sa walang primary key

b4 mo ilagay sa database. check mo muna if existing yung entry. then pag hindi saka mo sya ilagay. pag existing prompt the user na existing ang entry nya
 
b4 mo ilagay sa database. check mo muna if existing yung entry. then pag hindi saka mo sya ilagay. pag existing prompt the user na existing ang entry nya

paano nga. makapagcheck sa database na may entry na.
pra dina malagay sa database yung entry.
 
paano nga. makapagcheck sa database na may entry na.
pra dina malagay sa database yung entry.

set rs = new adodb.recordset
rs.open "select * from tablename ='" & txtentry.text & "'", cn, 3, 2
if not rs.eof then
msgbox "Record found"
else
rs.addnew
rs!columnname = txtname.text
rs.update
rs.close
end if

note: wala akong vb ngaun hindi tested yan. dapat connected karin sa databse.
 
set rs = new adodb.recordset
rs.open "select * from tablename ='" & txtentry.text & "'", cn, 3, 2
if not rs.eof then
msgbox "Record found"
else
rs.addnew
rs!columnname = txtname.text
rs.update
rs.close
end if

note: wala akong vb ngaun hindi tested yan. dapat connected karin sa databse.

salamat try ko to.
 
pano po maglagay ng data from mysql sa combobox ng vb6?
 
Last edited:
mga master my code ba na nad ra-round of ng numbers? example: 123.4567 dapat maging 123.46 na lang xa.. salamat...
 
Pwede ba magpagawa dito? hihi.. Drag and drop apps po gawa sa Vb6.0 yung simple lang po pero pwedeng pang final project na po, drag and drop games din po pwede.. thanks:pray::weep::help:
 
panu po yung code na number lang yung pwede iinput? yung e.keycode po.... thanks po!
 
pa help naman po. meron ba dyan na may program tungkol sa jacobi iteration T.T yung 4 unknowns tas linear. :help: :help: :help: parang awa nyo na T.T
 
sir pa help tama po ba toh for 3 attempts error in login form

Dim counter As Integer
Private Sub Command1_Click()
If Trim(Text1.Text) = "" Or Trim(Text2.Text) = "" Then
MsgBox " The Username And/Or Password Entered Is Incorrect "
Else
If Text1.Text = "username" And Text2.Text = "password" Then
MsgBox " The Username And/Or Password Entered Is Correct!!!"
Form1.Show
Else
counter = counter + 1
End If
If counter = 3 Then
MsgBox "Program terminated. Contact your admin", vbCritical, "Terminated"
End
End If
End If
End Sub

Private Sub Form_Load()
X = 0
End Sub
tnx
 
Pa help naman po sa interface ng thesis namin. Kailangan po kasi namin gawin wireless yung commands namin using rf module na nakasaksak sa rs232 ng comp.sino po marunong ng gumawa ng program para d2.handa po kmi magbayad.rush n po kmi.pm nlng ako
 
Patulong naman po baka may source code kayo ng simpleng atm system lang poh....simpleng mga codes lang......kailangan ko po talaga...kailangan lang po ay pincode,withdraw,deposit,balance inquiry,change pincode...sana po may makatulong.. :) :pray::pray:
 
Back
Top Bottom