I want to create a Navision Custome Control (OCX or DLL) -> for example one dll which create a "Hello World" massagebox after starting from navision.
I use Visual Studio 2005 .NET. C# is the favorieted language.
Can someone give me a Code example or guide for the dll?
Check out our new
NAVonline HelpDesk0
Comments
Namespace Something
<ClassInterface(ClassInterfaceType.AutoDual)> _
Public Class Starter
Public Sub SayHello()
messagebox.show('Hello world')
End Sub
End Class
End Namespace
in prpreties of solution chose "output type" - class library
in configuration prop check the "registrer for COM interop"
Now you can use method of your dll in navision
Regards
in configuration prop check the "registrer for COM interop"
can you give me a hind?
I find it!
I can't import the dll in Navision Custom Controls. Error: OLE Control can't register
..psst. you can't register dotNet components in NAV Custom Controls, use regasm instead..
Rvduuren
http://valpi.pt/web/valpi.nsf/a9d3838b9 ... enDocument
http://www.BiloBeauty.com
http://www.autismspeaks.org
The other Samples i will test tomorrow - thank you all
Some sample code could be useful if you have done so in the past.
Thanks.
Tim Larson