web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Registering OCX

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    keoma Profile Picture
    32,729 on at

    run the command shell in admin mode.

  • Community Member Profile Picture
    on at

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

  • Verified answer
    Amol Salvi Profile Picture
    18,698 on at

    Hi

    You can look at the following youtube video to register OCX

    www.youtube.com/watch

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    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

  • Community Member Profile Picture
    on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans