on 09-25-2008 8:52 AM
Hi,
I created a new menu item named "Booking". However, under the MenuEvent procedure, I have no idea how to activate another User Form in another VB.NET project.
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If (pVal.MenuUID = "Booking") And(pVal.BeforeAction = False) Then
SBO_Application.MessageBox("Menu is Clicked")
....
....
....
End If
Please help.
Thanks
Thanks for your reply.
I am still confused.
This sample call-up another form in the same class.
But my question is, I've already defined a user form in another VB.Net project.
How can I call the defined user form from this vids.vb.
Pls adv.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm not 100% sure how to do this, but maybe you could try one of the following options?
1. If you just need the form and are going to use it differently in the other project, then you can export the form to XML in the first project and then import it from XML in the second project.
2. However, I would guess if you want to reuse the form ,you also want to reuse it's functionality? If this is the case, I would suggest just copying the code from one project to another.
3. Finally, is it possible to just run both add-ons at once?
Perhaps someone else has a more direct way of doing it, but off the top of my head these would be the three options I would consider.
Regards,
Niall
HI,
Please check this sample it will give u the complete Idea,
The sameple is found in the following path.
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI DI\VB.NET\UIDIBasicApp\VIDS
Hope it helps u..
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
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.