Access running applications properties and methods

smree

New member
Joined
Jun 24, 2007
Messages
1
Programming Experience
5-10
We are currently re-designing and developing our VB6 application in VB.NET.

In our VB6 application 3rd party applications can call methods and properties to set/get values and access functionality

VB6 e.g.

Dim Ad32 As Object
Set Ad32 = CreateObject("Adest32.clsAdest32")

With Ad32
.Module = 3 'Retrieve Module
.Criteria.SetCategoryByName = sCategory

If sFieldLabel <> "" And sFieldValue <> "" Then
.Criteria.Text(sFieldLabel).Text = sFieldValue
End If
.WindowState = 2
.Action = 1
.ProcessAction
End With

Set Ad32 = Nothing

The user would click a button in the 3rd party application and the properties would be changes in a running copy of our application.

Anyone have any ideas on how to achieve the same functionality with VB.NET. When I try to re-create this in .NET the test application will link to its own instance of the created object instead of the running instance.

THanks
Marie
 
Back
Top