Coresuite Choose From List in SAP Addon
Simon Xe
Hallo,ich schreibe derzeit ein kleines SAP Addon mit Visual Basic.
Ich habe bereits das coresuite framework eingebunden und kann auch deren Funktionen zugreifen.
Im Programm soll nur bei einem TextFeld das ChooseFromList wie es beispielsweise in der Coresuite Time erscheint auftauchen.
Dim test As New SwissAddonFramework.UI.Dialogs.ChooseFromList(New SwissAddonFramework.UI.Dialogs.ChooseFromList.DefaultSQLQuery("SELECT CardName FROM OCRD"), "txt_KUNDE", True, True, SwissAddonFramework.UI.Components.TextEdit.GetFromUID(SwissAddonFramework.UI.Components.Form.GetFormFromUID(SBO_Application.Forms.ActiveForm.UniqueID.ToString), "txt_KUNDE"))Ich bekomme diesen Fehler: "Die Datei oder Assembly "SAPbouiCOM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden."
Ich denke es liegt daran, dass ich die SAPbobsCOM.Form nicht mit SwissAddonFramework.UI.Components.TextEdit.GetFromUID() aufrufen kann?
Kann mir jemand helfen wäre sehr nett! :-)
Simon Xe
Niemand eine Idee?Paolo Manfrin
Hi Simon,have you added the references to:
SAPbobsCOM.dll
SAPbouiCOM.dll
SwissAddonFramework.dll
Loader.dll
to your project?
Are you compiling in x86 mode?
Regards,
paolo
Thomas Bühler
Hi,
this post is rather old but I had also this kind of problems...
I was able to solve this by checking that the dependency settings of the two referenced files
SAPbobsCOM.dll
SAPbouiCOM.dll
were set to "Copy local = True"
Best regards,
Thomas
0
Please sign in to leave a comment.
Comments
0 comments