Guyz i am planning to develop a software which will be used in the area of media i.e. Cable TV operators.
The basic features that i need to work on are:
Play Live TV channel stream coming from TV Tuner card (e.g. ESPN) or Play a video from Harddisk (e.g a movie)
While above mentioned video is running, I want to add 3 kind of add ons:
...
How can I gather the data into c# from this xml?
I get the data from :http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
PS: I would like to get the currencies rates from a web service, bu I could not find a trustworthy web service, thats why I try from xml...
<?xml version="1.0" encoding="UTF-8" ?>
- <gesmes:Envelope x...
I have a tab control (in my case a UltraTabControl from Infragistics) and I add a new tab.
The text of this new tab is set to "Escape &Characters".
lTab.Text = "Escape &Characters"
When visualizing the tab control the & will become an _ (underscore) for the next character - in this case "C"
I know that & is the Microsoft way of ind...
As I understand it, C#/.Net generics support some degree of reification. So, if I have the following code:
List<int> list = new List<int>();
list.Add(1);
Will the value 1 be autoboxed or will the 'list' object handle primitive ints efficiently?
...
Hi i have Entity Model with lets say 3 entity's like so all related of course:
1.-----Costumers-------
CustomerId
CustomerName
2.----CustomersOrders-----
CustomerId
OrderId
Total
3.---Orders------
OrderId
OrderName
And I want to display orders of some costumer in GridView like so:
----------|----------
OrderName|Tota...
When I try to use the following line of code:
cboSite.DataBindings.Add("Text", _dtSite.Select("Site <> 'ALL'"), "Site")
I get the following exception:
EXCEPTION : Cannot bind to the property or column Site on the DataSource.{10}Parameter name: dataMember
details I am connecting to an Access database and using .net 3.5 and writing th...
We have a .NET 3.5 application with registered extensions. How can we protect it against DLL Hijacking attacks?
Because of legacy & design problems strong naming/signing is not an option right now
Extra Information if you don't know what DLL Hijacking is:
What's DLL Hijacking - SO
DLL hijacking vulnerabilities
...
I'm serializing a large number of objects to binary files, however I want to keep everything neatly organized and don't really want hundreds of files in a folder. Is there anyway to group them into zip files, and then access the individual files within that zip?
For example, say I created 100 binary files and zipped them. Would I be abl...
I want to make simple content page with silverlight with next requirments:
Page must contains:
top space for banners(html)
center - silverlight component. and he will stretch to fitt page.
bottom space for banners(html)
Looks quite easy but i faced problem with internet explorer 8.
Silverlight component have small size and doesnot st...
I have a master/detail tables and I need to show in a screen a set of detail data which has exactly the same structure than the details table, so later I can save the temporary details data to the real physical details table. What's a good way to do this in .NET without LinQ? (since Im not familiar with LinQtoSql)
...
Good Day,
As a project I am building a new front end for an old Batch script System. I have to use Windows XP and C# with .Net. I don't want to touch this old Backend system as it's crafted over the past Decade. So my Idea is to start the cmd.exe Programm and execute the Bash script in there. For this I will use the "system" function in...
As an example, here's a simple attribute, derived from ToolboxItemAttribute:
<ToolboxItemX(False)> _
Public Class Class1
Inherits Button
End Class
Public Class ToolboxItemXAttribute
Inherits ToolboxItemAttribute
Public Sub New(ByVal defaultType As Boolean)
MyBase.New(defaultType)
End Sub
End Class
The probl...
Hi
I'm looking for a UI library for .NET and Mono, something like Gtk#, but with support for 64-bit (on Windows too), and with some widget like WinForm's ListView, with VirtualMode.
I don't want to use WinForms and WPF. Is there any alternative?
Thanks.
...
When I try to add a class library project I got this error: the tools version 3.5 is unrecognized.
What can I do?
...
Is there anything in castle that can let me add attributes to a class on the fly?
I have a dto in a project that I want to use as a data contract in a wcf service. I'd need to add a
[DataContract]
attribute to the class and then
[DataMember]
to each of the properties.
I could just replicate the class in the service layer and th...
This is not an urgent need but more of a curiosity I have had in the back of my mind for awhile. For each .NET framework version installed on my machine I would like to list the installed apps that require it. With this in hand, I could know whether or not I could safely delete earlier framework versions without causing any programs to f...
I'm currently sending image data over as a byte array. However, I wish to send it over as ASCII string. How can I send an ASCII string from client to server using HTTP POST in c#?
HttpWebRequest webRequest = null;
webRequest = (HttpWebRequest)HttpWebRequest.Create("http://192.168.1.2/");
webRequest.ContentType = "applicat...
Is asp.net used for web development only?
...
Hello!
I am wondering how I would go about reading a persistent connection with HttpWebRequest and HttpWebResponse. The problem seems to be that the GetResponseStream() function waits for the server connection to be closed before returning.
Is there an alternative easy way to read a comet connection?
Example that doesn't work.
// get ...
I'm well aware that a Double has only so many bits of precision, but we should still try to achieve high accuracy if possible. So I certainly do not expect to see this in the official .NET 4 system library.
// Summary:
// Represents the ratio of the circumference of a circle to its diameter,
// specified by the constant, π.
publ...