User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 428,111 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,612 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 58
Search took 0.01 seconds.
Posts Made By: leroi green
Forum: VB.NET May 5th, 2008
Replies: 8
Views: 405
Posted By leroi green
Re: Separating Names and counting length

well i changed this:

If textlength2 <= 6 Then
length(2) = "short"
ElseIf textlength2 > 6 And textlength <= 10 Then
length(2) = "standard"
ElseIf...
Forum: VB.NET May 5th, 2008
Replies: 8
Views: 405
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
Re: Separating Names and counting length

thanx. now it's weird b/c it won't work if the length is standard. like if the length is standard, nothing shows in the blank i've set for it
Forum: VB.NET May 5th, 2008
Replies: 8
Views: 405
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
Re: Translating English to Pig Latin

cool, working except with the word "ant" to "ant-way"
Forum: VB.NET May 4th, 2008
Replies: 4
Views: 418
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
Re: Getting frames to work

sorry, i had to restart my browser.

all fine now.

noob, i know...whatever.
Forum: HTML and CSS Apr 24th, 2008
Replies: 1
Views: 379
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
Re: Accumulating Counts and taking Averages

not really an error but just nothing. the application locks up and then i have to restart it
Forum: VB.NET Apr 16th, 2008
Replies: 4
Views: 349
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
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
Posted By leroi green
Re: Displaying a Message Just Before Closing

thank you very much. and i'm sorry i didn't ask the question in the right place. where should i direct my VB6 questions to?
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2008
Replies: 3
Views: 502
Posted By leroi green
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
Posted By leroi green
Re: Converting For...Next to Do...While

Okay, i've changed the structure somewhat. here it is below:


Const TermHeading As String = _
" 3 yrs 4yrs 5yrs"

Dim principal As Double
...
Forum: Visual Basic 4 / 5 / 6 Apr 12th, 2008
Replies: 4
Views: 588
Posted By leroi green
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
Posted By leroi green
Re: Converting For...Next to Do...While

cool, thanx.

I'll try that now and let you know what happened
Forum: Visual Basic 4 / 5 / 6 Apr 11th, 2008
Replies: 4
Views: 588
Posted By leroi green
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
Posted By leroi green
Re: How to write, then close, then read

thanx ezzaral.

I'll try that now
Forum: Java Apr 3rd, 2008
Replies: 2
Views: 596
Posted By leroi green
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
Posted By leroi green
Re: If computation help

what are brake points?
Forum: Visual Basic 4 / 5 / 6 Mar 17th, 2008
Replies: 3
Views: 317
Posted By leroi green
Question 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
Posted By leroi green
Re: message box help needed

it worked. thanx thanx!
Forum: Visual Basic 4 / 5 / 6 Mar 14th, 2008
Replies: 4
Views: 506
Posted By leroi green
Forum: Visual Basic 4 / 5 / 6 Mar 13th, 2008
Replies: 4
Views: 506
Posted By leroi green
Question 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
Posted By leroi green
Help Re: writing a new record problem

cool, i'll do that now.
Forum: Java Feb 28th, 2008
Replies: 3
Views: 532
Posted By leroi green
Help 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
Posted By leroi green
Re: The "Change Solution" Help Needed

so in the end it if i owe $23.76, it should look like:

Dollars Quarters Dimes Nickels Pennies
23 3 0 0 ...
Forum: Visual Basic 4 / 5 / 6 Feb 25th, 2008
Replies: 1
Views: 435
Posted By leroi green
Help 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
Posted By leroi green
Re: Regular GUI design help

thanx. will do now
Forum: Java Feb 21st, 2008
Replies: 4
Views: 678
Posted By leroi green
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
Posted By leroi green
Help 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
Posted By leroi green
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
Posted By leroi green
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";...
Showing results 1 to 40 of 58

 
All times are GMT -4. The time now is 1:08 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC