| Author: Nikhil Gaur 14 Aug 2009 | Member Level: Bronze | Rating:  Points: 2 |
nice post rangan. can you please explain me more about SAP i am new in this field and want to know more about SAP as i heard much about it.
|
| Author: Programmer 26 Aug 2009 | Member Level: Bronze | Rating:  Points: 5 |
You can also connect to company using the following function -
Public Function ConnectToCompany() Dim objCompany As SAPbobsCOM.Company objCompany = New SAPbobsCOM.Company objCompany = application.Company.GetDICompany objCompany.Connect() If objCompany.Connected = False Then application.MessageBox("You are not connected to company !") End If End Function
Call the above function after the function SetApplication().
|