473,657 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can other apps talk to my .Net app?

My clients want me to provide some kind of hooks or entry points into my
vb.net winform app, so that they can call it from their apps, passing in
some parameters to launch some particular function.

At first I was thinking along the lines of optional command line
parameters - any other app could simply call shell execute with myapp.exe
followed by param1, param2 etc arguments. I would check for these parameters
at start up, and act on them if they were there.

However, they want to be able to have my app already open, and then from
their app switch to mine.

What options do I have for exposing functions or hooks into my app from
other, non .Net apps?

Any ideas?

Thanks,

H


Jul 21 '05 #1
1 1079
Use .Net remoting

There are various ways your application can listen to a request like tcp or http. You can write a separate component that the other applications can use. This component can implement all .Net remoting stuff

Guess there are obvious things you will have to consider like multi-threaded stuff

Divesh
Jul 21 '05 #2

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

Similar topics

7
3327
by: brian.vincent | last post by:
I'm trying to use the ssh2 functions to run a graphical app. I have no problem opening ssh2_shell and running something like "/bin/ls /tmp". However when I try to do something like: fwrite($stdio,"/usr/X11R6/bin/xclock -display some-other-machine:0\n"); It doesn't work. I've tried wrapping the xclock command in a shell script and a C program and still no luck. In both instances I can ssh into the remote machine and run the commands...
125
14702
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
8
2387
by: Dave | last post by:
This may be a simple question, but I'm new to .NET and not having much luck finding out the answer. I'm writing a Windows Service and want to develop a separate program that provides a user interface so the user can control the service. They are both being developed in Visual C# .NET. What is the best way to get them to talk to each other? I've heard of remoting, but not sure that is what I need, it seems kind of overcomplicated and...
4
5463
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) { document.getElementById(nameOfDiv).style.visibility='visible'; document.getElementById(nameOfDiv).style.height='auto'; if (nameOfDiv != 'weblogs')
28
1419
by: smith | last post by:
The intense off-topic VB6/VB.Net thread "Where is the Key in Treeview.Net" (started Dec 2 2004 and cross-posted to every VB group under the sun) really got me to thinking. And that thinking got me to typing this: http://www.smithvoice.com/C1swf.htm All the best in 2005 and here's hoping that this year's Visual Basic release will be more to the VB core's liking.
1
289
by: Terry H | last post by:
My clients want me to provide some kind of hooks or entry points into my vb.net winform app, so that they can call it from their apps, passing in some parameters to launch some particular function. At first I was thinking along the lines of optional command line parameters - any other app could simply call shell execute with myapp.exe followed by param1, param2 etc arguments. I would check for these parameters at start up, and act on...
24
2858
by: Dave | last post by:
I understand that VS.NET is supposed to compile native Win32 apps that do not require the .Net runtime. If that's the case then there is something else from the VS200x package that is required. MSVCR80.DLL and MSVCR80D.DLL are present and accounted for in Windows\System32. This is something else. Message says that the application configuration is incorrect. I just compiled a simple "Hello.cpp" app that exhibits the same behavior so...
4
1316
by: cj | last post by:
I've often used methods exposed by software purchased for other uses to automate tasks. For instance back in the late 90's I found the terminal emulation package the company exposed methods that allowed me to write a VB program that could use that terminal emulation package to connect to, read, and enter data on the company's mainframes. I think this was called OLE? Well now I'm on the other end of the picture and I need to write into a...
14
1212
by: DL | last post by:
The rationale is that certain IE7 features are great while FF3 got things that IE7 doesn't and the user has both browsers installed (not assumption but a requirement for "controled" use environment). Scenario: IE7 is the main browser, from there launch a small FF3, do stuff and this child window has a hidden field for 'action' as well, once done, the user switch back to the main IE window, continue doing stuff, then save and (possibly...
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7324
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.