There is not always just one connection string per DevForce application. However, there is just one connection string per RdbKey,
Here is how you can get the connection string:
First get the IdeaBlade.config instance
Dim value As ms-its:C:\Program%20Files\IdeaBlade%20DevForce\Documentation\IdeaBlade%20DevForce%20Consolidated%20Help.chm::/7/IdeaBlade.Util~IdeaBlade.Util.IdeaBladeConfig.html - IdeaBladeConfig
value = ms-its:C:\Program%20Files\IdeaBlade%20DevForce\Documentation\IdeaBlade%20DevForce%20Consolidated%20Help.chm::/7/IdeaBlade.Util~IdeaBlade.Util.IdeaBladeConfig.html - IdeaBladeConfig .Instance
From the IdeaBladeConfig, get the RdbKeys collection which is an ms-its:C:\Program%20Files\IdeaBlade%20DevForce\Documentation\IdeaBlade%20DevForce%20Consolidated%20Help.chm::/7/IdeaBlade.Util~IdeaBlade.Util.IdeaBladeConfig+XmlRdbKeyCollection.html - IdeaBladeConfig.XmlRdbKeyCollection
Select one of the XmlRdbKeys in the collection (often the one with the name of "Default")
Get the connection string from the connection property.
|