DLL Registration problem

ajaybabuChajaybabuCh Member Posts: 208
Hi

I have registered on DLL file. After that I used that as an automation in Navision.

Again I have unregistered the DLL file, but still is showing the dll name in the automation list. How to remove the dll name in the automation list

thanks and regards
ajay
Ajay

Comments

  • kinekine Member Posts: 12,562
    Have you restarted the NAV client after you unregistered the library?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ajaybabuChajaybabuCh Member Posts: 208
    Hi Kine

    Restarting means. I didn't install navision server on my machine.

    I only install client. Could you please tell me clearly

    ajay
    Ajay
  • kinekine Member Posts: 12,562
    Just close the client and reopen it again. The Automation list is cached until you close the client... it means that if you have NAV opened and you unregister the dll, you can still see it in the list. But after you close the client and reopen it again, it will be gone...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ajaybabuChajaybabuCh Member Posts: 208
    Hi Kine

    I did that but it is still there.

    ajay
    Ajay
  • ajaybabuChajaybabuCh Member Posts: 208
    Is there any way that we can clear navision cache
    Ajay
  • kinekine Member Posts: 12,562
    No, you cannot clear the cache. If the automation is still thee and you have unregistered it, it means

    1) Unregister is not correctly working in the dll
    2) You have another instance of the DLL registered (e.g. another version). Look into the Automation table in Nav to look at the path to the DLL if it is same as you are unregistering.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ajaybabuChajaybabuCh Member Posts: 208
    Hi Kine

    I placed the dll in the client folder and I registered. But in the automation table the path is showing as follows

    C:\WINDOWS\DLLFileName.tlb

    is It correct Or wrong. Why it has taken as .tlb extension

    ajay
    Ajay
  • kinekine Member Posts: 12,562
    Just read some documentation about DLL, TLB and .NET libraries etc.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ajaybabuChajaybabuCh Member Posts: 208
    Hi Kine

    I unregistered .tlb file also. Know , automation llist is not showing the dll name. But Could you please tell me , if I register dll file will it create tlb file also

    ajay
    Ajay
  • garakgarak Member Posts: 3,263
    check the windows system, if the dll is unregisterd in the registry
    Do you make it right, it works too!
  • EugeneEugene Member Posts: 309
    But Could you please tell me , if I register dll file will it create tlb file also

    depending on how you created your dll (what tools you used) your dll maybe capable or not of generating its tlb (dlls usually have functions inside them that can help to generate tlb). Most likely Navision uses those functions to generate the tlb for later use (for example when you press F5 to pick up functions syntax in Navision)
Sign In or Register to comment.