Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: Async vs Sync Pin
Luc Pattyn15-Nov-10 17:31
sitebuilderLuc Pattyn15-Nov-10 17:31 
GeneralRe: Async vs Sync Pin
Jacob D Dixon16-Nov-10 13:54
Jacob D Dixon16-Nov-10 13:54 
GeneralRe: Async vs Sync Pin
Luc Pattyn16-Nov-10 13:57
sitebuilderLuc Pattyn16-Nov-10 13:57 
QuestionAccessing form controls from WCF service Pin
teknolog12315-Nov-10 10:29
teknolog12315-Nov-10 10:29 
AnswerRe: Accessing form controls from WCF service Pin
Dave Kreskowiak15-Nov-10 10:49
mveDave Kreskowiak15-Nov-10 10:49 
AnswerRe: Accessing form controls from WCF service Pin
DaveyM6915-Nov-10 13:00
professionalDaveyM6915-Nov-10 13:00 
AnswerRe: Accessing form controls from WCF service Pin
PIEBALDconsult15-Nov-10 14:22
mvePIEBALDconsult15-Nov-10 14:22 
AnswerRe: Accessing form controls from WCF service Pin
si2480315-Nov-10 22:45
si2480315-Nov-10 22:45 
Hi,

First of all, are you sure that's what you want to do? Why? Sorry for asking this, but I believe it's not, and unless you provide a context, I don't know if i'm helping or throwing you a rope to hang yourself.
But to answer your question, you can create an instance of the form in the service's class, and it will be available in that service's context.
Now, I believe you want to publish the form data on the web. Here's how i'd go about it:

1. Keep both projects separated (not in the solution, just reference wise);
2. Implement methods on the web service that let you submit form data through them;
3. Make your forms application a client of the webservice;
4. As the controls on the form are filled, send changes to the web service;
5. All clients of the web service will be able to see those changes.

Hope i helped.

Regards
GeneralRe: Accessing form controls from WCF service Pin
teknolog12316-Nov-10 3:17
teknolog12316-Nov-10 3:17 
AnswerRe: Accessing form controls from WCF service Pin
si2480316-Nov-10 4:51
si2480316-Nov-10 4:51 
GeneralRe: Accessing form controls from WCF service Pin
teknolog12318-Nov-10 7:34
teknolog12318-Nov-10 7:34 
AnswerRe: Accessing form controls from WCF service Pin
Daniel Vaughan15-Nov-10 23:41
Daniel Vaughan15-Nov-10 23:41 
Question"No connection could be made because the target machine actively refused it" Pin
Megidolaon14-Nov-10 22:31
Megidolaon14-Nov-10 22:31 
AnswerRe: "No connection could be made because the target machine actively refused it" Pin
Manfred Rudolf Bihy14-Nov-10 22:49
professionalManfred Rudolf Bihy14-Nov-10 22:49 
GeneralRe: "No connection could be made because the target machine actively refused it" Pin
Megidolaon14-Nov-10 22:56
Megidolaon14-Nov-10 22:56 
GeneralRe: "No connection could be made because the target machine actively refused it" Pin
Manfred Rudolf Bihy14-Nov-10 22:58
professionalManfred Rudolf Bihy14-Nov-10 22:58 
AnswerRe: "No connection could be made because the target machine actively refused it" Pin
Luc Pattyn15-Nov-10 3:37
sitebuilderLuc Pattyn15-Nov-10 3:37 
Questionthreshold filter problem Pin
pancakeleh14-Nov-10 22:03
pancakeleh14-Nov-10 22:03 
AnswerRe: threshold filter problem PinPopular
OriginalGriff14-Nov-10 23:27
mveOriginalGriff14-Nov-10 23:27 
GeneralIMPORT EXCEL TO SQL Pin
black0714-Nov-10 21:52
black0714-Nov-10 21:52 
GeneralRe: IMPORT EXCEL TO SQL Pin
Dave Kreskowiak15-Nov-10 2:00
mveDave Kreskowiak15-Nov-10 2:00 
GeneralRe: IMPORT EXCEL TO SQL Pin
musefan15-Nov-10 2:33
musefan15-Nov-10 2:33 
QuestionXML Serialization Pin
NarVish14-Nov-10 21:18
NarVish14-Nov-10 21:18 
AnswerRe: XML Serialization Pin
Manfred Rudolf Bihy14-Nov-10 22:02
professionalManfred Rudolf Bihy14-Nov-10 22:02 
GeneralRe: XML Serialization Pin
NarVish14-Nov-10 22:09
NarVish14-Nov-10 22:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.