I'm new to silverlight. My web application "Might" attach to a TCP port that outputs a binary compressed TCP message for my web data. I'm trying to decide if I should
1)parse it in silverlight
2)write a middle-ware application that unpacks it and then sends it to my silverlight App.
My only concern is working through a binary message byte by byte to convert it into my managed code. I know there are several libraries that are not supported by Silverlight, and I hope that I don't get stuck.
there seem to be support for TCP connectivity in silverlight
Connecting, yes, but listening for connections?
working through a binary message byte by byte to convert it into my managed code
The BitConverter class is handy for that. For strings,
the Encoding class can help.
Of course, if you're unable to parse and/or decompress the data
from Silverlight code with its limited .NET framework, then you
will probably want to consider serializing the data in a format more
It will not be listening. Only requesting data from a server that hosts the data. Sorry I miss understood.
Yeah its a tough decision, there are several options for me.
1) I can edit the data server, but its an established C++(unmanaged) application. I will have several of the senior programmers grilling me on whether I screwed up anything.
2) I could write an app that uses a different port. Then all my silverlight traffic goes to that port. I convert the data and forward. (this is my preferred approach)
3) OR Convert in the silverlight app.
And the journey is complete. This is a clueless post. You can't export a datagrid to Excel. You would export the DATA to Excel, and you'd do that the same way if you were using WPF or not. Ergo, this is not a WPF question and it's one easily answered with a google search.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
This doesn't work though because I've got to change the cell container's Horizontal alignment.
Also, when using a ListView.ItemContainerStyle, is it possible to trigger off the column by a name or index? As an example, how would one make the background of a column red from the ItemContainerStyle?
Although, this works if the TextBlock's width is specified, I really want to right align to the ListView's grid column and allow the TextBlock's width to expand or contract with the column.
By specfiying a width to the TextBlock, when the column is expanded beyond the width of the TextBlock, the text though aligned to the right of the TextBlock is not aligned to the right of the column.
I believe that one needs to modify the parent's panel's content alignment; though, how do I manipulate that style. Can I use a trigger within a Control template for the ListBoxItem? If so, how do I switch on the column number so that only specified columns are right aligned?
If the textblock has Height and Width set to "Auto" it should resize according to the parent, and setting the TextAlignment should be independent of the textblock size. However, I have not messed with the listview control much myself. I prefer the DataGrid provided in the WPF Toolkit. Sorry if this does not help.
Never used the WPF toolkit, but thanks for the pointer. The DataGrid appears to have a number of features that will make it a much more attractive solution. Thanks for the comment. That's just what I needed.
I don't know of a simpler way. My guess is that you'd need to
scale/translate the polyline points separately and create a new PolyLine
from those points if you want to prevent the strokethickness from getting
hello everybody Iwant to create video chat application in wpf and that should be peer to peer. I developed an application by looking article at codeproject wpf/wcf peer to peer chat application . But thats simply broadcasting my video to other peers and when the other peer starts sharing his cam then the both stream mixes up and I get output on my screen in which the streams of both the users mixes up and I we see pictures of both the users alternatively. and moreover it has performanve issuses also. video quality is perfect but speed is very very slow. So plz guide me how to do this???????????
Thanks for replying but can u suggest me someway. how to do this.In my peer to peer application there is only one function that I have declared in the interface and is automatically called for all the nodes in the mesh. and that fnction is accepting "stream " of the person who started sharing his video to others,and this fnctio is called for each node, If now some other user starts his video sharing then it will again call the same function that was already running for this user and the rest of users and at thuis stage both the streams get mixed and I havnt found a way to separate these streams and call the function that is accepting stream.
Last Visit: 31-Dec-99 19:00 Last Update: 8-Feb-23 10:43