473,320 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Sending keys to an appl. window

Hi,

How do I send ALT+T keys to an application window. I can find the window
using FindWindow api and get the window handle. But I'm problem passing
ALT+T to it.

Thansk in advance and regards

Navin
Jul 21 '05 #1
4 1533
Navin-

Use the SendKeys class of the System.Windows.Forms namespace.

Marc Butenko
mb******@bresnan.net

"Navin Mishra" <Na**********@icn.siemens.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

How do I send ALT+T keys to an application window. I can find the window
using FindWindow api and get the window handle. But I'm problem passing
ALT+T to it.

Thansk in advance and regards

Navin

Jul 21 '05 #2
Navin-

Use the SendKeys class of the System.Windows.Forms namespace.

Marc Butenko
mb******@bresnan.net

"Navin Mishra" <Na**********@icn.siemens.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

How do I send ALT+T keys to an application window. I can find the window
using FindWindow api and get the window handle. But I'm problem passing
ALT+T to it.

Thansk in advance and regards

Navin

Jul 21 '05 #3
Does anyone have an example of doing that using .NET using windows API from
there? I tried SendKeys .NET class but it doesn't work for me.

Thanks in advance and regards

Navin
"Navin Mishra" <Na**********@icn.siemens.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

How do I send ALT+T keys to an application window. I can find the window
using FindWindow api and get the window handle. But I'm problem passing
ALT+T to it.

Thansk in advance and regards

Navin

Jul 21 '05 #4
Does anyone have an example of doing that using .NET using windows API from
there? I tried SendKeys .NET class but it doesn't work for me.

Thanks in advance and regards

Navin
"Navin Mishra" <Na**********@icn.siemens.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

How do I send ALT+T keys to an application window. I can find the window
using FindWindow api and get the window handle. But I'm problem passing
ALT+T to it.

Thansk in advance and regards

Navin

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pola | last post by:
Please Help I am using VC++ in win 2000 In my appl (Win32 project) I want to control the close operation of the apl (for example if somebody will try to close appl from the "Windows Task Manager")...
3
by: DraguVaso | last post by:
Hi, I need to send some emails in my Windows Service (VB.NET 2005). I made for that a simple class, which works fine when I use it in a Windows Forms application. Although: When I put it in...
1
by: José Joye | last post by:
Hi, For some reason, I have a VB6 appl (that expose no forms) that I mustcontrol using a C# service. I'm able to start it from my service using the Process class. However, I do not really...
3
by: Steve Richter | last post by:
Is it possible to code a windows .net desktop application so that it behaves like an asp.net / browser application? Where the window form would not have x,y coordinate limits and would have...
6
by: Alpha | last post by:
Hi, I'm fixing a bug in an application and need to step thru the appl to find where it's occuring. The main project includs 33 other projects each having a .resx file in it. When I step through it...
2
by: Itjalve | last post by:
I have a heap problem in my com exe server. When i use windbg as the compiler in application verifier is windbg started and i can press 'g' and the server is running unitil i get the exception. ...
4
by: Navin Mishra | last post by:
Hi, How do I send ALT+T keys to an application window. I can find the window using FindWindow api and get the window handle. But I'm problem passing ALT+T to it. Thansk in advance and regards...
4
by: Adriano | last post by:
Hello, I'm using VS.NET 2003, can anyone please send me a code for sending emails/ thanks in advance! Adriano
0
by: Andrea | last post by:
Hi I've having a very strange problem using the SendInput API to send text to other applications. I've written the code and it seems to work well. I discovered a strange problem: when I try to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.