Not able to View a dll

Chills
Member Posts: 6
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
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
-
Is it a .NET dll-file?0
-
Chills wrote: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
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?0 -
Hi Waldo,
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
Chills0 -
It's not a .net dll. Dll was developed in Power Builder COM Objects. Please suggest me some options to access the functions of the dll.
Thanks
Chills0 -
Yes. I did it. When i register the control, i am not gettin any error message. I am able to register it from Navision too..0
-
i remembered in some nav objects, some components (possibly office components) don't seem in automation list in my pc.. in standart nav codeunits, they work well but in global variables list, i see their class ids instead of their class names..
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....0 -
Thanks for the Reply.
How do i find the class id of a dll?0 -
can't see the dll in my OCX list
Try to look into Automation list (define Automation variable and not OCX)-you can look into "Automation Server" virtual table (Table 2000000046).0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions