Click here to Skip to main content
15,905,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionnew language come in my code Pin
foad aldhoh7-Jun-13 4:47
foad aldhoh7-Jun-13 4:47 
AnswerRe: new language come in my code Pin
TnTinMn7-Jun-13 10:48
TnTinMn7-Jun-13 10:48 
Questiondatatable -> wpf datagrid -> new datatable Pin
Member 98926065-Jun-13 6:35
Member 98926065-Jun-13 6:35 
QuestionConvert VB6 project to VB.Net Pin
bhagyashree apte5-Jun-13 2:57
bhagyashree apte5-Jun-13 2:57 
AnswerRe: Convert VB6 project to VB.Net Pin
Abhinav S5-Jun-13 16:47
Abhinav S5-Jun-13 16:47 
QuestionHow to send Email using VB 6.0 Pin
Saranya-from-Tamil-Nadu-India4-Jun-13 23:28
Saranya-from-Tamil-Nadu-India4-Jun-13 23:28 
AnswerRe: How to send Email using VB 6.0 Pin
Richard MacCutchan4-Jun-13 23:34
mveRichard MacCutchan4-Jun-13 23:34 
QuestionSmart Card and CredUIPromptForWindowsCredentials Pin
dfaulhaber2k14-Jun-13 11:28
dfaulhaber2k14-Jun-13 11:28 
QuestionFindFirstFileEx() and Unicode Pin
treddie4-Jun-13 10:03
treddie4-Jun-13 10:03 
AnswerRe: FindFirstFileEx() and Unicode Pin
Dave Kreskowiak4-Jun-13 10:39
mveDave Kreskowiak4-Jun-13 10:39 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 11:04
treddie4-Jun-13 11:04 
GeneralRe: FindFirstFileEx() and Unicode Pin
Dave Kreskowiak4-Jun-13 11:12
mveDave Kreskowiak4-Jun-13 11:12 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 11:32
treddie4-Jun-13 11:32 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 12:08
treddie4-Jun-13 12:08 
GeneralRe: FindFirstFileEx() and Unicode Pin
Garth J Lancaster4-Jun-13 12:41
professionalGarth J Lancaster4-Jun-13 12:41 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 16:25
treddie4-Jun-13 16:25 
GeneralRe: FindFirstFileEx() and Unicode Pin
Dave Kreskowiak4-Jun-13 12:54
mveDave Kreskowiak4-Jun-13 12:54 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 16:47
treddie4-Jun-13 16:47 
Dave Kreskowiak wrote:
string variable cannot contain Unicode characters


Yah, that was sloppy reasoning on my part. Although, I also can't explain why I was getting inconsistent behavior in what was being reported in the string. Sometimes, when I would pass the pathname to the string, it would come back with ?'s. So without having a stable situation that I can depend on, I can't come to any conclusion on what that was all about. Especially since I can't duplicate the problem.

But now, what I have found is that the string holds the foreign characters just fine, but something odd happens when I send the string to an RTB and a plain TextBox. The RTB displays "\*" as "<foreign char="">*", but the TextBox had no problem at all and correctly shows, "\*". But if I hover my mouse over the "rtb1.text =" statement in the code, it reads fine! Weird.


Dave Kreskowiak wrote:
You never pass a "string".


But why do they declare strings in any function that accepts them? I've used ANSI strings before with no problem, just as MSDN suggests. The headaches happen when I get to Unicode strings.
GeneralRe: FindFirstFileEx() and Unicode Pin
Dave Kreskowiak4-Jun-13 17:37
mveDave Kreskowiak4-Jun-13 17:37 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 19:17
treddie4-Jun-13 19:17 
GeneralRe: FindFirstFileEx() and Unicode Pin
Dave Kreskowiak4-Jun-13 12:44
mveDave Kreskowiak4-Jun-13 12:44 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie4-Jun-13 17:11
treddie4-Jun-13 17:11 
GeneralRe: FindFirstFileEx() and Unicode Pin
MicroVirus5-Jun-13 7:32
MicroVirus5-Jun-13 7:32 
GeneralRe: FindFirstFileEx() and Unicode Pin
Dave Kreskowiak5-Jun-13 9:46
mveDave Kreskowiak5-Jun-13 9:46 
GeneralRe: FindFirstFileEx() and Unicode Pin
treddie5-Jun-13 16:29
treddie5-Jun-13 16:29 

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.