Need Interfacing options to Windows App

G

Guest

Hi

I have a windows app that users use as a standalone product but some want to
embed the functionality into there system.
Basically they want a gateway to call my form or forms with parameters
then I will return data to them so they can continue in there larger system.

Curious is anyone has experience with this and any ideas??
This is what I am considering so far

1)Call exe command line with parameters and write text file for user to read
on output - only issue with this is that Dotnet Windows apps starts really
slow- startup of framework??? - so to embed in system the user would see a
lag time on every call to exe

2)Remoting - would this be a possibility ??? If I make sure my pgm is on
user pc or mapped drive??? I am playing with this and have questions in a
separate post

3)COM interface - can I expose methods in my Exe solution to call my forms

Any other possibilities???

Thanks
 
M

Michael Nemtsev, MVP

Hello sippyuconn,

Do u have the source code for your standalone app or not?
If u do, the simplest way is to wrap the reusable functionality into user
controls, which can be consumed by the different clients, and consider to
move the logic to external services - making your controls like gateways.

If u don't have the source code, then I suppose the screen scraping the only
way to reuse functionality

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


s> Hi
s>
s> I have a windows app that users use as a standalone product but some
s> want to
s> embed the functionality into there system.
s> Basically they want a gateway to call my form or forms with
s> parameters
s> then I will return data to them so they can continue in there larger
s> system.
s> Curious is anyone has experience with this and any ideas?? This is
s> what I am considering so far
s>
s> 1)Call exe command line with parameters and write text file for user
s> to read on output - only issue with this is that Dotnet Windows apps
s> starts really slow- startup of framework??? - so to embed in system
s> the user would see a lag time on every call to exe
s>
s> 2)Remoting - would this be a possibility ??? If I make sure my pgm is
s> on user pc or mapped drive??? I am playing with this and have
s> questions in a separate post
s>
s> 3)COM interface - can I expose methods in my Exe solution to call my
s> forms
s>
s> Any other possibilities???
s>
s> Thanks
s>
 
N

Nicholas Paldino [.NET/C# MVP]

sippyuconn,

You could always just refactor your app into components that aren't tied
to the UI. Then you can choose to expose that functionality through
remoting, COM interop, or whatever mechanism suits you.
 
G

Guest

Thanks Nicholas

The UI is an integral part of the process - so I need to keep some UI with the
fuctionality of the code

Nicholas Paldino said:
sippyuconn,

You could always just refactor your app into components that aren't tied
to the UI. Then you can choose to expose that functionality through
remoting, COM interop, or whatever mechanism suits you.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

sippyuconn said:
Hi

I have a windows app that users use as a standalone product but some want
to
embed the functionality into there system.
Basically they want a gateway to call my form or forms with parameters
then I will return data to them so they can continue in there larger
system.

Curious is anyone has experience with this and any ideas??
This is what I am considering so far

1)Call exe command line with parameters and write text file for user to
read
on output - only issue with this is that Dotnet Windows apps starts really
slow- startup of framework??? - so to embed in system the user would see a
lag time on every call to exe

2)Remoting - would this be a possibility ??? If I make sure my pgm is on
user pc or mapped drive??? I am playing with this and have questions in a
separate post

3)COM interface - can I expose methods in my Exe solution to call my forms

Any other possibilities???

Thanks
 
L

Linda Liu [MSFT]

Hi,

In my opinion, you may build the reusable functions into a Web Service,
then your WinForm application and other applications can call these
functions from the Web Service.

FYI, the following link discusses "Getting Started with Web Services":
http://msdn2.microsoft.com/en-us/webservices/aa740678.aspx

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

Hi Linda

Thanks for the response - I new webservices probably would be the best way
to go but was staying away from it because it caused more of a support issue
when I distribute the app - customers may not want iis on there system and
also need people to know about iis

I was trying to leave a small footprint on the customers pc and easy to
support

Thanks
 
L

Linda Liu [MSFT]

Hi Sippyuconn,

Thank you for your reply!

Since Web Service is appropriate to your practice, you may make use of
remoting.

BTW, I have replied to your another post "Call Form from Library thru
remoting" in this newsgroup. If you have any question, please reply to me
on that thread and I will follow up with you in time.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support
 
M

Mike Blake-Knox

customers may not want iis on there system

You might want to investigate Web Services Enhancements 3.0. It allows
you to offer web services without IIS.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top