Visual Basic 2008 Character tallying

  • Thread starter Thread starter jazFunk
  • Start date Start date
  • Tags Tags
    Visual
Click For Summary

Discussion Overview

The discussion revolves around creating a Visual Basic 2008 program that analyzes a string of names or words to count the occurrences of each letter, considering both upper and lower case characters. The focus is on programming challenges and solutions related to string manipulation and data output.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in writing a program to tally letter occurrences in a given string and seeks assistance.
  • Another participant inquires about the specific challenges faced by the original poster.
  • The original poster mentions having scrapped several ideas and starting over with a blank form, indicating a lack of programming proficiency and previous unsuccessful attempts with online code snippets.
  • Later, the original poster reports having the program working but asks how to convert list box items to a string, highlighting a new technical question related to data handling.

Areas of Agreement / Disagreement

The discussion does not present any consensus, as participants are at different stages of problem-solving, and no solutions have been definitively agreed upon.

Contextual Notes

Limitations include the original poster's self-identified lack of programming skills and the reliance on external code snippets that did not meet their needs. The discussion does not resolve how to effectively convert list box items to a string.

jazFunk
Messages
12
Reaction score
0
I'm trying to write a program which analyzes a string consisting of multiple names/words and outputs how many of each letter occurrences there are. (including upper and lower case characters.)

i.e. string: "lafayette polk detroit"
contains: 2-a's, 3-e's, 1-i, 2-o's, etc., etc.

I'm pulling my hair out trying to figure this out. Any assistance is greatly appreciated.
 
Technology news on Phys.org
Where are you stuck?
 
Well, I've scrapped several ideas. So, at this point, I'm back to nothing but a blank form with text boxes...starting over!

I'm not the most proficient programmer, I'm not even good. I'm trying to create something to make my life at work easier.

I've tried all kinds of online code "snippets", but nothing is working to fit my needs.

Any advice on how to get started in the right direction?
 
Ok, I've got it all working now. However one question remains... How do I convert list box items to a string? The items are string values.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 12 ·
Replies
12
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K