Results 1 to 9 of 9

Thread: richtx32.ocx control error at the destination PC

  1. #1

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Talking richtx32.ocx control error at the destination PC

    Hai friends

    one of my clients have reported the follwing after installing my software on his pc.

    "Failed to load control 'RichTextBox' from richtx32.ocx. Your version of richx32.ocx may be outdated. Make sure you are using the version of the control that was provided with your application. "

    shall i instruct him to register ocx uing regserver or whatever command?

    A simple solution woruld be much appriciated?

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: richtx32.ocx control error at the destination PC

    Your client already has the file, but it is outdated. He would need to download the new version. Once you have sent him the new file, he needs to run this:

    regsvr32 c:\windows\system32\richtx32.ocx

    Thats the usual path of the file anyway.

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

    Re: richtx32.ocx control error at the destination PC

    You can get the last version available by downloading the distributable runtimes from ms or making sure you have SP6 installed for VS.
    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

  4. #4

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: richtx32.ocx control error at the destination PC

    Hai Grimfort.

    Thank you very for the answer.
    i have send the customer a new version of richtxt32 and have instructed to run the
    regsvr32 c:\windows\system32\richtx32.ocx command and waiting for the answer.

    I hope this should solve his problem.

    Thank YOu.

  5. #5

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: richtx32.ocx control error at the destination PC

    Quote Originally Posted by RobDog888
    You can get the last version available by downloading the distributable runtimes from ms or making sure you have SP6 installed for VS.
    Hai Rob

    Yes, a good point.

    i have send him the version 6.0.88.4

    If he reposrts the same problem then i will send the latest version again.

    Bye.

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

    Re: richtx32.ocx control error at the destination PC

    Dont forget that he may need to register it like previously posted.
    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

  7. #7

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: richtx32.ocx control error at the destination PC

    Quote Originally Posted by RobDog888
    Dont forget that he may need to register it like previously posted.
    Sure Rob.

  8. #8

  9. #9

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: richtx32.ocx control error at the destination PC

    Quote Originally Posted by MartinLiss
    Moved.

    Are you using an installer program like the P&D Wizard or Inno? If you are the then end user shouldn't need to do anything.
    Hai martin

    Yah, i am using Inno Setup 5 an i wonder y this happen 1 in 5000 .

    MY innosetup script line for richtx32.ocx is : Source: "x:\Projects\Distribution\richtx32.ocx"; DestDir: "{sys}"; Flags: onlyifdoesntexist uninsneveruninstall regserver

    But it is true that the installer normally prompt on 2k and 9x systems (as i remember) when it attempt to overwrite files. so the customer may be using a 9x / 2k version and when installer prompted to overwrite files he might have sad No.

    my first response to him was to say yes if the installer prompts for file overiwrite permission. from my first response there is no reply yet.

    I started this thread to pepare the answer if my first response fails.

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