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

Add scripting/VBA/.NET to existing windows application.

I have a mature C/C++ application to which I am wanting to add custom
delevopment/scripting capabilities. Initially this will be used as part of a
testing framework.

It appears to me that VBA has been replaced with the .NET environment, and I
am interested in what tools are available for creating such a development
environment (eg generating a custom IDE) and a list of the basic interfaces
that the existing app would need to support to be a .NET server (?is my
terminology right?).

Firstly, is .NET the only real solution to my scripting requirement - or
other things available? Ideally I only require an in process solution.

I would greatly appreciate it if I could be provided with some links/book
references of information that would help get me up to speed on the
terminology/requirements here.

Please note I am looking at this in terms of exporting to the .NET
environment, not actually using it myself! I also believe that it will very
difficult to remove the application from it's own process space, hence I
would prefer solutions that can run 'in proc' and/or include a ready formed
interprocess communication framework.

Thanks,

Hugh Dixon
Jul 21 '05 #1
6 1939
I too would like to get started learning how to use the .NET Framework
to offer an API that I could make available to customers using the
applications I am working on.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"da****@work.com" <da***********@discussions.microsoft.com> wrote in message
news:3A**********************************@microsof t.com...
I have a mature C/C++ application to which I am wanting to add custom
delevopment/scripting capabilities. Initially this will be used as part of a testing framework.

It appears to me that VBA has been replaced with the .NET environment, and I am interested in what tools are available for creating such a development environment (eg generating a custom IDE) and a list of the basic interfaces that the existing app would need to support to be a .NET server (?is my
terminology right?).

Firstly, is .NET the only real solution to my scripting requirement - or
other things available? Ideally I only require an in process solution.

I would greatly appreciate it if I could be provided with some links/book references of information that would help get me up to speed on the
terminology/requirements here.

Please note I am looking at this in terms of exporting to the .NET
environment, not actually using it myself! I also believe that it will very difficult to remove the application from it's own process space, hence I
would prefer solutions that can run 'in proc' and/or include a ready formed interprocess communication framework.

Thanks,

Hugh Dixon

Jul 21 '05 #2
Darren,

The answer can be short, VBA has not been replaced by the .Net environment
in the same way as JScript has not been replaced by Java.

Cor
Jul 21 '05 #3
....Correction

I always thread VBA the same as VBS.

I think that this link can help you

http://msdn.microsoft.com/office/und...o/default.aspx

Cor
Jul 21 '05 #4
Take a look at this, it's JScript but the same principles apply:
http://msdn.microsoft.com/library/de...ng06112001.asp

I did an article for WDJ, March 2003;
http://www.wdj.com/wdm/articles/2003/0303/ registration required

I think maybe the VSAEngine isn't encouraged any more, so CodeDOM could be a
useful alternative.
http://support.microsoft.com/default...b;en-us;821778
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg...044380-4696760

"da****@work.com" <da***********@discussions.microsoft.com> wrote in message
news:3A**********************************@microsof t.com...
I have a mature C/C++ application to which I am wanting to add custom
delevopment/scripting capabilities. Initially this will be used as part
of a
testing framework.

It appears to me that VBA has been replaced with the .NET environment, and
I
am interested in what tools are available for creating such a
development
environment (eg generating a custom IDE) and a list of the basic
interfaces
that the existing app would need to support to be a .NET server (?is my
terminology right?).

Firstly, is .NET the only real solution to my scripting requirement - or
other things available? Ideally I only require an in process solution.

I would greatly appreciate it if I could be provided with some
links/book
references of information that would help get me up to speed on the
terminology/requirements here.

Please note I am looking at this in terms of exporting to the .NET
environment, not actually using it myself! I also believe that it will
very
difficult to remove the application from it's own process space, hence I
would prefer solutions that can run 'in proc' and/or include a ready
formed
interprocess communication framework.

Thanks,

Hugh Dixon

Jul 21 '05 #5
Thanks Phil -- that was good stuff.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Phil Wilson" <pd*******@nospam.cox.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Take a look at this, it's JScript but the same principles apply:
http://msdn.microsoft.com/library/de...ng06112001.asp
I did an article for WDJ, March 2003;
http://www.wdj.com/wdm/articles/2003/0303/ registration required

I think maybe the VSAEngine isn't encouraged any more, so CodeDOM could be a useful alternative.
http://support.microsoft.com/default...b;en-us;821778
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg...044380-4696760
"da****@work.com" <da***********@discussions.microsoft.com> wrote in message news:3A**********************************@microsof t.com...
I have a mature C/C++ application to which I am wanting to add custom
delevopment/scripting capabilities. Initially this will be used as part
of a
testing framework.

It appears to me that VBA has been replaced with the .NET environment, and I
am interested in what tools are available for creating such a
development
environment (eg generating a custom IDE) and a list of the basic
interfaces
that the existing app would need to support to be a .NET server (?is my
terminology right?).

Firstly, is .NET the only real solution to my scripting requirement - or
other things available? Ideally I only require an in process solution.

I would greatly appreciate it if I could be provided with some
links/book
references of information that would help get me up to speed on the
terminology/requirements here.

Please note I am looking at this in terms of exporting to the .NET
environment, not actually using it myself! I also believe that it will
very
difficult to remove the application from it's own process space, hence I
would prefer solutions that can run 'in proc' and/or include a ready
formed
interprocess communication framework.

Thanks,

Hugh Dixon


Jul 21 '05 #6
Thanks for all the info. I am currently looking through Phil's links, and
believe I will be able to get an idea of what's involved (VB presents me with
a 'learning challenge', but I'm getting there...)

Thanks again for all the thoughts/ideas etc.
Hugh

Jul 21 '05 #7

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

Similar topics

33
by: Quest Master | last post by:
I am interested in developing an application where the user has an ample amount of power to customize the application to their needs, and I feel this would best be accomplished if a scripting...
8
by: Rodd Snook | last post by:
I have an application which makes extensive use of the Scripting.Dictionary object. I'm not doing anything silly like putting them outside the page scope -- just creating quite a few of them and...
2
by: dito | last post by:
I have a .asp page that contains an activex componet. When I launch it in a browser, it returns an error that the viewer is unable to create it's resource objects. "To rectify this problem,...
9
by: Code4u | last post by:
I have an application that manipulates large arrays of image data of various types, all the usual arithmetic operations on the data objects are supported. With careful design and tricks similar to...
8
by: rmacias | last post by:
I am maintaining an application that was writting in VB6 and has VBA 6.2 integrated into it. The VBA SDK allows the users of the application to generate VBA projects and scripts to gain access to...
17
by: Karl Irvin | last post by:
To use the Textstream object, I had to set a Reference to the Microsoft Scripting Runtime. This works good with A2000 Is the Scripting Runtime included with A2002 and A2003 so the Reference...
0
by: Henning Krause [MVP] | last post by:
Hello, I've created a simple website which instantiates a PerformanceCounter object on any existing counter. On the Page_Load() event I set a label to the value of the performancecounter (via...
6
by: darren | last post by:
I have a mature C/C++ application to which I am wanting to add custom delevopment/scripting capabilities. Initially this will be used as part of a testing framework. It appears to me that VBA...
1
by: =?Utf-8?B?d2lubGlu?= | last post by:
Hello Using VS 2005 VB.net when a class library gets created you can right click the project and add a Windows Application and then set it as the "startup project" then in the Windows...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.