Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access running applications properties and methods

Status
Not open for further replies.

marieotoole

Programmer
Dec 13, 2000
2
IE
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
 
This is the .Net forum. You want forum222.



Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top