Hi,
How can i start an applicaiton whenever a specific application starts?
Let me say in that way:
when someone starts excel, i need my application to start.
I don't want my application is always running and checking whether excel is
started or not. Is there another way: by using registry or something? 3 1625
On Aug 10, 4:18 am, KT1972 <KT1...@discuss ions.microsoft. comwrote:
Hi,
How can i start an applicaiton whenever a specific application starts?
Let me say in that way:
when someone starts excel, i need my application to start.
I don't want my application is always running and checking whether excel is
started or not. Is there another way: by using registry or something?
No, you'll need to have a listener running to trap whenever Excel
opens, I don't believe there is an easy way to "attach" your program
to another.
However there are two ways I can think of to accomplish this (sort of)
1) Replace the standard excel shortcuts with one that will start your
program and Excel
2) Change the program associated with .xls files from Excel to your
program. Then when your program loads, create an instance of Excel,
open the file the user requested, and show the Excel workbook.
Thanks,
Seth Rowe
On Aug 10, 9:18 am, KT1972 <KT1...@discuss ions.microsoft. comwrote:
Hi,
How can i start an applicaiton whenever a specific application starts?
Let me say in that way:
when someone starts excel, i need my application to start.
I don't want my application is always running and checking whether excel is
started or not. Is there another way: by using registry or something?
Another idea is to open Excel, edit Excel's template file and create a
macro. Put the VBA code:
shell("C:\Mypro g.exe")
under the "Application_St artUp" procedure (for Excel's template
spreadsheet - which is always loaded even if they double click a file)
and when Excel loads, it will call this VBA procedure automatically,
which can be used to start your application. The drawback is that you
will need access to change the template file on ALL the machine's that
need your software to start as well. Essentially you need to modify
your applications installer to change their Excel template file, which
isn't too hard.
Phill
Thanks.
I decided on programming a listtener
"Phillip Taylor" wrote:
On Aug 10, 9:18 am, KT1972 <KT1...@discuss ions.microsoft. comwrote:
Hi,
How can i start an applicaiton whenever a specific application starts?
Let me say in that way:
when someone starts excel, i need my application to start.
I don't want my application is always running and checking whether excel is
started or not. Is there another way: by using registry or something?
Another idea is to open Excel, edit Excel's template file and create a
macro. Put the VBA code:
shell("C:\Mypro g.exe")
under the "Application_St artUp" procedure (for Excel's template
spreadsheet - which is always loaded even if they double click a file)
and when Excel loads, it will call this VBA procedure automatically,
which can be used to start your application. The drawback is that you
will need access to change the template file on ALL the machine's that
need your software to start as well. Essentially you need to modify
your applications installer to change their Excel template file, which
isn't too hard.
Phill
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: GIMME |
last post by:
Background ...
I've created a web application that allows a user to create an
HTML application from IE.
The application itself creates an XML representation of a XHTML
form. The XHTML representation can be saved as a string and recreated.
(The application also has a crude workflow aspect - so XMHTML forms
can be created and assigned a workflow. Forget I said anything about
|
by: Kenneth |
last post by:
Hi,
I've upgraded to .NET 2003 and I opened an .NET 2002 app
and let the new IDE convert it to .NET 2003 project.
Then I tried to start the application but it keeps on
saying "Error while trying to run project. Unable to start
debugging on the web server. The project is not configured
to be debugged. Click Help for more information".
|
by: Bob Day |
last post by:
Using vs2003, vb.net
I start a thread, giving it a name before start. Code snippet:
'give each thread a unique name (for later identification)
Trunk_Thread.Name = "Trunk_0_Thread"
' allow only 1 thread per line
Trunk_Thread.ApartmentState = ApartmentState.STA
|
by: Atley |
last post by:
I want to be able to pass information to my application viw Command Line
Switches.
I want to be able to pass an operator ID to my application from a command
line switch.
I cannot find anyway to do that in Visual Studio .net 2003
|
by: APA |
last post by:
In the Application_Start event I load several static variables with data from the database that are critical to the execution of the application.
My question is that during app start if a second request comes in before app start is complete does it wait for app start to complete or does it go
straight to BeginRequest? It appears in some cases that begin request is being called before app start is finished. We know this because we test for...
| |
by: pizza |
last post by:
Hi !
can a asp.net application developed in vs.net 2005 run in server
with .net framework 1.1 installed ?
|
by: =?Utf-8?B?Vmlua2k=?= |
last post by:
Hello Everyone,
I have an exe application that I want to start remotely.Once I start the
application,
I want to press ok to that application. To start the application, I did
Process.start("C://test/app.exe"). I am writing this code in a C# web
application, famework 1.1
How can I press ok to that started application.
Any help will be apprecaited
|
by: cvairetti |
last post by:
Hi,
I just write an application in C# that show an interface with five
button, each button starts an external application that it comes in
front of the main C# application with focus on. When the users finish
to use the external program and close it, under there is still the c#
application that let the user choose other software to start.
Now the problem is that sometimes I lost the focus of the external
application and so it becomes...
|
by: coopdog |
last post by:
This is a new issue as of an install to sp1 on vb express 2005. When I publish the application to my drive then I try to install it is wants to be installed from the same location as it was originally install.
Any help would be great it is a real pain having to uninstall then install this update.
Also all users are admins.
Thanks
Mike
|
by: jcorbett |
last post by:
Anyone ever done it? I basically need to create an app similar to a
profanity filter... when a certain word in HTML appears, it gets
replaced before the user sees it. The only resources I can find from
Microsoft are written in C++ and are very vague (implement this
interface, implement that interface, instead of sample code). Looking
for help.
Thanks,
--Jon
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |