dcsimg

Search:

Type: Posts; User: DrUnicode

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    202
    Views
    15,602

    Re: [vb6] Project Scanner

    How do you know what LCID to use since the original creators Administrator Locale for non-Unicode apps is NOT stored in the Vbp file.
    In dreammanor example, how would you know that you need to use...
  2. Replies
    202
    Views
    15,602

    Re: [vb6] Project Scanner

    As mentioned in thread #90, this is LCID 2052 DBCS, not UTF8

    What you see on U.S. system
    ---------------------------
    VersionComments="很棒的项目扫描器"
    VersionCompanyName="公司(LaVolpe)"...
  3. Replies
    202
    Views
    15,602

    Re: [vb6] Project Scanner

    I always thought Vb6 IDE was ANSI and DBCS which depends on setting default LCID for non-Unicode apps.


    AFAIK you only need to change the default LCID for non-Unicode apps and not the Main...
  4. Re: Is it possible to add scrollbars to a frame?

    Have you tried ScrollControl by Leandro Ascierto?
    Comes with source code and has AutoScrollToFocus Property.
    http://leandroascierto.com/blog/scrollcontrol/
  5. Replies
    25
    Views
    3,459

    Re: [RESOLVED] UniCode ToolTips ?

    AAraya
    ------
    Not sure why you are creating another UC just to gain Unicode ToolTips.
    Attached is simplified project using VBCCR16.OCX from Krool, a Unicode ToolTip Class, and a Resource file with...
  6. Replies
    25
    Views
    3,459

    Re: [RESOLVED] UniCode ToolTips ?

    Try using UserControl.ContainerHwnd.
  7. Re: CommonControls (Replacement of the MS common controls)

    Several options here:

    1. Add 7 Properties to each control for full control of ToolTips.
    ToolTipTextW, ToolTipTitleW, ToolTipIcon, ToolTipStyle, ToolTipBackColor, ToolTipForeColor,...
  8. Re: [RESOLVED] Display time along with the date using DateTime Picker possible?

    Set Format to 3 - dtpCustom and set Custom Format to dd-mmm-yyyy hh:mm and you can edit both date and time with just one DTpicker.

    162731
  9. Replies
    10
    Views
    661

    Re: Remove selected item from Listbox

    To remove multiple items start with last item and work backwards.
    That way you only need 1 loop.


    Private Sub RemoveSelectedItems(lst As ListBox)
    Dim i As Long
    For i = lst.ListCount - 1 To...
  10. Re: Arabic Content are not showing in correct format

    What is the error number/desciption and what is the exact input string so I can replicate the error here?
  11. Re: Arabic Content are not showing in correct format

    DecodeURINew is wrong.
    Try this:


    Private Function DecodeURINew(ByVal EncodedURI As String) As String
    DecodeURINew = RTFToUnicode(EncodedURI)
    End Function
  12. Re: Arabic Content are not showing in correct format

    Try using this modified function:


    Function RTFToUnicode(strRTF As String) As String
    Dim vSplit() As String
    Dim uSplit() As String
    Dim tmp As String
    Dim i As Long
    Dim j As Long
  13. Re: Arabic Content are not showing in correct format

    Assuming you have valid Arabic Unicode (UTF16LE) here are several options that can correctly display Unicode.

    1. Use a Unicode aware MsgBox to prove that you indeed have Arabic Unicode.

    ...
  14. Re: Arabic Content are not showing in correct format

    StrConv is not going to fix this. It looks as if you may have RTF Unicode "\u0046".
    Was there a "?" at the end?
    Could you send us a complete sample string?
    To convert you would need something like...
  15. Re: Read Chinese characters in directory path

    If you are using Notepad++, open Encoding and select "Encode in UCS-2 LE BOM" before Save.

    161467
  16. Re: Count number of subfolders in a shared network folder

    Perhaps you are saving as ANSI (MBCS), which may look OK on Chinese OS but won't work.
    You must save as Unicode. In Notepad, use Save As and select Unicode from the Encoding DropDown combo.
  17. Re: Count number of subfolders in a shared network folder

    We were assuming Visual Basic 6 since this is a Vb6 forum.

    This script in Notepad (Save As Unicode) "FSOChinese.vbs" works without conversion.
    You do not need to play with Fonts. Just paste your...
  18. Re: Read Chinese characters in directory path

    We were assuming Visual Basic 6 since this is a Vb6 forum.

    This script in Notepad (Save As Unicode) "FSOChinese.vbs" works without conversion.
    You do not need to play with Fonts. Just paste your...
  19. Re: Count number of subfolders in a shared network folder

    AFAIK this issue is solved at http://www.vbforums.com/showthread.php?865739-Count-number-of-subfolders-in-a-shared-network-folder&p=5313707&viewfull=1#post5313707
    Works here for both U.S. English...
  20. Re: Count number of subfolders in a shared network folder

    Docs say StrConv LCID defaults to system LocaleID so I also thought I could just leave LCID blank for inner StrConv.
    Unfortunately, leaving it empty fails on Chinese OS (Path not found).
    As soon...
  21. Re: Count number of subfolders in a shared network folder

    This appears to work on both OS, English and Chinese.
    All it needed was GetSystemDefaultLCID so it knows how to correctly call inner StrConv.
    Now it uses 1033 on English OS and 2052 on Chinese OS....
  22. Re: Count number of subfolders in a shared network folder

    Private Function DecodeMBCS(ByVal S As String) As String
    DecodeMBCS = StrConv(StrConv(S, vbFromUnicode, 1033), vbUnicode, 2052)
    End Function


    Works OK on U.S. English system but not on...
  23. Re: Count number of subfolders in a shared network folder

    Updated for clarity.
    http://www.vbforums.com/showthread.php?865739-Count-number-of-subfolders-in-a-shared-network-folder&p=5313473&viewfull=1#post5313473
  24. Re: Count number of subfolders in a shared network folder

    VB6-IDE-Editor is MBCS when System Locale is Simplified Chinese
    if you have ever looked at commented source code from Russia/China/Japan/Korea on English OS you will see gibberish for the comments....
  25. Re: Unicode render issues with vbRichClient RC5

    Thanks. Khmer(Cambodian) now renders OK on Win10 Version 1803 Build 17134.228.
  26. Re: Migrating RichTextBox (RTB) Control to InkEdit Control

    Even though the OLE Events are not exposed, I was able to both Drag and Drop with InkEdit on Windows 10 v 1803 Build 17134.228.

    1. InkEdit Drop is Automatic and supports ANSI (vbCFText), Unicode...
  27. Replies
    9
    Views
    838

    Re: List of LCID by Font character set

    Fonts which begin with an @-sign are vertically-oriented fonts. They are used in languages like Chinese, Japanese, and (less often) Korean. The idea is that if you want to generate vertical text, you...
  28. Re: Unicode render issues with vbRichClient RC5

    Seeing problem with Khmer rendering. Didn't notice this before because Khmer language was only recently added to our resource file.
    The string is "KHM: សូម​ស្វាគមន៍" but it only renders "KHM: "...
  29. Replies
    7
    Views
    4,631

    Re: cwTree, MultiColumn + Icons

    AFAIK it is not the ucPanel that needs Horiz ScrollBar.
    It should be cwTree which in turn is created from cwList.

    Attached is a demo with HScroll implemented, shifting by column.

    160831
  30. Replies
    7
    Views
    4,631

    Re: cwTree, MultiColumn + Icons

    See this link which discusses ucPanel.
    http://www.vbforums.com/showthread.php?786401-About-cwTree-control-problem-in-vbWidgets-dll-(based-on-vbRichClient5-dll)&p=5308039&viewfull=1#post5308039
  31. Re: Way to catch letters with acutes or diaeresis during search

    Sorry. Forgot to remove the reference after replacing with InkEdit.
    Updated Zip file at...
  32. Re: Way to catch letters with acutes or diaeresis during search

    Olaf Schmidt posted a Function RemoveDiacritics that is fully Unicode aware (of course it works for ANSI too) at...
  33. Re: Way to catch letters with acutes or diaeresis during search

    Olaf Schmidt posted a Function RemoveDiacritics that is fully Unicode aware (of course it works for ANSI too) at...
  34. Re: Unicode render issues with vbRichClient RC5

    Just downloaded latest vbRichClient update (5.00.0067 23-Jun-2018 19:51:42) and I can confirm that Unicode rendering is now working perfect for all 22 languages in my resource file.
  35. Re: Unicode render issues with vbRichClient RC5

    Thanks. Looking forward to the fix being published.
    Cheers
  36. Unicode render issues with vbRichClient RC5

    I am seeing Unicode render issues with vbRichClient RC5. I thought this was working and even had a demo at...
  37. Re: Fastest way to render transparent stdPictures or pngs to grid cells

    You could use "Public Function GetPicture" to return a StdPicture with BackColor.
    However, there is no need for a MaskColor at all for 32bpp PNG images. It will render transparent on any background.
  38. Re: Fastest way to render transparent stdPictures or pngs to grid cells

    This is a lightweight (18k) GDI+ class by Olaf Schmidt to load and render PNG/ICO/GIF/JPG.
    This should be all you need to cache and render transparent images in a grid.


    Option Explicit

    Const...
  39. Replies
    16
    Views
    1,386

    Re: How to get unicode on KeyPress event?

    You should be able to do this in just a few seconds.
    Use NotePad++ to replace in all Form files "VB.TextBox" with "VBCCR15.TextBoxW" (without the quotes).
    You will also need to add VBCCR15.Ocx to...
  40. Replies
    58
    Views
    5,987

    Re: Win10 1803 - Any VB6 impacts to report?

    I didn't see any serious issues with 1809 and others have also installed it. If you install "Windows 10 Update Assistant" you may have better luck upgrading.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width