Forum: Geeks' Lounge Oct 2nd, 2009 |
| Replies: 29 Views: 1,673 |
Forum: Community Introductions Oct 2nd, 2009 |
| Replies: 1 Views: 160 hi MichelleCrews,
welcom to Daniweb ! I hope you will enjoy here and learn more to get A :D |
Forum: VB.NET Mar 4th, 2009 |
| Replies: 7 Views: 35,200 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,477 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,217 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: 384 |
Forum: VB.NET Oct 4th, 2008 |
| Replies: 2 Views: 384 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,217 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: 501 timothybard is right, just Cdbl won't solve it :) |
Forum: VB.NET Sep 30th, 2008 |
| Replies: 5 Views: 501 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: 304 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: 50,336 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,540 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: IT Professionals' Lounge Sep 18th, 2008 |
| Replies: 9 Views: 1,493 About me I had job interview few days ago , he asked me what your career plan for the next 5 years :S
I really did not have any :( I started to read about how to plan the career but shouldn't I... |
Forum: VB.NET Sep 12th, 2008 |
| Replies: 2 Views: 1,522 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,035 :) 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,035 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,302 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,504 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,504 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,308 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,504 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,308 |
Forum: VB.NET May 5th, 2008 |
| Replies: 17 Views: 3,504 is it solved ? or you still have problem :S |
Forum: VB.NET May 5th, 2008 |
| Replies: 17 Views: 3,504 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,504 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,308 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: 477 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: 738 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: 2,772 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: 647 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,693 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,398 Variables that you declared are different from what you used . |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 2,398 write your code here please |
Forum: VB.NET Mar 9th, 2008 |
| Replies: 13 Views: 2,398 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,522 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,741 you need to do as Jx_Man suggest , use Convert.ToSingle |
Forum: VB.NET Mar 1st, 2008 |
| Replies: 3 Views: 755 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: 6,450 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: 6,450 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... |