Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello
i have a
WindowsForm with Name "WinFrom_Test"
and a WindowsService with Name "WS_Test"

Now i'd like to pass a String or an other Value From WinFrom_Test to WS_Test.
but how can i pass it.
Thank you.
Posted
Updated 18-May-12 21:11pm
v2

Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search gave over 10 million results: https://www.google.co.uk/search?sugexp=chrome,mod=7&sourceid=chrome&ie=UTF-8&q=connect+to+service+c%23[^]

The fourth one was MSDN: Walkthrough: Connecting to Data in a Web Service (Windows Forms)[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.
 
Share this answer
 
You need IPC (inter-process communication)
There are several techniques. It really depends on you, because you can use a simple file, registry, remoting, wcf, basic tcp/ip sockets, msmq....
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900