deviceofmisery
19th November 2010, 06:17
Hallo all,
i work as an intern and now i have a new project where i need to build an .Net application witch need to communicate with our Baan system. During the last days i read alot about how to create code for the baan communication. But i never read WHERE. I m totalz new in Baan and don t know if i need to insert a dll in my c# project of if there is a kind of editor in Bann itself!?!?
Can anybody please help me???
mark_h
19th November 2010, 15:05
Without really understanding what you are doing my recommendation is to contact infor for documentation. I have never done a .net application, but I believe you can get to Baan data through direct access or maybe calling BaaN code or libraries. Baan allows a varietie of editors to create programs(or DLL's) in Baan. But your .net development would be on another platform to call the baan code. At least from what I understand. As mentioned infor should have some documentation to help with that.
deviceofmisery
20th November 2010, 09:46
yes, direct access sounds good. but where can i get the special libraries and how they are named?
Anybody nows something?
Kozure Ohashi
20th November 2010, 19:12
There is some functionality from baan for vba. In every bw client directory is some sample code and documentation with excel and a vb library.
Link: VB / VBA
http://www.baanboard.com/baanboard/showthread.php?t=57142&highlight=visual+basic
Link: VB.NET
http://www.baanboard.com/baanboard/showthread.php?t=57754
Link: Using BOBS and ASP.NET
http://it.toolbox.com/blogs/baan-apps/asp-net-and-bobs-10751
Regards,
Kozure
deviceofmisery
22nd November 2010, 05:21
Sorry to make me sound like on repeat, but i'm getting crazy by not finding the necessary library.
Where can i creat and/or find the library which i need to include in the c# project.
Anybody can help?
ulrich.fuchs
22nd November 2010, 14:59
There is no C# (or any other language) libarary to include.
What people are talking about here is to use OLE (object linking and embedding). Yes, this 10 year old technology. You will need to have the Baan client software (bw.exe) installed on your computer. During the creation of configuration files for this application (.bwc-files) Ole-Objects get installed (and registered in the windows registry). Basically, you will have to use OLE-Functionaliy of C# (you will have to find out how), to create such an OLE-Object (do a search here in the Forum to find some visual-Basic examples).
If you have that OLE-Object, you basically have a connection to the Baan client on your client. Now you can call a method on that client, that in turn calls Baan-internal functionality on the Baan server.
Hope that helps
Uli