An OLE Automation interface... this nearly always means that the first
application exposes a series of COM components.
Your second app, that you wrote, can simply refer to those COM components.
(Add them to your references). Your .NET app will have access to the
objects, and can perform the activities that this interface allows.
Essentially, "passing" data is simply a matter of calling methods in the COM
components exposed by the first standalone app, and then using them in the
second one (the one you wrote). No need for IPC or web services, etc.
I believe that one of the other responses gave you a link to Microsoft
documentation on calling COM components from .NET. If not, google this.
There are hundreds of good resources.
None of this will make that particular COM interface clear. For that, your
best bet is to go to the company that is selling the app, and ask for a
programmers reference guide. The book may be dated (it will probably refer
either to VC++ or VB), but it will show you how the methods are used, and in
what order, to get the information you want.
Hope this helps,
--- Nick
"equip200" <eq******@discussions.microsoft.com> wrote in message
news:3F**********************************@microsof t.com...
in responf to your questions.
#1. The program that will be sending the data has this
Scripting support
program features OLE automation interface that exposes objects and methods
that can be accessed from any programming language including scripting
dialects such as JScript (JavaScript) and VBScript. The scripting
capabilities allow you to automate time consuming database management
tasks. Using scripting you will be able to create automatic downloaders,
maintenance tools, and exporters customized to your specific needs.
They are both standalone app. they are not aware of each other.
#2. Ican get source for the sending app and i made the receving app. so
yes.
#3. They are both on the same workstation.
#4. It is posible that one will be running and no tthe other, but i will
start them up manualy. #5. The sending app is built to scan trough and find certain criteria and
if something is true print it to a file. I would like to have it send it to
a program so it can process it insted of manual processing.
Hope this helps,
Thanks
"equip200" wrote:
i would like some assistance on how to pass data or string from one vb
program to another c# program. can this be done with vbscript code to send
data to the c# program?
Thanks