Reading unicode from INI
Reading unicode from INI
Reading unicode from INI
Reading unicode from INI
Reading unicode from INI
Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI
Reading unicode from INI Reading unicode from INI
Reading unicode from INI
Go Back  Xtreme Visual Basic Talk > > > Reading unicode from INI


Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2004, 11:09 PM
ehboym ehboym is offline
Newcomer
 
Join Date: Jan 2004
Posts: 4
Question Reading unicode from INI


hi,

I need to read unicode strings from a unicode encoded INI in to a Visual Basic 6 Text Control (A forms 2 control).

Normally I would use the GetPrivateProfileString function to read from an INI but once the file is encoded in unicode the function return "?????" instead of the real string.

Opening the INI with notepad I can see the real string but the GetPrivateProfileStringW function wont read it.

Any suggestions on how to read it correctly ?

Thanks

EB
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
reading UNICODE files tipsy88 File I/O and Registry 13 09-03-2003 09:05 AM
reading from an ini to a textbox spooke2k General 5 04-03-2003 03:26 AM
Reading INI files Madd General 1 01-09-2003 09:48 AM
INI files - Reading and writing. Agent Code Library 0 02-13-2002 03:14 PM
Reading and Writing to an INI file? bizkit General 5 01-06-2002 05:15 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Reading unicode from INI
Reading unicode from INI
Reading unicode from INI Reading unicode from INI
Reading unicode from INI
Reading unicode from INI
Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI Reading unicode from INI
Reading unicode from INI
Reading unicode from INI
 
Reading unicode from INI
Reading unicode from INI
 
-->