Click here to Skip to main content
16,006,605 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to save web page using vb 6.0 Pin
bony_baba1-Mar-06 23:35
bony_baba1-Mar-06 23:35 
AnswerRe: how to save web page using vb 6.0 Pin
Vasudevan Deepak Kumar2-Mar-06 19:46
Vasudevan Deepak Kumar2-Mar-06 19:46 
GeneralRe: how to save web page using vb 6.0 Pin
bony_baba3-Mar-06 17:08
bony_baba3-Mar-06 17:08 
Questionhow to add a folder to a ActiveX Dll Application Pin
Paritos1-Mar-06 23:22
Paritos1-Mar-06 23:22 
AnswerRe: how to add a folder to a ActiveX Dll Application Pin
Dave Kreskowiak2-Mar-06 7:51
mveDave Kreskowiak2-Mar-06 7:51 
Questionhow to add radiobuttons in a datagrid in vb.net for a window application Pin
sam_ten20011-Mar-06 22:46
sam_ten20011-Mar-06 22:46 
Questionhow to count letters appeared? Pin
mijan1-Mar-06 22:25
mijan1-Mar-06 22:25 
AnswerRe: how to count letters appeared? Pin
Colin Angus Mackay1-Mar-06 23:22
Colin Angus Mackay1-Mar-06 23:22 
mijan wrote:
How to count freqency of letters appeared in a textbox as input


Homework question?

How do you think the problem would be solved?

Here are some highlevel hints: Create some way to map letters to a count. Iterate through the string and add one to the relevant count for each letter you encounter. Add one also to an total counter (so you know how many letters there are in total, so you can work out the percentage) When you finish the iteration of the string, iterate through the map and output the frequency of each letter and its percentage (by the way, you need to work on that calculation as the letter 'E' occurs 37.5% of the time, not 0.3%)

If you have a problem on any particluar aspect, show us what you tried and then we can help you fix it.

ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

GeneralRe: how to count letters appeared? Pin
mijan2-Mar-06 4:29
mijan2-Mar-06 4:29 
GeneralRe: how to count letters appeared? Pin
Colin Angus Mackay2-Mar-06 5:20
Colin Angus Mackay2-Mar-06 5:20 
QuestionDatabases Pin
Leavashni1-Mar-06 22:17
Leavashni1-Mar-06 22:17 
QuestionHow to make my application multilingual? Pin
sp_ranjan1-Mar-06 22:15
sp_ranjan1-Mar-06 22:15 
AnswerRe: How to make my application multilingual? Pin
Ingo2-Mar-06 2:52
Ingo2-Mar-06 2:52 
GeneralRe: How to make my application multilingual? Pin
sp_ranjan2-Mar-06 3:01
sp_ranjan2-Mar-06 3:01 
GeneralRe: How to make my application multilingual? Pin
Ingo2-Mar-06 3:14
Ingo2-Mar-06 3:14 
QuestionMovie Reservation system Pin
Siew Chin1-Mar-06 21:50
Siew Chin1-Mar-06 21:50 
AnswerRe: Movie Reservation system Pin
Dave Kreskowiak2-Mar-06 8:19
mveDave Kreskowiak2-Mar-06 8:19 
Questionhow to change vb98 project to vb.net2005 project Pin
fanronghua1-Mar-06 21:15
fanronghua1-Mar-06 21:15 
AnswerRe: how to change vb98 project to vb.net2005 project Pin
Paritos1-Mar-06 22:56
Paritos1-Mar-06 22:56 
Questioncopy macro into xls file Pin
lonely_life1-Mar-06 21:01
lonely_life1-Mar-06 21:01 
QuestionTreeview problem in vb.net Pin
pankajgarg121-Mar-06 20:25
pankajgarg121-Mar-06 20:25 
AnswerRe: Treeview problem in vb.net Pin
Dave Kreskowiak2-Mar-06 7:42
mveDave Kreskowiak2-Mar-06 7:42 
QuestionOpen a file when it is double clicked Pin
Chatura Dilan1-Mar-06 20:19
Chatura Dilan1-Mar-06 20:19 
AnswerRe: Open a file when it is double clicked Pin
noshaba mariam1-Mar-06 21:23
noshaba mariam1-Mar-06 21:23 
AnswerRe: Open a file when it is double clicked Pin
J4amieC1-Mar-06 21:53
J4amieC1-Mar-06 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.