Solved

Accessing the text in the title bar

Posted on 2004-08-17
1
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

630 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