Link to home
Start Free TrialLog in
Avatar of RETAILREALM
RETAILREALMFlag for United States of America

asked on

Get application title form exe name

I have an exe running named test.exe
I want to know the title of its window (application title)

Avatar of dublingills
dublingills
Flag of Ireland image

Assuming you are using vb.net you can use the following example:
Label1.Text = My.Application.Info.Title  'Gets the application product title
Label2.Text = My.Application.Info.ProductName  'Gets the application productname info
Label3.Text = Me.Text  'Gets the form 'text' property

Open in new window

Avatar of RETAILREALM

ASKER

Thanks for reply

Am using VB6.0 no dot net

Am in one application so my application is abc.exe

Now I want to find name of other application's caption whose exe name is  test.exe form  my application  abc.exe

ASKER CERTIFIED SOLUTION
Avatar of dublingills
dublingills
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, that worked perfectly