Google Groups Home
Help | Sign in
can winteg3 pass data to .net c# app?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Terry Pennington  
View profile
 More options 6 May, 22:26
Newsgroups: comp.databases.pick
From: "Terry Pennington" <terrypen_at_terrypen.com>
Date: Tue, 6 May 2008 11:26:54 -1000
Local: Tues 6 May 2008 22:26
Subject: can winteg3 pass data to .net c# app?
Yeah, I know this is a very dumb question but I would very much like to find
a way to pass data back and forth between a wintegrate v3 session and a .net
app and I know .net doesn't support DDE although googling around I was able
to find some mentions of DDE and C# so that might be one possible solution.

Other things I've thought of:
Writing to shared drive on a windows server
Writing to D3 file and using odbc on other end to read it ....

The problem with both of those is the other app won't see any sort of event
to trigger a read of the data.

Everything is to run on one machine which makes me think dde might be the
only way to go if I can make the .net side work


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ross Ferris  
View profile
 More options 7 May, 00:30
Newsgroups: comp.databases.pick
From: Ross Ferris <ro...@stamina.com.au>
Date: Tue, 6 May 2008 16:30:29 -0700 (PDT)
Local: Wed 7 May 2008 00:30
Subject: Re: can winteg3 pass data to .net c# app?
On May 7, 7:26 am, "Terry Pennington" <terrypen_at_terrypen.com>
wrote:

> Yeah, I know this is a very dumb question but I would very much like to find
> a way to pass data back and forth between a wintegrate v3 session and a .net
> app and I know .net doesn't support DDE although googling around I was able
> to find some mentions of DDE and C# so that might be one possible solution.

> Other things I've thought of:
> Writing to shared drive on a windows server
> Writing to D3 file and using odbc on other end to read it ....

> The problem with both of those is the other app won't see any sort of event
> to trigger a read of the data.

> Everything is to run on one machine which makes me think dde might be the
> only way to go if I can make the .net side work

If you don't mind some programming, write yourself a little ActiveX
that you can activate from Wintegrate via script --> give it some
methods to Start your C# application, get/receive data and also close
the .NET app (or whatever is appropriate) ==> communication  can then
be through "whatever" you like (eg: mail slots, named pipes) between
the ActiveX control and the .NET app  --> heck, even a message queue
if you want.

Heck, maybe your C# project BECOMES the ActiveX control --> pretty
straight forward IF you have access to the skill set


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Powick  
View profile
 More options 7 May, 01:35
Newsgroups: comp.databases.pick
From: Kevin Powick <kpow...@gmail.com>
Date: Tue, 6 May 2008 17:35:43 -0700 (PDT)
Local: Wed 7 May 2008 01:35
Subject: Re: can winteg3 pass data to .net c# app?
Have D3 write data to a directory type file.  The .net app can easily
monitor the directory for changes using the
System.IO.FileSystemWatcher object.  Inexpensive and easy.

--
Kevin Powick


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Gravagno  
View profile
 More options 7 May, 22:44
Newsgroups: comp.databases.pick
From: Tony Gravagno <address.is.in.po...@removethis.com.invalid>
Date: Wed, 07 May 2008 14:44:25 -0700
Local: Wed 7 May 2008 22:44
Subject: Re: can winteg3 pass data to .net c# app?

Ross Ferris wrote:
"Terry Pennington"  wrote:
>Yeah, I know this is a very dumb question but I would very much like to find
>a way to pass data back and forth between a wintegrate v3 session and a .net
>app..

I think Ross has the right approach but I believe the Object commands
for activating external components weren't introduced until
wintegrate4.  If you can use the Object commands, you'll need a COM
wrapper for the .NET code.  See articles like this for examples of how
to use COM Interop to create such a wrapper.
http://www.codeproject.com/KB/vb-interop/csCom.aspx

You could use the Run script command but I don't know when that was
introduced either:
  Run "dotnetproggie.exe", "param,list,here"

If you need a response back from the proggie, have the C# code write
the the file system and get w3 to read it.  If w3 doesn't block on the
Run you may need to go into a loop to wait for a response.

Of course we can make if happen here if you wish...

HTH

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google