Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Accessing the text in the title bar

Posted on 2004-08-17
1
Medium Priority
?
168 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 1000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

722 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