Visual Basic 2008 Character tallying

  • Thread starter Thread starter jazFunk
  • Start date Start date
  • Tags Tags
    Visual
AI Thread Summary
The discussion centers on creating a program that analyzes a string of names or words to count the occurrences of each letter, considering both upper and lower case. The user expresses frustration with previous attempts and seeks guidance on how to effectively implement this feature. After some trial and error, the user successfully develops the program but encounters a new challenge: converting items from a list box into a string format. The conversation highlights the importance of clear coding strategies and the need for practical solutions to programming hurdles.
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.
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top