11-26-2024
02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-26-2024
02:17 AM
Just as a test you could change the function StandardAddInServer.Automation(...) in your addin to something like this:
Public ReadOnly Property Automation As Object Implements ApplicationAddInServer.Automation
Get
If Not (_myVariableObjectIs Nothing) Then
MsgBox(_myVariableObject.MyVariable)
Else
MsgBox("Apparently the object remains Nothing")
End If
Return _myVariableObject
End Get
End Property
Now run your iLogic code. You should get a messagebox from your addin.
If your variable _myVariableObject is here also nothing then I expect that there is something wrong in the function StandardAddInServer.Activate(...) In my previous example I set the values on lines 8 and 9
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com