At line Set objBAPIControl = CreateObject("SAP.Functions")
I face the runtime error 429
ActiveX component can't create object.
The script was initially running in a 32 bit system now it is upgraded to 64 bit.
This is the logon script:
Private Sub SAP_Initialize_Objects()
Set objBAPIControl = CreateObject("SAP.Functions")
Set sapConnection = objBAPIControl.Connection
bln_SAP_Objects_Initiated = True
End Sub
If sapConnection.IsConnected <> 1 Then