Is there some class or engine in the .NET framework capable to manage (or
run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the
requeriments its the abilyto to add new processing based in some numbers. (I
mean, if I get a 101, then I have to check some tables in a DB, If I get a
102z, then I need to check in some others tables and do some other
validation).
Due this requeriment, I was thinking in use some kind of script to do that.
Based on this, I only will need a folder and text files with the script
writted with in. And then, when I get the number, the app will load the file
and run the script.
Is this possible?? 6 1790
You can write your script in c# or vb.net and have it in your own
directory. load the file when it required and compile it at runtime and
execute it in .net itself. Dig CSharpCodeProvi der class.
"JLuis Estrada" <fr********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. .. Is there some class or engine in the .NET framework capable to manage (or run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the requeriments its the abilyto to add new processing based in some numbers. (I mean, if I get a 101, then I have to check some tables in a DB, If I get a 102z, then I need to check in some others tables and do some other validation). Due this requeriment, I was thinking in use some kind of script to do that. Based on this, I only will need a folder and text files with the script writted with in. And then, when I get the number, the app will load the file and run the script.
Is this possible??
Probably you can use this http://www.vb-tips.com/default.aspx?...1-2b03e1a439ae
I hope this helps,
Cor
"JLuis Estrada" <fr********@hot mail.com> schreef in bericht
news:%2******** ********@TK2MSF TNGP04.phx.gbl. .. Is there some class or engine in the .NET framework capable to manage (or run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the requeriments its the abilyto to add new processing based in some numbers. (I mean, if I get a 101, then I have to check some tables in a DB, If I get a 102z, then I need to check in some others tables and do some other validation). Due this requeriment, I was thinking in use some kind of script to do that. Based on this, I only will need a folder and text files with the script writted with in. And then, when I get the number, the app will load the file and run the script.
Is this possible??
Sounds good, let me check it.
"Balasubramania n Ramanathan" <rb***********@ hotmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. .. You can write your script in c# or vb.net and have it in your own directory. load the file when it required and compile it at runtime and execute it in .net itself. Dig CSharpCodeProvi der class.
"JLuis Estrada" <fr********@hot mail.com> wrote in message news:%2******** ********@TK2MSF TNGP04.phx.gbl. .. Is there some class or engine in the .NET framework capable to manage (or run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the requeriments its the abilyto to add new processing based in some numbers. (I mean, if I get a 101, then I have to check some tables in a DB, If I get a 102z, then I need to check in some others tables and do some other validation). Due this requeriment, I was thinking in use some kind of script to do that. Based on this, I only will need a folder and text files with the script writted with in. And then, when I get the number, the app will load the file and run the script.
Is this possible??
your solutions sounds good, but I need to carry on a COM object, and you
should know more about it than me, its very awful to handle with it.
but tnx any way
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:e%******** ********@TK2MSF TNGP02.phx.gbl. .. Probably you can use this
http://www.vb-tips.com/default.aspx?...1-2b03e1a439ae
I hope this helps,
Cor
"JLuis Estrada" <fr********@hot mail.com> schreef in bericht news:%2******** ********@TK2MSF TNGP04.phx.gbl. .. Is there some class or engine in the .NET framework capable to manage (or run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the requeriments its the abilyto to add new processing based in some numbers. (I mean, if I get a 101, then I have to check some tables in a DB, If I get a 102z, then I need to check in some others tables and do some other validation). Due this requeriment, I was thinking in use some kind of script to do that. Based on this, I only will need a folder and text files with the script writted with in. And then, when I get the number, the app will load the file and run the script.
Is this possible??
Hello JLuis,
I would suggest a plugin based approach rather than a scripting approach.
Once you define a course of action for a particular number that action seems
like it would be fixed.. which is reflected in the nature of a plugin.. however
a script lends itsself to constant editing and tweaking.. even complete rewrites..
which doesnt really reflect a fixed course of action.
-Boo your solutions sounds good, but I need to carry on a COM object, and you should know more about it than me, its very awful to handle with it.
but tnx any way "Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message news:e%******** ********@TK2MSF TNGP02.phx.gbl. .. Probably you can use this
http://www.vb-tips.com/default.aspx?...87-86d1-2b03e1 a439ae
I hope this helps,
Cor
"JLuis Estrada" <fr********@hot mail.com> schreef in bericht news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Is there some class or engine in the .NET framework capable to manage (or run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the requeriments its the abilyto to add new processing based in some numbers. (I mean, if I get a 101, then I have to check some tables in a DB, If I get a 102z, then I need to check in some others tables and do some other validation). Due this requeriment, I was thinking in use some kind of script to do that. Based on this, I only will need a folder and text files with the script writted with in. And then, when I get the number, the app will load the file and run the script. Is this possible??
WOW
Its quite amazing all the stuff you can do with this.
Now Im working how to keep it in memory as a library.
when I make a workfull example, Ill post it!
Regards
JLuis!
"JLuis Estrada" <fr********@hot mail.com> wrote in message
news:O0******** ******@TK2MSFTN GP02.phx.gbl... Sounds good, let me check it.
"Balasubramania n Ramanathan" <rb***********@ hotmail.com> wrote in message news:%2******** ********@TK2MSF TNGP05.phx.gbl. .. You can write your script in c# or vb.net and have it in your own directory. load the file when it required and compile it at runtime and execute it in .net itself. Dig CSharpCodeProvi der class.
"JLuis Estrada" <fr********@hot mail.com> wrote in message news:%2******** ********@TK2MSF TNGP04.phx.gbl. .. Is there some class or engine in the .NET framework capable to manage (or run) script code (like VB script) embedded in my app????
Thats because I have an APP that grows very fast, and one of the requeriments its the abilyto to add new processing based in some numbers. (I mean, if I get a 101, then I have to check some tables in a DB, If I get a 102z, then I need to check in some others tables and do some other validation). Due this requeriment, I was thinking in use some kind of script to do that. Based on this, I only will need a folder and text files with the script writted with in. And then, when I get the number, the app will load the file and run the script.
Is this possible??
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Wole |
last post by:
Hi. I really need help with a regular expression in ASP. I need a regex
pattern that will grab a select or textarea tag in an HTML file. If I run
the pattern I should get
<select name="whatever">
<option value="a" selected>A</option>
<option value="b">B</option>
<option value="c">C</option>
</select>
|
by: Som |
last post by:
A clients website is a combination of ASP pages and COM/COM+ objects -
The following errors are being reported. Once this happens on the
server the entire
script engine fails... we have to restart IIS then after sometime the
error
reoccurs. We have tried to debug using Adplus/CDB - attaching some
stack traces below - is this because of errors in the external COM
object - any thoughts would be gratly appreciated.
|
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, please
install IE4.0 or install DCOM for W95 and the latest MS Scripting
Engine. These files are available at MS's website"
I am running IE6.0. Where is the scripting engine on MS's site? Will
this have to be installed on every client wishing to...
|
by: MatthewRoberts |
last post by:
Howdy All,
I am having difficulty with two-way communication across AppDomains in
an attempt to dynamically script applications. Everything works as
expected, except when using ByRef parameters.
The below explanation is lengthy, but well worth the read. If you can
help me, I'd gladly share this code which has greatly helped my
development of extensible applications.
|
by: Shailesh Humbad |
last post by:
Has anyone ever heard of a c++ web 'scripting' engine? I think it
would be fairly easy to make one. All that is needed is an
intermediary that compiles the code on demand and caches the executables.
For example, I put a file like hello.cpp:
#include <iostream>
int main(void) {
cout << "<h1>hello world</h1>";
}
| |
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 those in
UBLAS (http://www.boost.org/libs/numeric/ublas/doc/) I have been able
to avoid temporaries where appropriate and carefully optimize code
(C++) that evaluates expressions, for example
Image A, B, C, D, E
A=((B+C)/D)+E
|
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
won't be broken when my app is opened with those versions.
Also is the Scripting Runtime included as part of the A2000 Runtime Engine
which some of my customers use.
|
by: Michael Andersson |
last post by:
Hi!
I'm writing a small game engine in c# and I'm in great
need of a scripting language. Does anyone know of such a
language?
Would it be possible to use the VSA in some way to do this?
Best regards,
/Michael
|
by: JosAH |
last post by:
Greetings,
Introduction
Java is not Javascript and most of the times when questions end up in the wrong
forum, they're moved to the other forum as soon as possible. Accidentally this
article talks about Javascript a bit but it belongs in the Java section.
Since version 1.6 of Java a script engine comes packaged with the core classes.
A script engine is an abstract little framework that offers support for other
|
by: Banfa |
last post by:
The project I work on has a bespoke hardware platform which is designed to go into a variety of different situations. However to keep things simple we really want the software for the platform to remain the same in all cases (as good practice suggests). One of our thoughts is that to provide the final customisation required for each application we could embed a scripting language into the platform to allow any additional business logic to be...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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: 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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |