Solved

Accessing the text in the title bar

Posted on 2004-08-17
1
166 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Calendar Control 5 49
Copying from a network share 3 36
ASP.NET Load html part first, then start function 2 37
Subtract dates in vb.net 6 31
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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 update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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