473,394 Members | 1,693 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,394 software developers and data experts.

Calling Windows Application and Executing tasks within Application

171 100+
Hi,
I have an application which I would like to firstly open Automatically, and secondly after the application has opened it should execute certain commands within the opened application automatically.

I would like to give the command explained in the above paragraph through MS Access and from experience MS Access VBA talks to Windows quite well. If there is a way to do this without VBA that's fine as well

So for example if I could do something where:
1. The Application opens,
2. once the Application is open, Windows gives the application the following commands:
[{Alt}]
[{DOWN}]
[{DOWN}]
r
[{DOWN}]
[{DOWN}]
r


Your help as always is very much appreciated
Oct 7 '09 #1
2 1673
Studlyami
464 Expert 256MB
What do you mean that you would like the program to open automatically? Do you mean when you start up your computer? If so what OS? On windows XP add a shortcut to "Documents and Setting\<User Name>\Start Menu\Programs\Startup". I don't know VBA or MS Access, but I know most programming languages provide a way to simulate keystrokes in the program. What do you want the application to do? What can't you just do it in the code without sending the alt,down,down to the program?
Oct 7 '09 #2
iheartvba
171 100+
Hi Studlyami,
thanks for the response,
1. I would like the program to open via a proceedure in MS Access i.e. so practically I would have a button on a form, which causes the program to open
2.I would like to have the key strokes simulated in the program itself, without me having to run a macro etc in the program. So after clicking 1 button the program should open and the key stokes should be simulated.

Thanks
Oct 7 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Marco Vasquez | last post by:
Hi everybody, I would really appreciate any help in implementing Web Popup windows using User Interface Process Application Block. Thanks in advance, Marco
6
by: ToeKnee | last post by:
I have a c# component that can be used in various executables. I need a way in the code of this component to determine if the executable that loaded it is a Windows Service -or- a Console/Windows...
2
by: Chris | last post by:
Hi, Currently, I have a console application written in C# and an unmanaged legacy DLL written in VC++ 6.0. In the DLL's previous application, when an event occurs in the DLL, a windows message...
3
by: Peter Strøiman | last post by:
Hi. I have a web application that needs to run tasks at regular intervals. E.g. it must send out emails every night to people who subscribe to that service. I have come up with one solution,...
7
by: Alice Wong | last post by:
I am setting up my Web ASP.net application to connect to Sql server using windows authentication. I set up IIS to have integrated windows authenication and sql to allow Windows authentication....
35
by: Michel Sanner | last post by:
Hello, One of the greatest feature of Python in my opinion is the way the interpreter can be used to integrate a wide variety of software packages by dynamically linking them. This approach has...
1
by: madhawa84 | last post by:
i want include some functionality of the OS ,such as starting and shutting down and taking a screen shot, in to my application.Is that possible in java .where can i find some guidance on this...
9
by: Alex | last post by:
Get the Name and Phone Number of the Current Windows User in a .NET Application I am writing a simple .NET (C#) application. It needs to "automatic" get the Name (last, first) and phone number...
7
by: Ashutosh Bhawasinka | last post by:
Hi, I have a C# .Net application which needs to use some feature which can be only developed in Visual C++ (its extended MAPI). The C# exe will be supplied to users without a setup. What kind...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.