473,396 Members | 1,834 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,396 software developers and data experts.

Need Interfacing options to Windows App

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
Sep 22 '07 #1
7 1149
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]
- mv*@spam.guard.caspershouse.com

"sippyuconn" <si********@newsgroup.nospamwrote in message
news:0A**********************************@microsof t.com...
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
Sep 22 '07 #2
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
sHi
s>
sI have a windows app that users use as a standalone product but some
swant to
sembed the functionality into there system.
sBasically they want a gateway to call my form or forms with
sparameters
sthen I will return data to them so they can continue in there larger
ssystem.
sCurious is anyone has experience with this and any ideas?? This is
swhat I am considering so far
s>
s1)Call exe command line with parameters and write text file for user
sto read on output - only issue with this is that Dotnet Windows apps
sstarts really slow- startup of framework??? - so to embed in system
sthe user would see a lag time on every call to exe
s>
s2)Remoting - would this be a possibility ??? If I make sure my pgm is
son user pc or mapped drive??? I am playing with this and have
squestions in a separate post
s>
s3)COM interface - can I expose methods in my Exe solution to call my
sforms
s>
sAny other possibilities???
s>
sThanks
s>
Sep 22 '07 #3
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 [.NET/C# MVP]" wrote:
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]
- mv*@spam.guard.caspershouse.com

"sippyuconn" <si********@newsgroup.nospamwrote in message
news:0A**********************************@microsof t.com...
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

Sep 23 '07 #4
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/web.../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/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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

Sep 24 '07 #5
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
"Linda Liu [MSFT]" wrote:
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/web.../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/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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

Sep 24 '07 #6
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

Sep 26 '07 #7
In article <13**********************************@microsoft.co m>,
Sippyuconn wrote:
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

Sep 27 '07 #8

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

Similar topics

5
by: Bram Stolk | last post by:
pyHello, Google helped me find a nice package to interface python with MS Excel. "win32all", or sometimes called by the name "pywin32". http://starship.python.net/crew/mhammond/ However,...
4
by: Shaurya Anand | last post by:
I would like to know more about Interfacing hardware devices through .NET. We're students and what we're trying to do is control our robots with printer or serial port interfacing... very similar...
8
by: Kris Dugan | last post by:
I am using a Unix/Solaris 8/9 environment. I want to make a tool that will constantly read a structure of information and display that information (or "paint it") to the screen. Rather than...
2
by: Mad Scientist Jr | last post by:
I am editing an existing application that has a System.Windows.Forms.TreeView with a right-click menu with several options. I want to get rid of the TreeView alltogether and rip out the code for...
3
by: Byte | last post by:
I know its possible to acsess Python via the command line, but can I do the opposite and acsess the command line via Python? For example, can I write a script that will enter $ firefox on the...
1
by: keliie | last post by:
Hello, I've recently completed a database that tracks my food purchases and inventory and I want to add another piece to the database that tracks sales. Our company's waitstaff enters order...
6
by: dev | last post by:
hi i want to know about interfacing or accessing a serial port using c-program please help me with an example thanks for whom who reply me soon
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
1
by: vikjohn | last post by:
I have a new perl script sent to me which is a revision of the one I am currently running. The permissions are the same on each, the paths are correct but I am getting the infamous : The specified...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.