Click here to Skip to main content
15,888,293 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Disabling the keyboard Pin
Pasan14814-Feb-11 9:34
Pasan14814-Feb-11 9:34 
GeneralRe: Disabling the keyboard Pin
Dave Kreskowiak14-Feb-11 13:57
mveDave Kreskowiak14-Feb-11 13:57 
GeneralRe: Disabling the keyboard Pin
Pasan14814-Feb-11 21:15
Pasan14814-Feb-11 21:15 
GeneralRe: Disabling the keyboard Pin
Dave Kreskowiak15-Feb-11 2:08
mveDave Kreskowiak15-Feb-11 2:08 
AnswerRe: Disabling the keyboard Pin
Eddy Vluggen11-Feb-11 10:08
professionalEddy Vluggen11-Feb-11 10:08 
AnswerRe: Disabling the keyboard Pin
Bernhard Hiller13-Feb-11 20:44
Bernhard Hiller13-Feb-11 20:44 
Questioncount character frequency Pin
Cool Smith11-Feb-11 3:24
Cool Smith11-Feb-11 3:24 
AnswerRe: count character frequency Pin
Tieske811-Feb-11 4:18
professionalTieske811-Feb-11 4:18 
For my 2cts; I don't think there is any way to detect the codepage, you ought to know it before opening it. Text files don't have any metadata to tell you anything about its content.

So if you know the encoding, you can load the full file by using System.IO.File.ReadAllText(path As String, encoding As Encoding) As String. From here you should have a properly encoded string and you can start counting characters.
If you want something done fast, then do it right (Grissom, CSI)

Thanks for your reply, you just acknowledged my existence

GeneralRe: count character frequency Pin
Cool Smith11-Feb-11 4:31
Cool Smith11-Feb-11 4:31 
GeneralRe: count character frequency Pin
Tieske811-Feb-11 6:02
professionalTieske811-Feb-11 6:02 
GeneralRe: count character frequency Pin
Dave Kreskowiak11-Feb-11 6:17
mveDave Kreskowiak11-Feb-11 6:17 
AnswerRe: count character frequency Pin
Eddy Vluggen11-Feb-11 10:20
professionalEddy Vluggen11-Feb-11 10:20 
GeneralRe: count character frequency Pin
Cool Smith11-Feb-11 22:19
Cool Smith11-Feb-11 22:19 
GeneralRe: count character frequency Pin
Eddy Vluggen11-Feb-11 23:48
professionalEddy Vluggen11-Feb-11 23:48 
GeneralRe: count character frequency Pin
Cool Smith12-Feb-11 0:42
Cool Smith12-Feb-11 0:42 
GeneralRe: count character frequency Pin
Cool Smith12-Feb-11 4:00
Cool Smith12-Feb-11 4:00 
GeneralRe: count character frequency Pin
Eddy Vluggen12-Feb-11 5:43
professionalEddy Vluggen12-Feb-11 5:43 
QuestionStoring Binary Data in SQL Database with VB.NET Pin
Central_IT10-Feb-11 3:31
Central_IT10-Feb-11 3:31 
AnswerRe: Storing Binary Data in SQL Database with VB.NET Pin
Simon_Whale10-Feb-11 3:41
Simon_Whale10-Feb-11 3:41 
QuestionThreading question; cross thread communication/invokation Pin
Tieske89-Feb-11 23:26
professionalTieske89-Feb-11 23:26 
AnswerRe: Threading question; cross thread communication/invokation Pin
Luc Pattyn10-Feb-11 3:46
sitebuilderLuc Pattyn10-Feb-11 3:46 
QuestionRe: Threading question; cross thread communication/invokation Pin
Tieske811-Feb-11 0:14
professionalTieske811-Feb-11 0:14 
AnswerRe: Threading question; cross thread communication/invokation Pin
Luc Pattyn11-Feb-11 0:38
sitebuilderLuc Pattyn11-Feb-11 0:38 
GeneralRe: Threading question; cross thread communication/invokation Pin
Tieske811-Feb-11 2:54
professionalTieske811-Feb-11 2:54 
QuestionGetting Email Address from Exchange Server Pin
Dominick Marciano9-Feb-11 16:49
professionalDominick Marciano9-Feb-11 16:49 

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.