|
-
Sep 14th, 2005, 11:48 AM
#1
Thread Starter
New Member
Different lanquages in one file. Is it possible?
Hi, I’m relatively new to VB. Now I’m trying to accomplish small simple project: Create catalog file (.xls, .doc .txt, etc.) of my mp3 collection. I’m trying to make the whole process running on a background with no user interaction, so it should work for most “popular” languages with “mix” char set in one file. Is it possible?
I use code like this (I show list to see the result before creation actual file):
……
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(Path)
Set fc = f.SubFolders
For Each f1 In fc
'MsgBox folderspec & "\" & f1.Name
s = s & f1.Name
If list = "List2" Then
List2.AddItem Path & "\" & f1.Name
List4.AddItem f1.Name
ElseIf list = "List3" Then
List3.AddItem f1.Name
Else
End If
s = s & vbCrLf
Next
……….
It works fine until VB encounters language other than English (Russian, German, French etc.) I can properly see that languages in windows explorer, but looks like VB is missing something. Also I noticed, that some of the programs (like MS Media player) can display Russian filenames, tags, etc. but cannot create mU3 (play list which is a plain text file) files. All Russian characters are replaced with ???? ??? ??... Can anybody give me a starting point to solve this problem? Any good links on this issue? Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|