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

How can I automate a running instance of a winforms app?


The Knowledge Base article below explains how to talk to a running instance
of an Office program:

http://support.microsoft.com/default...b;EN-US;316126
Is there any way I can talk to a running instance of a winforms app? I.e.,
Can I call some public method in a running winforms app from another
winforms app (or maybe a service)?

Does .Net even work like this?!?!

Thanks!
Nov 22 '05 #1
2 1701
Take a look at the System.Runtime.Remoting namespace... also look in the
..NET SDK help for the .NET remoting overview, and the sample of how to build
a remoting application.
-Brian

"Helen W" <he***@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...

The Knowledge Base article below explains how to talk to a running instance of an Office program:

http://support.microsoft.com/default...b;EN-US;316126
Is there any way I can talk to a running instance of a winforms app? I.e.,
Can I call some public method in a running winforms app from another
winforms app (or maybe a service)?

Does .Net even work like this?!?!

Thanks!

Nov 22 '05 #2
Take a look at the System.Runtime.Remoting namespace... also look in the
..NET SDK help for the .NET remoting overview, and the sample of how to build
a remoting application.
-Brian

"Helen W" <he***@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...

The Knowledge Base article below explains how to talk to a running instance of an Office program:

http://support.microsoft.com/default...b;EN-US;316126
Is there any way I can talk to a running instance of a winforms app? I.e.,
Can I call some public method in a running winforms app from another
winforms app (or maybe a service)?

Does .Net even work like this?!?!

Thanks!

Nov 22 '05 #3

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

Similar topics

2
by: Kate Gibbs | last post by:
I need to write a simple utility in VB.NET that reads an Excel file, gets some data from a sheet, then...it needs to automate internet explorer in a robot manner. I know that Application Centre...
1
by: Helen W | last post by:
The Knowledge Base article below explains how to talk to a running instance of an Office program: http://support.microsoft.com/default.aspx?scid=kb;EN-US;316126 Is there any way I can talk...
3
by: Brad Burke | last post by:
From a windows .Net app, I need to 1) check if MSAccess is already open to a certain Access application. If so, then open a form and find a certain record. 2) If not open, then open MSAccess and...
4
by: Chris via AccessMonster.com | last post by:
I have the challenge of needing to automate table creation. It doesn't end there the tables have to be created from one table that looks something like this... Email ...
3
by: Chris Arenburg via AccessMonster.com | last post by:
The code here creates a table for every instance in the combo box on my form. what I would like to do is have it run automatically without selecting each row/record/instance and pressing the button....
2
by: Steve Barnett | last post by:
Hi, I'm attempting to automate word to load a document. I have no problem if Word isn't loaded yet as creating a new Word.ApplicationClass() loads it for me. However, there will be times when Word...
11
by: Clark Stevens | last post by:
I just finished a WinForms app in VB.NET. I want to allow the user to be able to run multiple instances of the program like you can with Notepad and Wordpad. The way it is now, once I run the...
4
by: DarkBlue | last post by:
I am trying to write a script (python2.3) which will be used with linux konqueror to retrive 2 webpages alternatively every 2 minutes. My question is how can I send alternative args (the url) to...
3
by: Rune Jacobsen | last post by:
Hey all, Maybe someone knows this problem; I have a C# WinForms app that every now and then has a new version that I deploy to my users using an installation script written with the NSIS...
8
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a web site that automates excel. This site runs in server 2003. iis 6.0 office 2003 installed I moved this app to server 2008 iis 7.0 office 2003 installed Now when I try to automate...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.