Hi ,
I am able to register the dll from Tools->Custom Controls, but when i go to the Navision Codeunit to declare the variable to reference that dll, i can't see the dll in my OCX list. I have also tried registering the dll from command prompt using regsvr32.
Can any body tell me what will be the reason? If i can't view the dll, then what will be my options to access a function of that dll. Please let me know your thoughts.
Thanks
Chills
0
Comments
What kind or dll are you trying to use? Is it a (visible) control? (this is not possible) Is it Automation? Is it custom? ... . What is the purpose?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Thanks for the reply..
dll has been developed by third party software to access their software. It's not a visible control, it just has one funciton which takes a string parameter and returns a string. Purpose of the dll function is to send the Sales Order information to the third party software. When user releases the Sales Order, we need to send the information from navision to the third party software. Third party software takes care the distribution (logistics) of the products.
If i can't access the dll from navision, what are my other options? Please suggest me other options..
Thanks
Chills
Thanks
Chills
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
my recomendation is: export a standart codeunit that uses excel automation as textfile,not fob.. explorer how automation variables are defined in the text file..search for your component in the registry and find its class id.. replace the class id of excel automation variable with the class id of your components in the text file..replace the id of original codeunit to 50000 (or something like that),import and use it...i think it works....
How do i find the class id of a dll?
Try to look into Automation list (define Automation variable and not OCX)-you can look into "Automation Server" virtual table (Table 2000000046).
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.