473,795 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Communicating with a service

Hi

I need a vb.net winform app to be able to query a service (also written in
vb.net) and get info in return. Is it possible? Is there a way to do this?

Thanks

Regards
Feb 14 '08 #1
4 1511
"John" <Jo**@nospam.in fovis.co.ukschr ieb:
I need a vb.net winform app to be able to query a service (also written in
vb.net) and get info in return. Is it possible? Is there a way to do this?
There are many different solutions: sockets, named pipes, .NET remoting,
....

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Feb 14 '08 #2
On Feb 14, 9:47 am, "John" <J...@nospam.in fovis.co.ukwrot e:
Hi

I need a vb.net winform app to be able to query a service (also written in
vb.net) and get info in return. Is it possible? Is there a way to do this?

Thanks

Regards
A web service I'm guessing? If so please just use the "Add web
reference" option (if in vs 2005). If you're using 2008 do a google
search (something I wonder if you ever do) and look for the how-to,
it's changed from 2005.

Thanks,

Seth Rowe [MVP]
Feb 14 '08 #3
"John" <Jo**@nospam.in fovis.co.ukwrot e in
news:u5******** ******@TK2MSFTN GP05.phx.gbl:
I need a vb.net winform app to be able to query a service (also
written in vb.net) and get info in return. Is it possible? Is there a
way to do this?
Depends on how the service was built, but take a look at ServiceControll er.

--
sp**********@ro gers.com (Do not e-mail)
Feb 14 '08 #4
On Feb 14, 8:47 am, "John" <J...@nospam.in fovis.co.ukwrot e:
Hi

I need a vb.net winform app to be able to query a service (also written in
vb.net) and get info in return. Is it possible? Is there a way to do this?

Thanks

Regards
Here is a link about named pipes in VB.Net:

http://forums.microsoft.com/MSDN/Sho...92438&SiteID=1

Chris
Feb 15 '08 #5

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

Similar topics

0
1117
by: Jason McLean | last post by:
Hi, I have an app I wrote in VB a while back that I kludged into running as a service with srvany. I'm now re-writing this app in C# to make it a genuine service that's more stable and has increased functionality. I've written the service and the controller app, and I can start/stop the service, etc. with no problems.
1
3517
by: Mike | last post by:
I have written a windows service that has a few methods which have a return type of dataset. I also have an application that I have written which I would like to 'hook' into my service and use the dataset functions I have developed. My service and application are two seperate projects under the same solution. My problem comes in when I try to 'hook' into the service and call anything from it. I have tried using the ExecuteCommand...
0
933
by: Tappy Tibbons | last post by:
We are trying to write a simple GUI front end to communicate with a service. We need the GUI to make the service fire certain events if the user needs to re-perform certain tasks manually, and possibly return a result string with back to the user from what the service did, records processed, errors, etc. We are thinking there should be a system tray icon as well that the user uses to open the GUI as needed. We tried to keep it...
4
11207
by: joe bloggs | last post by:
I am writing a mobile application to interface with a legacy system and I am planning to use web services to communicate with this system. The legacy system receives data through a serial port. What I would like to do is make the serial port accessible via a web service. The web service and the legacy application would be running on the same machine. The mobile application would access the web service via a network connection. It...
1
1515
by: Gianmaria | last post by:
Hi, i've wrote a windows service that handle incoming tcp connections. Now i need to let him communicate with a windows form.. but without remoting. My service fires events too that i subscribe in my win form... is it possible? regards.
1
3884
by: Tom Yee | last post by:
I would like to write a Windows Service that can communicate with any open browser windows that an interactive user may be running. The service itself does not need to have a UI. The company that I work for develops software that monitors Customer Service Representative (CSR) performance. When you call a help desk and hear "This call may be monitored for quality purposes", the software that does this monitoring very likely has been...
7
2282
by: Diego F. | last post by:
Hello. I have a windows service running that listens to a port and makes insert queries in a database. I need to make an interface, so my idea is creating a simple windows application that just shows messages from the service. Can I do that with remoting? What are the main steps to do that? --
1
341
by: John | last post by:
Hi I need a vb.net winform app to be able to query a service (also written in vb.net) and get info in return. Is it possible? Is there a way to do this? Thanks Regards
2
906
by: Q | last post by:
Hello, I'm trying to let two services communicate with eachother. Just don't now where to start!! Some help would be welcome. Regards, Q
4
6653
rizwan6feb
by: rizwan6feb | last post by:
I am working on an application in Vb.NET the pulls data from an online MySQL server. The problem i was facing was that my application had no direct access to internet. The application connects to a proxy server which was blocking access to database server because the proxy server only allowed web requests. Now i have decided to build a Web Service to send data from my online server to Vb.NET application, I am using PHP at the other end to...
0
9522
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
10443
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
10216
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...
0
10002
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9044
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...
1
7543
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
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...
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.