2,383 Posted Topics
Re: specify more your problem and condition : - you didn't give a condition for the result. how the result can show "High Distinction" (<20) or other result (> 20 = "?", > 50 = "?" ). - how far you was tried?? [URL="http://www.daniweb.com/forums/announcement58-2.html"]"We only give homework help to those who … | |
Re: see this code : [CODE=vb]Dim sql As String Private Sub ViewData() Set rs = New ADODB.Recordset rs.CursorType = adOpenDynamic rs.LockType = adLockOptimistic rs.Open "SELECT * FROM Login Where UserID = '" & txtUserId.Text & "' AND Password = '" & txtPasw.Text & "'", Conn, , , adCmdText Set DataGrid1.DataSource = … | |
Re: [code=vb.net]Imports System Imports System.Text Imports System.Security.Cryptography[/code] | |
Re: [QUOTE]please see my code : there are something wrong?how i can check if stack is empty?? NB : isi = content of stack atas = top of stack tumpukan is stack [CODE]function POP (var T : Tumpukan) : integer; begin POP := T.Isi[T.Atas]; T.Atas := dec[T.Atas]; end;[/CODE] [/QUOTE] i was … | |
Re: This following code to input string only, other character wont allowed to input. [CODE=vb.net] Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If (Microsoft.VisualBasic.Asc(e.KeyChar) < 65) _ Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 90) _ And (Microsoft.VisualBasic.Asc(e.KeyChar) < 97) _ Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 122) Then 'space accepted If (Microsoft.VisualBasic.Asc(e.KeyChar) … | |
Re: see this attachment : [ATTACH]5329[/ATTACH] Hope this helps... PS: don't remove author name n comment | |
Re: use temp textbox and you just call the value of textbox from other form [CODE=VB 6]Private Sub DBGrid1_Click() With DBGrid1 .Col = 0 ' start from coloumn 1 txtIndex.Text = .Text End With Set db = OpenDatabase(App.Path + "\YourDatabaseName.mdb") Set rs = db.OpenRecordset("YourTableName") If (rs.RecordCount >= 1) Then Do While … | |
Re: it is using database?what a current database?how far you do this?? | |
Re: hmm... see this code. its wont to allowed you input other character except number. [code=vb.net]Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If (Microsoft.VisualBasic.Asc(e.KeyChar) < 48) _ Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 57) Then e.Handled = True End If If (Microsoft.VisualBasic.Asc(e.KeyChar) = 8) Then e.Handled = False End … | |
Re: you should to use convert. repair your code with following code : [code=vb] msngInitialValue = Convert.ToSingle(txtInitialValue.Text) msngSalvageValue = Convert.ToSingle(txtSalvageValue.Text) mintAssetLife = Convert.ToInt32(txtAssetLife.Text)[/code] ok. hope this helps. | |
Re: try this recovery : [code=vb]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Form2.Show() Me.Dispose(False) End Sub[/code] | |
Re: [URL="http://www.codeproject.com/KB/vb/screen.aspx"]see this link[/URL]. | |
Re: that you means every user included default user that it created by windows?? | |
Re: i think you forget to set full = false, just it. add this code after else : [code=pascal]begin Full := false; T.Top := inc(T.Top); T.Contain[T.Top] := X end[/code] ok hope this helps.. | |
Re: i didn't know cause i never use in vista. but i think you must to download a patch for vista. | |
Re: what was appear and not appear in your list? if u want to disable check box : [code]Check2.Enabled = False[/code] | |
Re: try this code, message will show when you click on x button. [code=vb]Private Sub Form_Unload(Cancel As Integer) If MsgBox("Are u sure want to quit?", 4 + 32, "Exit Confirm") = 7 Then Cancel = True Else End End If End Sub [/code] | |
Re: Hi.. Welcome to Daniweb Friend :) i suggest to start with vb.net... | |
Re: [QUOTE=rossman;543569]It looks like a paper pinned down by Pins :) but it cant be that simple because you are asking it here. ross[/QUOTE] agree. :D | |
Re: Hi.. Welcome to Daniweb Friend :) u should post your problem on current forum.. see for tech talk... | |
Re: fall into chasm and never got the base of chasm... scared one... | |
| |
Re: i m not sure u can do this. if you use variable to accommodate form name there are no function to call form. your variable still a string. | |
Re: use index or field from recordset. compare the data from recordset with input in textbox. | |
Re: Hi esdat...specify more what the problem and show the effort friend :). ps : (welcome to daniweb)met datang di daniweb pak. | |
The End.