Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
57% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
2 Endorsements
Ranked #621
Ranked #4K
~3K People Reached
Favorite Forums
Member Avatar for masterfact18

what's the code for print button ? ? i got one form and i need to print it but i dont know what's the code for that... help please...

Member Avatar for rishif2
0
87
Member Avatar for masterfact18

what i want is to put a range in the textboxes like 1-100 and will not accept if it is greater than 100 or a negative number... hoping for your response...

Member Avatar for tinstaafl
0
180
Member Avatar for masterfact18

im creating a simple calculator and i dont know how to disable letter in the textbox.. can someone help me please...newbie here....BTW im using VB6...

Member Avatar for AndreRet
0
436
Member Avatar for masterfact18

!! i was trying to create a simple grading system but my project doesnt work it always shows the last if statement and ignore the other statement...please help here's my code...can someone please tell me what's wrong coz i dont know how to use if/elseif/else statement... newbie here...please help Private …

Member Avatar for tinstaafl
0
285
Member Avatar for masterfact18

hi everyone... my problem is i got 2 command button named command1 and command2..what i want to happen is when command2 is click the function of command1 will work... can someone please help me...

Member Avatar for masterfact18
0
225
Member Avatar for jemartalaban_1

hi, im using vb6 and i dont know how to work on a commandbutton that will trigger to another form. For example, i have a commandbutton in form1 and when i click it, there will be an effect in form2. Example, form1 1+1 and the answer will go to form2. …

Member Avatar for AndreRet
0
196
Member Avatar for masterfact18

i would like to know hot to put a limited input in a textbox.. situation is like this i put a textbox in a form then what i would like to happen is to accept only 2 number and will not accept the following number that is being pressed...please help... …

Member Avatar for masterfact18
0
134
Member Avatar for masterfact18

[CODE]Private Sub cmdDeduct_Click() Dim sConn As String, xQuantity As Integer, xStockTotal As Integer, xPre As Integer Set oConn = New ADODB.Connection Set rsDeduct = New ADODB.Recordset sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\inventory.mdb;Persist Security Info=False" oConn.Open sConn If LenB(cmbItemName.Text) = 0 Then MsgBox "You have to select an item …

Member Avatar for AndreRet
1
91
Member Avatar for masterfact18

[CODE] Private Sub cmdAdd_Click() Dim sConn As String, xQuantity As Integer, xStockTotal As Integer Set oConn = New ADODB.Connection Set rsAdd = New ADODB.Recordset sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\inventory.mdb;Persist Security Info=False" oConn.Open sConn If LenB(cmbItemName.Text) = 0 Then MsgBox "You have to select an item from the …

Member Avatar for AndreRet
0
189
Member Avatar for masterfact18

problem is in form5 when i add stock it didn't refresh... just download my attach file "datagridprob.zip" and try to correct my code in "add_stock form" then if you got it right kindly post your code here...thanks...

Member Avatar for masterfact18
0
162
Member Avatar for masterfact18

[CODE] Private Sub Command1_Click() Dim xSold As Integer Set db = New ADODB.Connection db.CursorLocation = adUseClient db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\inventory.mdb" Set rs = New ADODB.Recordset rs.Open "SELECT * FROM storage WHERE Current Stock = '" & Text1.Text & "'", db, adOpenStatic, adLockOptimistic If rs.BOF = True …

Member Avatar for AndreRet
0
168
Member Avatar for abelingaw

[URL="http://www.daniweb.com/forums/thread341763.html"]http://www.daniweb.com/forums/thread341763.html[/URL] Regards to that, i also wanted the system not to be able to delete Administrator Accounts via my code also posted there. Here's the code again: [CODE] Private Sub cmdDelete_Click() ' On Error GoTo err Dim intYN intYN = MsgBox("You are about to delete a record." & vbCrLf & …

Member Avatar for AndreRet
1
140
Member Avatar for masterfact18

...here is the scenario...in my inventory system i have database and it's fields are "Item Number,Description,Last Week Stocks,Deliveries,Total Stocks,Total Withdrawal and Current Stock...this is my logic if adding new stock it will add to 'Current Stock' and to 'Total Stocks' and if withdrawing stocks 'it will add to 'Total Withdrawal' …

Member Avatar for AndreRet
0
526
Member Avatar for masterfact18

[CODE]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for peter_budo
0
151
Member Avatar for masterfact18

[code]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for abelingaw
0
280