I wondered if anyone is using VS.Net 2008 (specifically vb.net) with the minibroker. I am getting COM errors when trying to use the .Connect method. Here is a code snippet:
Private miniBroker As ISYSMiniBroker = New SYSMiniBrokerClass
Private root As IRemotePremiseObject
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
root = miniBroker.Connect("LocalHost", "", "")
PremiseObjectTree.Nodes.Add(New TreeNode(root.DisplayName))
End Sub
I am using a tutorial I found here: http://www.satter.org/premise/
This line: root = miniBroker.Connect("LocalHost", "", "") causes an ambiguous COM error.
Has anyone had any luck with using the minibroker nd vs.net 2008?
Matt
Private miniBroker As ISYSMiniBroker = New SYSMiniBrokerClass
Private root As IRemotePremiseObject
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
root = miniBroker.Connect("LocalHost", "", "")
PremiseObjectTree.Nodes.Add(New TreeNode(root.DisplayName))
End Sub
I am using a tutorial I found here: http://www.satter.org/premise/
This line: root = miniBroker.Connect("LocalHost", "", "") causes an ambiguous COM error.
Has anyone had any luck with using the minibroker nd vs.net 2008?
Matt