473,385 Members | 1,356 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.

passing values or plugins

Hello All, I would like some assistance with an issue I have. I will do my best to explain it. I have 2 programs , one is called "AMI" and it could use VBscript to execute procedures . the other is "SAG" which I built in C#. can I create scripts to pass values to SAG from AMI? or do I need to create a plugin in SAG and have AMI call those procedures in the DLL? If plugin is the best option how can approach it?

Your help would be greatly appreciated.
thank you
Nov 16 '05 #1
3 1264
Is this a command line VBScript? You could pass parameters to the
scrip on the command line using the System.Diagnostics.Process class.

On Fri, 30 Jul 2004 13:23:02 -0700, "equip200"
<eq******@discussions.microsoft.com> wrote:
Hello All, I would like some assistance with an issue I have. I will do my best to explain it. I have 2 programs , one is called "AMI" and it could use VBscript to execute procedures . the other is "SAG" which I built in C#. can I create scripts to pass values to SAG from AMI? or do I need to create a plugin in SAG and have AMI call those procedures in the DLL? If plugin is the best option how can approach it?

Your help would be greatly appreciated.
thank you


--
Scott
http://www.OdeToCode.com
Nov 16 '05 #2
the program is set to run whatever code u put into the scan box, almost like a text box. It can pass the result to a file but what i want to do is pass it to a program , With whatever additional codes as it scans. any suggestions on how to do this? i have read that you can control DLL from other programs. Any links to assist?

"Scott Allen" wrote:
Is this a command line VBScript? You could pass parameters to the
scrip on the command line using the System.Diagnostics.Process class.

On Fri, 30 Jul 2004 13:23:02 -0700, "equip200"
<eq******@discussions.microsoft.com> wrote:
Hello All, I would like some assistance with an issue I have. I will do my best to explain it. I have 2 programs , one is called "AMI" and it could use VBscript to execute procedures . the other is "SAG" which I built in C#. can I create scripts to pass values to SAG from AMI? or do I need to create a plugin in SAG and have AMI call those procedures in the DLL? If plugin is the best option how can approach it?

Your help would be greatly appreciated.
thank you


--
Scott
http://www.OdeToCode.com

Nov 16 '05 #3
You can call functions inside of a DLL using PInvoke, here are some
resources:

http://msdn.microsoft.com/library/de...ketutorial.asp
http://www.pinvoke.net/

--
Scott
http://www.OdeToCode.com
On Sun, 1 Aug 2004 20:01:02 -0700, "equip200"
<eq******@discussions.microsoft.com> wrote:
the program is set to run whatever code u put into the scan box, almost like a text box. It can pass the result to a file but what i want to do is pass it to a program , With whatever additional codes as it scans. any suggestions on how to do this? i have read that you can control DLL from other programs. Any links to assist?

"Scott Allen" wrote:
Is this a command line VBScript? You could pass parameters to the
scrip on the command line using the System.Diagnostics.Process class.

On Fri, 30 Jul 2004 13:23:02 -0700, "equip200"
<eq******@discussions.microsoft.com> wrote:
>Hello All, I would like some assistance with an issue I have. I will do my best to explain it. I have 2 programs , one is called "AMI" and it could use VBscript to execute procedures . the other is "SAG" which I built in C#. can I create scripts to pass values to SAG from AMI? or do I need to create a plugin in SAG and have AMI call those procedures in the DLL? If plugin is the best option how can approach it?
>
>Your help would be greatly appreciated.
>thank you


--
Scott
http://www.OdeToCode.com


Nov 16 '05 #4

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

Similar topics

1
by: Aurélien Géron | last post by:
Hi, I'd like to write a simple portable browser plugin for Internet Explorer, Netscape and if possible other navigators too. Is there a way to do that using Python? For now I'd like to develop...
1
by: censored | last post by:
Hi. I'm hoping for a bit of programming guidance here .... I have an application I wrote (it's an irc bot fyi), with which I want to use plugins. Basically, I want there to be directory called...
4
by: stu_pb | last post by:
I am designing a plugin system for a window application using .NET(C# specifically). One of the requirements of the plugin system is to be able to dynamically load/unload plugins. My initial...
0
by: william | last post by:
I've got 2 differents sources of code, one for the main code (let's call it Main), and the other one for plugins (let's call it Plugins). The setup.py for Main is trivial and install all files in...
5
by: Christoph Haas | last post by:
Dear coders... I'm working on an application that is supposed to support "plugins". The idea is to use the plugins as packages like this: Plugins/ __init__.py Plugin1.py Plugin2.py...
5
by: Michael McCarthy | last post by:
I want to develop plugin support for a system.montitor module I am working on. A lot of the modules will do mostly interop stuff for an older system, but I want to use it myself as well to monitor...
0
by: Greg Conely via .NET 247 | last post by:
I am creating a application that will be using plugins. I am doing this so that when I want to let this application work with another type of dbase system, I only have to write\install one plugin,...
1
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
7
by: Laurent Navarro | last post by:
Hello, I created a software some times ago, which uses some plugins to work (which I coded also). I had problems to load those plugins as they used some classes and functions which were...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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...
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.