Results 1 to 6 of 6

Thread: ListView Displays Garbage Text

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2007
    Posts
    3

    ListView Displays Garbage Text

    Hi,

    I am new in developing VB applications. Currently I have using the following configuration:

    XP PRO SP 2
    VB 6 SP 6

    I noticed that when i upgraded to the new mscomctl.ocx (downloaded from MS) my listview behaves abnormally. Sometimes it displays garbage text. Then after that my whole application crashed.

    I read somewhere here that mscomctl.ocx should be almost the same version as the comcat.dll to make the listview work?

    I have the following versions:

    comctl32.ocx - 6.0.81.6
    mscomctl.ocx - 6.1.97.86
    comcatl.dll - 5.0.2600.1

    When I run my application in a Win2000 PC, everything is normal...
    Can someone tell me what is wrong? I ahve been searching the net for 3 days now with no avail.

    By the way, great forum! learned a lot from the past days...

    Hope you can help me out here!

    Tnx!

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: ListView Displays Garbage Text

    One thing is you should not be deploying this file


    comctl32.ocx - 6.0.81.6

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2007
    Posts
    3

    Re: ListView Displays Garbage Text

    But when I installed VB 6 SP 6 and download the hotfix from MS i got this file (don't know if it was there in the firts place) so what should i do?

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: ListView Displays Garbage Text

    Don't deploy it. The hotfix was for the OS not VB6.

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2007
    Posts
    3

    Re: ListView Displays Garbage Text

    I don't deploy the said file. In my VB6 application I use MSCOMCTL32.ocx in the Project\Components.

    I just mentioned it in my post as I thought it is worth mentioning

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: ListView Displays Garbage Text

    You shouldnt need any hotfix for it as the SP-6 is the important thing here. You may need to restore the previous version of the ocx's on the XP system as they more then likely are different versions.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width