Click here to Skip to main content
15,923,142 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Need Help Pin
Andy_L_J9-Oct-09 23:03
Andy_L_J9-Oct-09 23:03 
GeneralRe: Need Help Pin
Mycroft Holmes10-Oct-09 1:26
professionalMycroft Holmes10-Oct-09 1:26 
GeneralRe: Need Help Pin
Richard MacCutchan10-Oct-09 2:48
mveRichard MacCutchan10-Oct-09 2:48 
Questionmouse over form border event problem Pin
faith4ever4u9-Oct-09 12:12
faith4ever4u9-Oct-09 12:12 
AnswerRe: mouse over form border event problem Pin
Dave Kreskowiak9-Oct-09 12:20
mveDave Kreskowiak9-Oct-09 12:20 
GeneralRe: mouse over form border event problem Pin
faith4ever4u10-Oct-09 0:46
faith4ever4u10-Oct-09 0:46 
QuestionConvert Little Endian code to ASCII Pin
IvanIT9-Oct-09 6:23
IvanIT9-Oct-09 6:23 
AnswerRe: Convert Little Endian code to ASCII Pin
Luc Pattyn9-Oct-09 7:31
sitebuilderLuc Pattyn9-Oct-09 7:31 
Confused | :confused:

1.
My.Computer.FileSystem.WriteAllText, without an explicit Encoding, creates a UTF-8, not a Unicode, file; the documentation says:
"When no encoding is specified, UTF-8 is used. The byte order mark (BOM) for the encoding is written to the file unless you specify Encoding.Default, which uses the system's current ANSI code page..."

If you don't want a BOM, use Encoding.Default; or use File.WriteAllText which works without BOM by default.

2.
why do you use a StringBuilder here? I don't think it will be faster than similar string operations in this app, as all you do are global operations, not a long sequence of appends.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? Neen!


GeneralRe: Convert Little Endian code to ASCII Pin
IvanIT9-Oct-09 8:22
IvanIT9-Oct-09 8:22 
GeneralRe: Convert Little Endian code to ASCII Pin
Luc Pattyn9-Oct-09 8:33
sitebuilderLuc Pattyn9-Oct-09 8:33 
GeneralRe: Convert Little Endian code to ASCII Pin
IvanIT9-Oct-09 8:55
IvanIT9-Oct-09 8:55 
GeneralRe: Convert Little Endian code to ASCII Pin
Luc Pattyn9-Oct-09 9:00
sitebuilderLuc Pattyn9-Oct-09 9:00 
GeneralRe: Convert Little Endian code to ASCII Pin
IvanIT12-Oct-09 5:27
IvanIT12-Oct-09 5:27 
Questionwant to open Outlook "Create New Folder" dialog box programmatic ally Pin
dcdhingra9-Oct-09 4:11
dcdhingra9-Oct-09 4:11 
AnswerRe: want to open Outlook "Create New Folder" dialog box programmatic ally Pin
dcdhingra11-Oct-09 23:30
dcdhingra11-Oct-09 23:30 
Questiondeployment Pin
Folad System9-Oct-09 1:03
Folad System9-Oct-09 1:03 
AnswerRe: deployment Pin
dan!sh 9-Oct-09 1:05
professional dan!sh 9-Oct-09 1:05 
QuestionProblem with Connection string Pin
nazimghori9-Oct-09 0:51
nazimghori9-Oct-09 0:51 
AnswerRe: Problem with Connection string Pin
dan!sh 9-Oct-09 1:03
professional dan!sh 9-Oct-09 1:03 
AnswerRe: Problem with Connection string Pin
Luc Pattyn9-Oct-09 3:01
sitebuilderLuc Pattyn9-Oct-09 3:01 
QuestionCreating a database within vb 2008 Pin
outhwaik8-Oct-09 23:15
outhwaik8-Oct-09 23:15 
AnswerRe: Creating a database within vb 2008 Pin
Tom Deketelaere9-Oct-09 0:31
professionalTom Deketelaere9-Oct-09 0:31 
GeneralRe: Creating a database within vb 2008 [modified] Pin
outhwaik9-Oct-09 11:43
outhwaik9-Oct-09 11:43 
GeneralRe: Creating a database within vb 2008 Pin
Tom Deketelaere9-Oct-09 12:15
professionalTom Deketelaere9-Oct-09 12:15 
GeneralRe: Creating a database within vb 2008 Pin
outhwaik9-Oct-09 21:02
outhwaik9-Oct-09 21:02 

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.