Solved

Accessing the text in the title bar

Posted on 2004-08-17
1
161 Views
Last Modified: 2010-04-23
I'm used to using VB 6.0 and when I wanted to access the text in the title bar of an external application I would just use SendMessage.  This doesn't seem to be working.  Is there a different way to accomplish this in VB.Net?  Also, does one access the windows API functions differently in VB.net than VB 6.0?
0
Comment
Question by:McBluffin
1 Comment
 
LVL 10

Accepted Solution

by:
heintalus earned 250 total points
Comment Utility
Hi McBluffin

API declarations in VB.net is different to VB 6.0 see this useful FAQ for more info

http://www.devcity.net/forums/faq.asp?fid=15&cat=Interop&#TID47436

You might also want to look at this post

http://www.devcity.net/forums/topic.asp?tid=69861&page=2

Which deals more with your specific need, in it I show how to use the FindWindow, FindWindowEx & SendMessage APIs in VB.Net

HTH
Andy
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now