473,395 Members | 1,823 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,395 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 1940
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: 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: 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
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
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.