Forum: VB.NET 6 Days Ago |
| Replies: 7 Views: 228 Re: Variable declaration!!! what I understand that the user will enter the value in textbox , after you check that user did not leave it empty you can use it .
Dim save As Double
If TextBox1.Text = "" Then '... |
Forum: VB.NET May 7th, 2008 |
| Replies: 16 Views: 1,298 |
Forum: VB.NET May 7th, 2008 |
| Replies: 16 Views: 1,298 Re: creating next and previous button? there is no table 0 in your dataset
sorry I was mistaken here, Record_num should be initialized with -1 not 0
this time it should really work , just be sure of your dataset that it contains... |
Forum: VB.NET May 6th, 2008 |
| Replies: 5 Views: 1,003 Re: Using Dataset in OledbConnection the error
"update requires a valid insertCommand when passed DataRW collection with new rows"
tells you that when you add new row using Dap.Update(DsS, Table), you must set insertCommand's... |
Forum: VB.NET May 6th, 2008 |
| Replies: 16 Views: 1,298 Re: creating next and previous button? the problem still the same , you mean it just shows the last record ?
if yes , as I said before initializing Record_num with zero inside the button code is your problem
just imagine what will... |
Forum: VB.NET May 5th, 2008 |
| Replies: 5 Views: 1,003 |
Forum: VB.NET May 5th, 2008 |
| Replies: 16 Views: 1,298 |
Forum: VB.NET May 5th, 2008 |
| Replies: 16 Views: 1,298 Re: creating next and previous button? the problem that you decleared Record_num inside the next_button code, here each time the user choose next button Record_num will have the same value
define it outside it
public class form1
dim... |
Forum: VB.NET May 5th, 2008 |
| Replies: 16 Views: 1,298 Re: creating next and previous button? i do not understand your code.
>>"this the code for button next n previous" you mean that the same code for next and previous ? each one has its own code
i = 0
For i = 0 To -1
TextBox1.Text =... |
Forum: VB.NET May 4th, 2008 |
| Replies: 5 Views: 1,003 Re: Using Dataset in OledbConnection you will need dataAdapter and dataset
by using dataset you can update the value of any cell in database
Me.DataSet11.Tables("Table_Name").Rows(0).Item(1) = TextBox1.Text
this will not update your... |
Forum: VB.NET May 4th, 2008 |
| Replies: 2 Views: 224 Re: Gurus i need help!!! first thing you need to store the special characters in array (http://www.startvbdotnet.com/language/arrays.aspx), so you will declear array
Dim SC(36) As charafter that store values
SC(0) =... |
Forum: VB.NET Apr 13th, 2008 |
| Replies: 5 Views: 309 Re: Issue with operators If myGuess = randNum Then
here you compare between integer and class Random
to solve this
If myGuess = randNumGenerated Then
same thing in the "<" and ">"
but you need to define... |
Forum: VB.NET Apr 12th, 2008 |
| Replies: 3 Views: 565 |
Forum: VB.NET Apr 3rd, 2008 |
| Replies: 6 Views: 300 Re: Newbie about Database as Jx_Man said you need to have database so you can make it as source of your data
you can use Microsoft Access to create it
read this (http://databases.about.com/od/access/l/aaaccess1.htm) to know... |
Forum: VB.NET Mar 24th, 2008 |
| Replies: 2 Views: 1,787 Re: arrayList help and this (http://www.java2s.com/Tutorial/VB/0160__Collections/0220__ArrayList.htm)is other site
now we are waiting your code :) |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 1,100 |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 1,100 |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 1,100 Re: How can I declare this? You do not declare InitialValue.text you just declare variable as textbox.
textbox has many properties one of them is text
we access properties of InitialValue variable by typing InitialValue. what... |
Forum: VB.NET Mar 6th, 2008 |
| Replies: 3 Views: 803 |
Forum: VB.NET Mar 2nd, 2008 |
| Replies: 17 Views: 1,481 |
Forum: VB.NET Mar 1st, 2008 |
| Replies: 3 Views: 447 |
Forum: VB.NET Feb 24th, 2008 |
| Replies: 9 Views: 1,850 |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 9 Views: 1,850 |
Forum: VB.NET Feb 20th, 2008 |
| Replies: 9 Views: 1,850 |
Forum: Geeks' Lounge Feb 15th, 2008 |
| Replies: 48 Views: 2,847 |
Forum: VB.NET Jan 6th, 2008 |
| Replies: 4 Views: 1,202 Re: DataGridView to know which row is selected use this
DataGrid1.CurrentRowIndex
to show the value of first column in text box
Me.TextBox1.Text = DataGrid1.Item(DataGrid1.CurrentRowIndex, 0) |
Forum: VB.NET Dec 19th, 2007 |
| Replies: 7 Views: 1,203 Re: show picture see this link (http://www.daniweb.com/forums/thread72816.html)for adding flash file |
Forum: VB.NET Nov 28th, 2007 |
| Replies: 2 Views: 467 Re: Regex - always the same :) YourString.Substring(0, YourString.IndexOf("have"))
but you must handle what if "have" does not exist , i think it will give you error |
Forum: VB.NET Nov 18th, 2007 |
| Replies: 4 Views: 680 Re: Printing HELP what i understand from your code that intListIndex is integer , so you can not write
intListIndex.SelectedIndex
to print only what the user select try this
... |
Forum: VB.NET Nov 11th, 2007 |
| Replies: 3 Views: 1,499 Re: Plz help me for Validation in VB.NET i am not sure if i understand you .
any way to check mandatory fields , check they not empty
for example if user must enter ID in textbox check it like this
if Id_textbox="" then
Label1.Text =... |
Forum: VB.NET Nov 8th, 2007 |
| Replies: 4 Views: 394 Re: Please Help! i did not understand why u use For loop ,
do you want to show all the array's content in one label ? if yes then
For subscript As Integer = 0 To 3
ratesLabel.Text =ratesLabel.Text+ " "+... |
Forum: VB.NET Nov 8th, 2007 |
| Replies: 2 Views: 326 Re: Events & Methods this (http://www.devcity.net/Articles/102/Articles.aspx?a=ViewArticle&ArticleID=102) is good explanation for what you need |
Forum: VB.NET Oct 31st, 2007 |
| Replies: 5 Views: 4,956 |
Forum: VB.NET Oct 31st, 2007 |
| Replies: 5 Views: 774 Re: Separating Names you can use split method in string class
Dim namepart(3) As String
fullname = TextBox1.Text
For i = 0 To TextBox1.Text.Length - 1
namepart =... |
Forum: VB.NET Oct 23rd, 2007 |
| Replies: 3 Views: 1,693 Re: Retrieving Fields from MS Access what I understand that you have two forms , one for logging in and the other one to show information for corresponding user , right?
then yes it is better to eliminate re-entering account's... |
Forum: VB.NET Oct 20th, 2007 |
| Replies: 2 Views: 1,195 |
Forum: VB.NET Oct 20th, 2007 |
| Replies: 3 Views: 1,693 |
Forum: VB.NET Oct 15th, 2007 |
| Replies: 2 Views: 692 Re: looping thru database results are you asking about how to loop thru database ? i think like this
count = Me.DataSet.Table_Name.Count
For i = 0 To count - 1
m = Me.DataSet.... |
Forum: VB.NET Oct 15th, 2007 |
| Replies: 2 Views: 1,011 Re: vb.net error message query?! use boolean varaible to indicate if the user enter correct value for each input like this
If Val(employeeid_txt.Text) > 10 Or Val(employeeid_txt.Text) < 1 Then
MessageBox.Show("Employee... |
Forum: VB.NET Oct 15th, 2007 |
| Replies: 2 Views: 420 Re: I need in my code i think that's wrong , you need to add 125,000 to the population grouth each year
number=number+(number*4.3) [/QUOTE][QUOTE]Loop Until count = 200000
.
other thing why you stop looping untill... |