Solved

Accessing the text in the title bar

Posted on 2004-08-17
1
165 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
ID: 11826416
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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