Greetings,
i have two applications on two separate machines
In the first application i serialize an object into a text file ,so my question how can i transmit the text file by hard coding to the second application in order to deserialize the text file into the original object?
your help is highly appreciated
best regards
Hello,
How to: Deserialize an Object :http://msdn2.microsoft.com/en-us/library/fa420a9y.aspx
Greetings,
thank you for the support
i know how can i deserialize an object but my question is how can the second application get the textfile (file1.txt where the file1.txt is a serialized object serialized by the first application machine a)?
your help is highly appreciated
You have to tell the second application where it can find the textfile. If the name of the textfile is always the same, add a key in your config file that holds the name.
If the name changes dynamically and unpredictable you'll have to find a way to pass the values. If both applications are on the same machine you may use the windows message queue or a static file in your filesystem that holds your files.
If they are on different machines you may use either a webservice or a network connection over TCP or UDP.
Hope that helps,
Matthias :)
thank you for the support
i will try.
0 comments:
Post a Comment