Search Results

Showing results 1 to 40 of 58
Search took 0.01 seconds.
Search: Posts Made By: bpacheco1227
Forum: VB.NET Dec 2nd, 2008
Replies: 2
Views: 310
Posted By bpacheco1227
cool thank you, I forgot about concatenation
Forum: VB.NET Dec 1st, 2008
Replies: 2
Views: 310
Posted By bpacheco1227
I need to add student name and grade to a file.
This is my section of code so far

Private Sub addStudentNameGrade_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Forum: VB.NET Dec 1st, 2008
Replies: 9
Views: 2,917
Posted By bpacheco1227
Yes, thank you everything seems to be working beautifully. I added this to the exit button to write added content back to file.

Private Sub exitBtn_Click(ByVal sender As System.Object, ByVal e As...
Forum: VB.NET Dec 1st, 2008
Replies: 9
Views: 2,917
Posted By bpacheco1227
thanks, now I can add items in the listbox. I also need to remove items when selected this is the code I have now but, of course it's not working, this is the code that I have so far

Private Sub...
Forum: VB.NET Nov 28th, 2008
Replies: 9
Views: 2,917
Posted By bpacheco1227
no still didn't work, I'm stumped I've tried everything. Cannot add items to lstdisplay (listbox). Maybe because the listbox is being populated by a file?
Forum: VB.NET Nov 26th, 2008
Replies: 3
Views: 1,039
Posted By bpacheco1227
thanks it worked bcasp, much appreciated !!
Forum: VB.NET Nov 26th, 2008
Replies: 3
Views: 1,039
Posted By bpacheco1227
I'm having problems with if statements
present value (PV) should be no larger than $10000
interest rate is not higher than 10 and no less than 2
and number of years at least 3

I've tried the...
Forum: VB.NET Nov 26th, 2008
Replies: 9
Views: 2,917
Posted By bpacheco1227
any thoughts on this one?
Forum: VB.NET Nov 25th, 2008
Replies: 9
Views: 2,917
Posted By bpacheco1227
yes, I'm trying to append contents of the textbox to the end of the listbox. The loop isn't correct I removed it already, I just need to get the contents of the textbox to append to the end of the...
Forum: VB.NET Nov 25th, 2008
Replies: 9
Views: 2,917
Posted By bpacheco1227
I always have a problem with this. I get an error when trying to build the program "argument exception unhandled". Any help would be appreciated, thanks.


Private Sub addBtn_Click(ByVal sender...
Forum: VB.NET Nov 25th, 2008
Replies: 1
Views: 365
Posted By bpacheco1227
I figured it out.

lstdisplay.DataSource = IO.File.ReadAllLines(path & "stocks.txt")
Forum: VB.NET Nov 25th, 2008
Replies: 1
Views: 365
Posted By bpacheco1227
What is the syntax to display the contents of a simple text file to a listbox?
Forum: VB.NET Nov 20th, 2008
Replies: 9
Views: 2,570
Posted By bpacheco1227
BTW, neither button poulates the listbox (outputbox)
Forum: VB.NET Nov 20th, 2008
Replies: 9
Views: 2,570
Posted By bpacheco1227
still doesn't populate, does it matter that the outputbox is a listbox?
button1 should display numbers in list box in ascending order when pressed
button2 should display numbers in list box in...
Forum: VB.NET Nov 20th, 2008
Replies: 9
Views: 2,570
Posted By bpacheco1227
Thank you, but the outputbox will not populate with the values. I always have problems with populating textboxes. What am I missing?


Public Class Form1
Dim MyIntArr(2) As Integer
...
Forum: VB.NET Nov 19th, 2008
Replies: 9
Views: 2,570
Posted By bpacheco1227
Ok, thanks for the help, any further suggestions on how to get this to work would be appreciated. Here is my code so far, I'm not sure what I'm doing wrong?:(


Public Class Form1
Dim...
Forum: VB.NET Nov 18th, 2008
Replies: 9
Views: 2,570
Posted By bpacheco1227
I need to sort three numbers that are entered in three different textboxes and display these numbers ascending and when I press a different button display them descending. Now I think that I need...
Forum: VB.NET Oct 27th, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
it just gives me one of the items (the first one I think) and when I click on it it doesn't put anything in the price label. I also just noticed that I get this when I run it "A first chance...
Forum: VB.NET Oct 27th, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
Thanks for the reply but when I try the code like this I get a "Warning 1 Variable 'prices' is used before it has been assigned a value. A null reference exception could result at runtime. L:\Visual...
Forum: VB.NET Oct 23rd, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
any ideas about this one guys?
Forum: VB.NET Oct 22nd, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
thanks for the help but I need Daniweb just a little more , ok I got to segregate the line into itemname now how do I display the price in a label called priceLabel upon clicking the appropriate item...
Forum: VB.NET Oct 22nd, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
anyone have any thoughts on this one I can't figure out how to have the program recognize just the first word and reference the price that's associated with that item and place just that price in a...
Forum: VB.NET Oct 22nd, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
It worked thanks, your code worked and I had the wrong path.
This is the information that is in the itemInfo.txt file

Shirt 11.99
Shoes 14.99
Jacket 25.99
Socks 8.99
Gloves 4.99

I...
Forum: VB.NET Oct 21st, 2008
Replies: 11
Views: 3,148
Posted By bpacheco1227
I need to load the contents of a text file (itemInfo.txt) into a list box, I am on the wrong track, can someone please help.


Public Class MainForm
Private path As String = "L:\Visual...
Forum: VB.NET Oct 2nd, 2008
Replies: 6
Views: 526
Posted By bpacheco1227
Can't figure how to populate the combobox correctly it stays blank, I think I'm completely off track. Please Help.


Public Class Form1
Dim dimensions(0, 0) As Integer
Dim rooms As...
Forum: VB.NET Oct 2nd, 2008
Replies: 6
Views: 526
Posted By bpacheco1227
thanks that helped tremendously at least I was somewhat on the right track, more like just one wheel on the track. I will now work on the combo box, thank you.
Forum: VB.NET Oct 2nd, 2008
Replies: 6
Views: 526
Posted By bpacheco1227
we just learned classes last week and in this assignment we can just use an array. This is the assignment.

Write a program that uses arrays and receives the length and the width of a multi room...
Forum: VB.NET Oct 1st, 2008
Replies: 6
Views: 526
Posted By bpacheco1227
I am very stuck. I need to write a prog that uses arrays and receives the length and the width of a multiroom building and find the area needed for for the carpet or wood flooring. This is just...
Forum: VB.NET Sep 23rd, 2008
Replies: 2
Views: 1,129
Posted By bpacheco1227
Thanks the helped a little but I needed the letter grade for the average not the total. I figured it out though, Thanks for the push in the right direction.
Forum: VB.NET Sep 23rd, 2008
Replies: 2
Views: 1,129
Posted By bpacheco1227
I need to average the numbers in the array and display and also detemine the letter grade and display. I've managed to average the numbers but I am unable to display the lettergrade, (won't...
Forum: VB.NET Sep 18th, 2008
Replies: 2
Solved: average sales
Views: 606
Posted By bpacheco1227
Thank you great, looks like it works.
Forum: VB.NET Sep 17th, 2008
Replies: 2
Solved: average sales
Views: 606
Posted By bpacheco1227
This program is supposed to prompt for a price until (do while loop) the input box is blank and then average the numbers and display the average. I've got most of it down except the average part,...
Forum: VB.NET Sep 17th, 2008
Replies: 7
Views: 839
Posted By bpacheco1227
great, thank you, works perfectly. Just shows how important syntax is. Thanks Again.
Forum: VB.NET Sep 17th, 2008
Replies: 7
Views: 839
Posted By bpacheco1227
Thanks, that did it, there's only one more thing. When user unchecks each box the list box should clear, which should be lstDisplay.Items.Clear() which of course does not work, could it be my IF...
Forum: VB.NET Sep 17th, 2008
Replies: 7
Views: 839
Posted By bpacheco1227
Forum: VB.NET Sep 16th, 2008
Replies: 7
Views: 839
Posted By bpacheco1227
Upon checking the corresponding check box, which is either Ladies Shoes, Men Shoes, Sneakers or Sandals, the program needs fill the listbox with the checkbox information. Can't figure the syntax,...
Forum: VB.NET Sep 11th, 2008
Replies: 3
Views: 781
Posted By bpacheco1227
I moved

totalDeds = fica + fedTax


under the if statement and I'm still getting NULL values for fedtax, fica and total deducation
Forum: VB.NET Sep 11th, 2008
Replies: 3
Views: 781
Posted By bpacheco1227
any ideas on this one, I'm still stumped.
Forum: VB.NET Sep 10th, 2008
Replies: 3
Views: 781
Posted By bpacheco1227
I need to FICA and Federal Tax % to a weekly paycheck calculator. I think I have everything in the program that needs to but, I think I might have a line in the wrong spot or in the wrong order....
Forum: VB.NET Sep 10th, 2008
Replies: 9
Views: 597
Posted By bpacheco1227
wow, thanks Lee, it worked, you're great, I must have the worst VB professor, I didn't know about controlChars. At least I was close. Thanks again.
Showing results 1 to 40 of 58

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC