on 04-19-2007 10:19 AM
Hello everyone,
I am new to SDK in SAP B1.
I have developed a VB.net simple form without using screen painter and without DB connectivity for example. Then I create an exe file. Then using AddonReg....exe i create the ARD file. I put the ARD file in SAP B1 through Add-on registration. As soon i say install with the package. The form opens and after closing the form then sap b1 hangs...
I'm not sure with thge procedure.....Can anyone suggest me the procedure, if have vb.net form what should i do then after. do i also need to create a depolyment and setup for vb.net project.
And how can i see the vb.net form in SAP B1 menu.
Any help will be appreciated...
Thanks
Ravi
Hi
I'm not sure how you created your vb program.
But you should do the following.
1) Connect (can either connect to the database through DI API, connect to SAP Client called UI API, if you want both you can use single sign on method)
2) Then have System.Windows.Forms.Application.Run(), this is saying let my program run With the client.
What you must remember is that when you working with the SAP GUI, you need your app to run and then receive "events" from SAP and then perform an action. An event is like when you click on a button and so on.
So for the program you want to create you should be doing the following.
-Connect
-add menu to SAP menu.
- Have System.Windows.Forms.Application.Run(),
-Then you should have menu event code to say when menu item clicked on open a form.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use B1DE. This is a collection of wizards that integrates with Visual Studio .NET
and generates for you addons and setup code. You can get code in VB.NET or
C#.
You can download B1DE and other tools under Business One SDK Tools here
on SDN. It comes with source code and documentation.
Enjoy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.