Click here to Skip to main content
16,010,022 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: listing Windows Explorer using Shell32.dll Pin
Luc Pattyn26-Nov-07 15:28
sitebuilderLuc Pattyn26-Nov-07 15:28 
GeneralRe: listing Windows Explorer using Shell32.dll Pin
GuildfordG26-Nov-07 15:54
GuildfordG26-Nov-07 15:54 
GeneralRe: listing Windows Explorer using Shell32.dll Pin
Luc Pattyn26-Nov-07 16:10
sitebuilderLuc Pattyn26-Nov-07 16:10 
GeneralRe: listing Windows Explorer using Shell32.dll Pin
GuildfordG26-Nov-07 17:33
GuildfordG26-Nov-07 17:33 
AnswerRe: listing Windows Explorer using Shell32.dll Pin
Dave Kreskowiak26-Nov-07 17:12
mveDave Kreskowiak26-Nov-07 17:12 
QuestionConverting accented characters to ASCII Pin
supercat926-Nov-07 14:17
supercat926-Nov-07 14:17 
AnswerRe: Converting accented characters to ASCII Pin
Dave Kreskowiak26-Nov-07 17:10
mveDave Kreskowiak26-Nov-07 17:10 
GeneralRe: Converting accented characters to ASCII Pin
supercat927-Nov-07 7:40
supercat927-Nov-07 7:40 
Dave Kreskowiak wrote:
Hokey, but about the only thing you've got that will do this.


Well, I tried writing some code to do the conversion. Not terribly elegant, but if I allocate 64K for an array of pre-translated characters the slowdown should be minimal.

I append an "8" to the character to be translated an check to see whether that puts it between "A" and "Z9". If so, I check that against "B", "C", etc. until I either find a character that's greater or have passed "Z".

In this particular application I didn't need upper and lower case, but that could probably be handled by comparing a character with its forced-to-uppercase version. If they match, the character is uppercase; otherwise it's lowercase.

One interesting quirk I discovered: "-B" (a hyphen followed by the letter B) sorts between "A" and "C". That's why I append a digit to the string. Depending upon localized sort rules, "-8" may be before "A" or after "Z9", but it shouldn't be between them.
AnswerRe: Converting accented characters to ASCII Pin
azrafe718-Jan-10 3:21
azrafe718-Jan-10 3:21 
GeneralRe: Converting accented characters to ASCII Pin
supercat918-Jan-10 5:55
supercat918-Jan-10 5:55 
QuestionHow to encorparate other searches into my prog.. Pin
none5432126-Nov-07 14:02
none5432126-Nov-07 14:02 
AnswerRe: How to encorparate other searches into my prog.. Pin
Paul Conrad26-Nov-07 16:06
professionalPaul Conrad26-Nov-07 16:06 
QuestionVB.NET and MySQL Pin
Xeqtr_Blizz26-Nov-07 12:13
Xeqtr_Blizz26-Nov-07 12:13 
AnswerRe: VB.NET and MySQL Pin
Paul Conrad26-Nov-07 16:09
professionalPaul Conrad26-Nov-07 16:09 
GeneralRe: VB.NET and MySQL Pin
Xeqtr27-Nov-07 4:08
Xeqtr27-Nov-07 4:08 
GeneralRe: VB.NET and MySQL Pin
Paul Conrad27-Nov-07 4:26
professionalPaul Conrad27-Nov-07 4:26 
GeneralRe: VB.NET and MySQL [modified] Pin
Xeqtr27-Nov-07 4:37
Xeqtr27-Nov-07 4:37 
GeneralRe: VB.NET and MySQL Pin
Paul Conrad27-Nov-07 5:53
professionalPaul Conrad27-Nov-07 5:53 
GeneralRe: VB.NET and MySQL Pin
Xeqtr27-Nov-07 6:47
Xeqtr27-Nov-07 6:47 
GeneralRe: VB.NET and MySQL Pin
Paul Conrad27-Nov-07 12:11
professionalPaul Conrad27-Nov-07 12:11 
Questionftp capability Pin
Ronr226-Nov-07 11:17
Ronr226-Nov-07 11:17 
AnswerRe: ftp capability Pin
Dave Kreskowiak26-Nov-07 17:03
mveDave Kreskowiak26-Nov-07 17:03 
QuestionVB.Net + Quicktime? Pin
Sorikan26-Nov-07 11:01
Sorikan26-Nov-07 11:01 
QuestionRemote Application Pin
asc1126-Nov-07 4:46
asc1126-Nov-07 4:46 
AnswerRe: Remote Application Pin
Dave Kreskowiak26-Nov-07 4:48
mveDave Kreskowiak26-Nov-07 4:48 

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.