on 04-15-2014 9:32 AM
HI Experts,
After execution/start of my add on and whenever i press TAB button, i am getting attached error.
Please let me know how to rectify this error.
Thanks
Hi,
Can you pls add the attachment?
Regards
Ad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ad kerremans,
Thanks for reply....!
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
//Application.EnableVisualStyles();
//Application.SetCompatibleTextRenderingDefault(false);
//Application.Run(new PurchaseRequisition());
PurchaseProposal oPP = null;
oPP = new PurchaseProposal();
System.Windows.Forms.Application.Run();
}
}
}
Please find the above statement.
Please find below statements for method PP fucntionality
public PurchaseProposal()
{
SetApplication();
if (SetConnectionContext() != 0)
{
SBO_Application.MessageBox("Failed setting a connection to DI API", 0, "ok", "", "");
}
if (ConnectToCompany() != 0)
{
SBO_Application.MessageBox("Failed connecting to the company's Data Base", 0, "ok", "", "");
}
SBO_Application.SetStatusBarMessage("RFQ Add On is initialising", SAPbouiCOM.BoMessageTime.bmt_Short, false);
AddMenus();
SetFilters();
SBO_Application.MenuEvent += new SAPbouiCOM._IApplicationEvents_MenuEventEventHandler(SBO_Application_MenuEvent);
SBO_Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler(SBO_Application_ItemEvent);
SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(SBO_Application_FormDataEvent);
SBO_Application.RightClickEvent += new SAPbouiCOM._IApplicationEvents_RightClickEventEventHandler(SBO_Application_RightClickEvent);
SBO_Application.SetStatusBarMessage("RFQ Add On Connected Successfully", SAPbouiCOM.BoMessageTime.bmt_Short, false);
}
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.