Forum: VB.NET Mar 4th, 2009 |
| Replies: 7 Views: 36,840 Apr 17th, 2006 > this thread brings memory when I was doing my project :(
however, it is better to open new thread with title that describe your problem |
Forum: VB.NET Jan 12th, 2009 |
| Replies: 7 Views: 1,742 As Teme64 said open new thread with appropriate title and you will get more help
However,
Dim currentquantity, fullquantity As Double
currentquantity = fullquantity -... |
Forum: VB.NET Oct 5th, 2008 |
| Replies: 5 Views: 1,321 o, not necessary but I thought it will work
Because I remember that when I once used click event it was fired only when I click the header of datagrid not the cell content :S , you can try (or... |
Forum: VB.NET Oct 4th, 2008 |
| Replies: 2 Views: 398 |
Forum: VB.NET Oct 4th, 2008 |
| Replies: 2 Views: 403 do you get error, or the program run but no change made to database or what ? |
Forum: VB.NET Oct 3rd, 2008 |
| Replies: 5 Views: 1,321 do you mean display it on TextBox? if yes then use MouseUp event handler inorder to know when user select the cell, and then display the cell content in textbox
Private Sub DataGrid1_MouseUp(ByVal... |
Forum: VB.NET Sep 30th, 2008 |
| Replies: 5 Views: 528 timothybard is right, just Cdbl won't solve it :) |
Forum: VB.NET Sep 30th, 2008 |
| Replies: 5 Views: 528 it would be better if you post your code
any way , I think you didn't convert from string to double before calculating,
you wrote like this
Balance.Text = coursefees - installment1.Text
it may... |
Forum: VB.NET Sep 28th, 2008 |
| Replies: 1 Views: 315 sorry but I don't understand the problem , you mean the total is always zero?
other thing,in your code what the names of the input textboxes , for example is it RoomService or dblRoomService ?
... |
Forum: VB.NET Sep 22nd, 2008 |
| Replies: 8 Views: 54,854 thank you all especailly to ZachMack who remind me of my first post here :D
and welcome to DaniWeb. |
Forum: VB.NET Sep 20th, 2008 |
| Replies: 4 Views: 1,723 1/to use image in the form you need PictureBox Control (http://www.startvbdotnet.com/controls/gbox.aspx)
2/in order to change the picture whenever the user select item from the comboBox you use the... |
Forum: VB.NET Sep 12th, 2008 |
| Replies: 2 Views: 1,677 there are many good tutorials in net like this (http://www.homeandlearn.co.uk/NET/nets12p4.html) and this (http://www.itwriting.com/pcw/vbdotnetdata.php)
you can search for more and it will help... |
Forum: VB.NET Sep 11th, 2008 |
| Replies: 3 Views: 1,154 :) to learn how to program you need to try at first then learn from your mistakes
however, yes that code should read the line 5 to textbox |
Forum: VB.NET Sep 10th, 2008 |
| Replies: 3 Views: 1,154 to read from file line by line you need to use ReadLine method as you did , plus checking if you reached the end of file or not by Peek method
While loadf.Peek <> -1
Line =... |
Forum: VB.NET Aug 14th, 2008 |
| Replies: 7 Views: 2,511 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: 17 Views: 3,783 if you removed these lines, return them and see if you still have this problem
:S |
Forum: VB.NET May 7th, 2008 |
| Replies: 17 Views: 3,783 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... |
Forum: VB.NET May 6th, 2008 |
| Replies: 5 Views: 3,534 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: 17 Views: 3,783 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: 3,534 |
Forum: VB.NET May 5th, 2008 |
| Replies: 17 Views: 3,783 is it solved ? or you still have problem :S |
Forum: VB.NET May 5th, 2008 |
| Replies: 17 Views: 3,783 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: 17 Views: 3,783 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 5th, 2008 |
| Replies: 5 Views: 3,534 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: 496 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: 769 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: 6 Views: 3,063 I think the error means that you have variable from one type and you are trying to store in it value from other type .
since you have this error when you add item then I think your sql statement not... |
Forum: VB.NET Apr 3rd, 2008 |
| Replies: 6 Views: 675 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... |
Forum: VB.NET Mar 24th, 2008 |
| Replies: 2 Views: 2,755 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: 2,525 Variables that you declared are different from what you used . |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 2,525 write your code here please |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 2,525 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.... |
Forum: VB.NET Mar 6th, 2008 |
| Replies: 3 Views: 2,652 x = TextBox1.Text.ToCharArray
While continue = True And (i < x.Length)
If IsNumeric(x(i)) Then
y += x(i)
Else
continue = False
... |
Forum: VB.NET Mar 2nd, 2008 |
| Replies: 17 Views: 2,807 you need to do as Jx_Man suggest , use Convert.ToSingle |
Forum: VB.NET Mar 1st, 2008 |
| Replies: 3 Views: 774 maybe you trying to read while you reached the end of file ,
i think this return length on byte , try this
fLen1 = Int(f1.Length / 4) |
Forum: VB.NET Feb 24th, 2008 |
| Replies: 9 Views: 7,078 error means you defined something as integer then you tried to store in it array of char
I tried the code and I did not have this error
maybe you defined n like this
Dim n As String() ? |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 9 Views: 7,078 yes you can
after you establish the connection with database , and fill the dataset with data, assuming you have datagrid with name dgdFunctionArea
creat new table and define the columns
Dim... |
Forum: VB.NET Feb 20th, 2008 |
| Replies: 9 Views: 7,078 i hope this artical (http://www.vbdotnetheaven.com/UploadFile/tameta/DataGridControl04112005012947AM/DataGridControl.aspx)will help you |
Forum: VB.NET Jan 6th, 2008 |
| Replies: 4 Views: 2,909 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: 2,758 see this link (http://www.daniweb.com/forums/thread72816.html)for adding flash file |