473,386 Members | 1,715 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.

Automating my application

I want users to be able to automate my C# application, just as I can
automate other apps such as Word and Excel.

Any suggestions as to how I go about this please? I just need a bit of a
starter or a tutorial.

Thanks
Steve
Jul 24 '06 #1
6 1330
If I've understood correctly, VSTA (Visual Studio Tools for Applications) is
the acronym you need...

http://blogs.msdn.com/dr._ex/archive...03/476435.aspx
http://blogs.msdn.com/vsta/archive/2...06/525818.aspx
http://msdn.microsoft.com/vstudio/ex...a/default.aspx

"Steve Barnett" <no****@nodomain.comha scritto nel messaggio
news:%2****************@TK2MSFTNGP03.phx.gbl...
>I want users to be able to automate my C# application, just as I can
automate other apps such as Word and Excel.

Any suggestions as to how I go about this please? I just need a bit of a
starter or a tutorial.

Thanks
Steve

Jul 24 '06 #2
Steve,

If what you want is to allow other programs/scripts to control your
applications then you need to expose an API. I did one quick search and came
up with the link below, but I'm sure there are more. You want to expose an
"SDK", "Framework", "API", etc... Those words should help in your search.

http://msdn.microsoft.com/netframewo...lasslibraries/

Kim Greenlee
--
digipede - Many legs make light work.
Grid computing for the real world.
http://www.digipede.net
http://krgreenlee.blogspot.net

Jul 24 '06 #3
Thanks Laura T, but I want other apps to be able to automate mine.

For many years we've had a VB6 app that I needed to insert data into using
Excel. I've done this by writing CSV files and writing an import program to
load the data in to my app. Now I'm redesigning for .Net it makes sense to
be able to automate my app and insert the data directly from Excel using VBA
and automation.

Steve
"Laura T" <laura.t@_yahoo.comwrote in message
news:eH**************@TK2MSFTNGP03.phx.gbl...
If I've understood correctly, VSTA (Visual Studio Tools for Applications)
is the acronym you need...

http://blogs.msdn.com/dr._ex/archive...03/476435.aspx
http://blogs.msdn.com/vsta/archive/2...06/525818.aspx
http://msdn.microsoft.com/vstudio/ex...a/default.aspx

"Steve Barnett" <no****@nodomain.comha scritto nel messaggio
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>I want users to be able to automate my C# application, just as I can
automate other apps such as Word and Excel.

Any suggestions as to how I go about this please? I just need a bit of a
starter or a tutorial.

Thanks
Steve


Jul 25 '06 #4
Thanks. Some of these presentations look like they'll get me started.

Steve

"Kim Greenlee" <Ki*********@discussions.microsoft.comwrote in message
news:6D**********************************@microsof t.com...
Steve,

If what you want is to allow other programs/scripts to control your
applications then you need to expose an API. I did one quick search and
came
up with the link below, but I'm sure there are more. You want to expose
an
"SDK", "Framework", "API", etc... Those words should help in your search.

http://msdn.microsoft.com/netframewo...lasslibraries/

Kim Greenlee
--
digipede - Many legs make light work.
Grid computing for the real world.
http://www.digipede.net
http://krgreenlee.blogspot.net

Jul 25 '06 #5
That VSTA is all for. It's a replacement engine for VBA.

"Steve Barnett" <no****@nodomain.comha scritto nel messaggio
news:uN**************@TK2MSFTNGP02.phx.gbl...
Thanks Laura T, but I want other apps to be able to automate mine.

For many years we've had a VB6 app that I needed to insert data into using
Excel. I've done this by writing CSV files and writing an import program
to load the data in to my app. Now I'm redesigning for .Net it makes sense
to be able to automate my app and insert the data directly from Excel
using VBA and automation.

Steve
"Laura T" <laura.t@_yahoo.comwrote in message
news:eH**************@TK2MSFTNGP03.phx.gbl...
>If I've understood correctly, VSTA (Visual Studio Tools for Applications)
is the acronym you need...

http://blogs.msdn.com/dr._ex/archive...03/476435.aspx
http://blogs.msdn.com/vsta/archive/2...06/525818.aspx
http://msdn.microsoft.com/vstudio/ex...a/default.aspx

"Steve Barnett" <no****@nodomain.comha scritto nel messaggio
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>>I want users to be able to automate my C# application, just as I can
automate other apps such as Word and Excel.

Any suggestions as to how I go about this please? I just need a bit of a
starter or a tutorial.

Thanks
Steve



Jul 25 '06 #6
Sorry, I missed the point... I'm off to Google... Thanks

"Laura T" <laura.t@_yahoo.comwrote in message
news:uK**************@TK2MSFTNGP04.phx.gbl...
That VSTA is all for. It's a replacement engine for VBA.

"Steve Barnett" <no****@nodomain.comha scritto nel messaggio
news:uN**************@TK2MSFTNGP02.phx.gbl...
>Thanks Laura T, but I want other apps to be able to automate mine.

For many years we've had a VB6 app that I needed to insert data into
using Excel. I've done this by writing CSV files and writing an import
program to load the data in to my app. Now I'm redesigning for .Net it
makes sense to be able to automate my app and insert the data directly
from Excel using VBA and automation.

Steve
"Laura T" <laura.t@_yahoo.comwrote in message
news:eH**************@TK2MSFTNGP03.phx.gbl...
>>If I've understood correctly, VSTA (Visual Studio Tools for
Applications) is the acronym you need...

http://blogs.msdn.com/dr._ex/archive...03/476435.aspx
http://blogs.msdn.com/vsta/archive/2...06/525818.aspx
http://msdn.microsoft.com/vstudio/ex...a/default.aspx

"Steve Barnett" <no****@nodomain.comha scritto nel messaggio
news:%2****************@TK2MSFTNGP03.phx.gbl.. .
I want users to be able to automate my C# application, just as I can
automate other apps such as Word and Excel.

Any suggestions as to how I go about this please? I just need a bit of
a starter or a tutorial.

Thanks
Steve



Jul 26 '06 #7

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

Similar topics

6
by: Charles Banas | last post by:
weird subject - i hope more than just one curious regular will hear me out. :) ok, i've got a bit of a big problem, and i need answers as soon as possible. i know this forum is meant for web...
7
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does...
0
by: Laurence | last post by:
Hi Folks hope someone can help me out with this wee problem. I'm automating Excel from A2K and want to put a solid black border around a range of cells. I've tried using this: ...
0
by: Shamil Salakhetdinov | last post by:
Hi All, Have anybody seen somewhere techniques like the one described here: Automating Windows Applications http://www.thecodeproject.com/com/automatingwindowsapps.asp but for managed...
22
by: Howard Kaikow | last post by:
There's a significant problem in automating Excel from VB .NET. Reminds me of a problem I encountered almost 3 years ago that was caused by the Norton Auntie Virus Office plug-in. Can anybody...
4
by: Supa Hoopsa | last post by:
I am in the process of rewriting an MS Access application (access front end with SQL 2k database) in VB.NET and one of the things I would like to do is link in to the compiled Access ADE so that I...
2
by: Dave | last post by:
I have to download files every day from a web based application and it's getting very repetitious. I would like to find a way to automate the task. What I have to do each day is go to a website...
1
by: karthik2423 | last post by:
Hi folks, I have an application here which needs user intervention while running. Here's the format - When I run the application "opcack", it asks for some values like following - Message...
3
by: sportygeek3 | last post by:
Hi All, I am looking for a way to automate other applications programatically. Is there any C# library that will allow me to do this? i.e. I want to be able to iterate the menu items on...
0
by: =?Utf-8?B?TWFyY2VlcG9v?= | last post by:
I'm a newbie using Visual Studio and Vb.Net. The vbscript below opens a Windows Explorer Search Window. The Windows Explorer Search Window has fields in which the user can insert: (i) a search...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...

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.