Focus on a window and read text from textboxes

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Hi - I'm new to VB.Net, and have a need for a small app.

1) small button on the screen somewhere (task bar, desktop)
2) when pressed, a certain window will be given focus, and two text
boxes on that window need to be read
3) with the two text boxs strings, I need to open a browser window,
based on a URL built from those strings

Can anyone please give me some guidance on how to do this, or where to
start?

Thank you,

Mark
 
Mark,

I won't give you code, since you should be learning but I'll tell you what you can search on...

You can create an application which minimizes to the system tray and uses a NotifyIcon component to popup a window. The window will obviously contain your textboxes and button. In the button's click event, I am assuming, you want the browser window to open. Correct? Check out System.Diagnostics.Process.Start()


I've put all the keywords in bold which should help your search.

HTH
Altaf [MVP]




--------------------------------------------------------------------------------

All that glitters has a high refractive index.
www.mendhak.com
Hi - I'm new to VB.Net, and have a need for a small app.

1) small button on the screen somewhere (task bar, desktop)
2) when pressed, a certain window will be given focus, and two text
boxes on that window need to be read
3) with the two text boxs strings, I need to open a browser window,
based on a URL built from those strings

Can anyone please give me some guidance on how to do this, or where to
start?

Thank you,

Mark
 
Hi Altaf - thank you - nothing appears in bold - but I am happy to
search for your hints.

It is not a browser window I need to focus - this is a 3rd party
application, which runs on users desktops. I need to focus on that,
read the customer/client they have selected, and the problem summary
they have typed in (this is a call tracking system) and use that to
create a URL which will open another 3rd party web application (running
in a browser) which will use those 2 pieces of information to search the
web based database.

Thanks anyway,

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top