Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Registering OCX

Posted on by Microsoft Employee

Hi!

I've been trying to register the Lanham OCX/DLL for printing labels and E-ship. I get this error "Could not register OLE Control". I've reached out to Lanham, but it seems they have no immediate answer. Has anyone had the same problem?

I am using NAV 2016, SQL 2012 on SQL Server 2008 R2.

Thanks,

Flora

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Registering OCX

    1401.Capture.PNG

    Hi I tried following the video but it still failed. This came with an installer and it seemed to install just fine however whenever NAV tries to use it, i get an error when it's trying to call the function associated with this.

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Registering OCX

    As Jonathan offered, sometimes you need to run programs using system administrator rights. For that, indeed, first try to run command prompt in admin mode. Refer here how to do that:

    Start a Command Prompt as an Administrator technet.microsoft.com/.../cc947813(v=ws.10).aspx

  • Verified answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Registering OCX

    Hi

    You can look at the following youtube video to register OCX

    www.youtube.com/watch

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Registering OCX

    Thanks for the reply. What is the command for that? Can you teach me the script?

  • Verified answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Registering OCX

    run the command shell in admin mode.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans