Originally Posted by
redbull
So this product has its own reference library for vba, and you can't get it to work? Mind putting some code up?
Yes, I can see the objects in object browser, but don't really know where to start with them. Here's what I'm trying:
Code:
Private Sub cmdZoiper_Click()
On Error GoTo Err_cmdZoiper_Click
Dim Zoi As ZoiperAPI.IZoiperCall
MsgBox Zoi.Version
Set Zoi = Nothing
Exit_cmdZoiper_Click:
Exit Sub
Err_cmdZoiper_Click:
MsgBox Err.Description
Resume Exit_cmdZoiper_Click
End Sub
It compiles, but when I run it I get the error 'Object variable or With block variable not set'. I seem to get this message every time I try to run anything. I'm a bit out of my depth here, I haven't tried to use non-microsoft code libraries before.
Thanks for your help
Matt