Forum: VB.NET May 5th, 2008 |
| Replies: 8 Views: 405 |
Forum: VB.NET May 5th, 2008 |
| Replies: 8 Views: 405 Re: Separating Names and counting length finally got it!
this works. don't ask me what made this code any better than what was originally down but whatever
textlength = namepart(0).Length
If textlength <= 6 Then
... |
Forum: VB.NET May 5th, 2008 |
| Replies: 8 Views: 405 Re: Separating Names and counting length i know this seems like the dumbest thing on the planet but this works:
If textlength2 > 10 Then
length(2) = "long"
ElseIf textlength2 > 6 And textlength <= 10 Then
... |
Forum: VB.NET May 5th, 2008 |
| Replies: 8 Views: 405 |
Forum: VB.NET May 5th, 2008 |
| Replies: 8 Views: 405 Re: Separating Names and counting length great news! i've figured it all down to 1 thing... the last word is not displaying the length correctly... any help, my logic's gotta be wrong at the last piece of the message in the label
... |
Forum: VB.NET May 5th, 2008 |
| Replies: 8 Views: 405 Separating Names and counting length hey guys. i've got this code where i've gotta separate a full name and tell the user which is which (meaning "this name is first, this name is middle, and this is your last name" type stuff). Well... |
Forum: VB.NET May 4th, 2008 |
| Replies: 2 Views: 348 BobCat Motors Solution hey all. the program is for Chapter 8 Lesson C in the Visual Basic 2005
below is code where i have to create a program that allows the user to enter a 4-digit number that identifies whether the... |
Forum: VB.NET May 4th, 2008 |
| Replies: 4 Views: 418 |
Forum: VB.NET May 4th, 2008 |
| Replies: 4 Views: 418 Re: Translating English to Pig Latin okay, i've got the first part working but I've still got problems with the second part outlining words that start with cons.
here's the new code.
Private Sub xTranslateButton_Click(ByVal sender As... |
Forum: VB.NET May 4th, 2008 |
| Replies: 4 Views: 418 Translating English to Pig Latin Hey all,
I've got this program where I have to translate a word from English to Pig Latin. I'm sorta on the brink but I'm missing something.
the test words are "ant" and "chair" but they should... |
Forum: HTML and CSS Apr 24th, 2008 |
| Replies: 1 Views: 379 |
Forum: HTML and CSS Apr 24th, 2008 |
| Replies: 1 Views: 379 Getting frames to work hey all,
i'm working on this test site to get frames to work. i've got the two frames on the left and middle showing a page but they will only show one page and not another if i make a new... |
Forum: VB.NET Apr 19th, 2008 |
| Replies: 4 Views: 349 Re: Accumulating Counts and taking Averages Actually i don't understand your program. please explain more detail what you want to do.[/QUOTE]
well i'll take the statement straight from the book.
"In this exercise, you create an application... |
Forum: VB.NET Apr 17th, 2008 |
| Replies: 4 Views: 349 |
Forum: VB.NET Apr 16th, 2008 |
| Replies: 4 Views: 349 Accumulating Counts and taking Averages Hey all, got a syntax and run prob with a program I'm working with that takes in rainfall amounts and then shows the total rainfall amount and then gives an average of. I then end up displaying those... |
Forum: VB.NET Apr 14th, 2008 |
| Replies: 3 Views: 349 Re: Checking against a random number okay...just solved this myself...
lol, this forum is very therapeutic haha.
Option Explicit On
Option Strict On
Public Class MainForm
'show the random number |
Forum: VB.NET Apr 14th, 2008 |
| Replies: 3 Views: 349 Re: Checking against a random number okay,
forget the above. I got it working with this except:
Private Sub xCalcButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xCalcButton.Click
'show the random... |
Forum: VB.NET Apr 14th, 2008 |
| Replies: 3 Views: 349 Checking against a random number hey all,
i've got a new issue with a program that allows the user to enter a number and then that number is checked against a random number that the PC chooses. Here's the code:
Private Sub... |
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2008 |
| Replies: 3 Views: 502 |
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2008 |
| Replies: 3 Views: 502 Displaying a Message Just Before Closing Hey all,
I am trying to display a message asking if the user is sure that they want to close just before closing.
Here's what I've got...and it's only telling me that there's something wrong with... |
Forum: Visual Basic 4 / 5 / 6 Apr 12th, 2008 |
| Replies: 4 Views: 588 |
Forum: Visual Basic 4 / 5 / 6 Apr 12th, 2008 |
| Replies: 4 Views: 588 Re: Converting For...Next to Do...While working with this now. I'll let you know what happens
'calculates the monthly payments on a loan using
'terms of 3, 4, and 5 years and interest rates of 5% - 10%
Const TermHeading... |
Forum: Visual Basic 4 / 5 / 6 Apr 12th, 2008 |
| Replies: 4 Views: 588 |
Forum: Visual Basic 4 / 5 / 6 Apr 11th, 2008 |
| Replies: 4 Views: 588 Converting For...Next to Do...While hey guys,
i'm working on this assignment in where I have to take a For...Next Loop and turn it into a Do While Loop. I think I've kinda got the coding down but when I try to calculate the rates the... |
Forum: Java Apr 3rd, 2008 |
| Replies: 2 Views: 596 |
Forum: Java Apr 3rd, 2008 |
| Replies: 2 Views: 596 How to write, then close, then read Hi all,
I got a code in 2 programs that allow me to open the file, write the file, then close it.
BUT...I want to open it back up and read it then close it again and i don't know how to. Below is... |
Forum: Visual Basic 4 / 5 / 6 Mar 18th, 2008 |
| Replies: 3 Views: 317 |
Forum: Visual Basic 4 / 5 / 6 Mar 17th, 2008 |
| Replies: 3 Views: 317 If computation help ok guys,
I've got an issue where a computation is just not working but I've used the same set up in other programs and don't truly understand the deal with this one. at the beginning of the below if... |
Forum: Visual Basic 4 / 5 / 6 Mar 14th, 2008 |
| Replies: 4 Views: 506 |
Forum: Visual Basic 4 / 5 / 6 Mar 14th, 2008 |
| Replies: 4 Views: 506 |
Forum: Visual Basic 4 / 5 / 6 Mar 13th, 2008 |
| Replies: 4 Views: 506 message box help needed hey guys and gals,
i'm making this program where i am asking if someone is a wholesaler and then making a computation but the compiler is telling me that there is something wrong with the argument... |
Forum: Java Mar 3rd, 2008 |
| Replies: 3 Views: 532 |
Forum: Java Feb 28th, 2008 |
| Replies: 3 Views: 532 writing a new record problem hey guys and gals,
newb back again with a little request from the Java Gods. in line 31 i've got an error saying "cannot find symbol"
NextRecord record = new NextRecord();
i've got 2! count 'em 2... |
Forum: Visual Basic 4 / 5 / 6 Feb 25th, 2008 |
| Replies: 1 Views: 435 |
Forum: Visual Basic 4 / 5 / 6 Feb 25th, 2008 |
| Replies: 1 Views: 435 The "Change Solution" Help Needed hello all,
been working on this assignment with the VB 2005 book for about a week now and i don't really understand where to go next. it's under lesson C exercise 3 where i have to calculate the... |
Forum: Java Feb 21st, 2008 |
| Replies: 4 Views: 678 |
Forum: Java Feb 21st, 2008 |
| Replies: 4 Views: 678 Re: Regular GUI design help okay, i've been following along a little on the chap 11 pages and it leads you to write a testing program. both will compile for me but then not run...not sure exactly where to go & i've gone thru... |
Forum: Java Feb 18th, 2008 |
| Replies: 4 Views: 678 Regular GUI design help hey all, the noob is back. and with more questions that you guys will probably make fun of me for but...whatever.
I am creating a GUI design where there are four labels (it doesn't need... |
Forum: Java Dec 13th, 2007 |
| Replies: 9 Views: 528 Re: the Triangle class help I think I've got the Triangle line down but I've been following a couple different examples in the book but still no dice. this is what i currently have...
import javax.swing.JOptionPane;
public... |
Forum: Java Dec 11th, 2007 |
| Replies: 9 Views: 528 Re: the Triangle class help well...the NetBeans is giving me <identifier>expected on this code below:
String "type";
and the same thing in the cmd about line #12 with the <identifier> expected at the String "type";... |