CFRONT AND VB.NET

wonmo
Member Posts: 139
I'm trying to use the CFront OCX in VB.NET but am coming across instantiation errors. Does anyone have any experience using CFront in VB.NET? This is the code I'm using to create the instance:
Dim Nav As New CFRONTLib.CFRONT()
When I run the program I get an error saying that the subsequent statement (Nav.ConnectServer("Servername", "tcp") is not referencing an instance of the object. Any ideas?
Dim Nav As New CFRONTLib.CFRONT()
When I run the program I get an error saying that the subsequent statement (Nav.ConnectServer("Servername", "tcp") is not referencing an instance of the object. Any ideas?
0
Comments
-
I had the same problem when i tried using the C/FRONT OCX for NF2.6 from c#. I built a c# library that uses the cfront.dll file. It's available, including source code, at cambridgelaan.dyndns.org/~phnagel/navision/
Be aware of the fact that this is justy a first release and does not come with any guarantees.
regards,
Peter Nagel
Developer
<small>[ 05-09-2002, 00:31: Message edited by: Peter Nagel ]</small>0 -
I had no problems using the OCX in C#. Simply add the OCX as a reference in the project and it works. I am using the latest version of Visual Studio.Net (SP1) and .Net Framework SP2.
Regards,
- m a r k ú s0
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