I'd like to process a large number of files - think video transcoding, like youtube, where you have to transform everything into FLV format or image processing where you create thumbs from large RAW files.
Is there any service or library that can help on such processing? I don't mean actual transcoding, but organizing, launching the tas...
Hello!
I have a problem with .Net's RichTextBox control. It seems that it doesn't support table cell formatting, which is funny because most of the time I create tables I want the cell contents to be right-aligned (numbers, currency).
If I try to open a WordPad document in RichTextBox, it ignores (and actually removes) the commands fo...
According to the documentation for IDataRecord, the implementing methods must throw IndexOutOfRangeException if the field index is out of the range of fields. However, if you try to throw an IndexOutOfRangeException directly in code, FXCop complains that it is a reserved exception type. How do you keep to the IDataRecord exception contra...
I am trying to load a *.wav file to a byte array using C# 3.0 and .NET 3.5 like this:
var fs = File.Open(filedialog.FileName, FileMode.Open,FileAccess.Read);
long numBytes = new FileInfo(filedialog.FileName).Length;
BinaryReader br = new BinaryReader(fs);
byte[] bytes = br.ReadBytes((int)numBytes);
From byte[58] and to the end...
Using .NET
I have a text file with comma separated data. One of the columns consists of text like the following : 1997/020269/07
Now when I do a select with an OdbcCommand the string is seen as a float and it returns the 'answer' instead of the actual text!
How can I get the actual text? Am I going to be forced to parsing the file ma...
Hi
I am developing some monitoring tool for some kind of protocol based on serial communication.
Serial BaudRate=187,5kb
I use System.IO.Ports.SerialPort class.
This protocol has 4 kinds of frames. They have 1Byte,3Bytes,6Bytes, 10-255Bytes. I can work with them but I receive them too late to respond.
For the beginning I receive firs...
Hi,
I'm currently investigating whether any .NET controls exist where I can design a document and generate an XSL-FO template from it?
I've seen syntax editors, but I'd rather have a drag and drop designer that anyone can use.
...
Why does Visual Basic compiler complain?
Dim finalArray As Array = New Array
...
In our office we have a 40" LCD mounted to the wall that runs a full screen instance of Firefox that in turn hosts a series of modules. Each of these modules is a self contained DIV with an AJAX interface (through jQuery) to the server to perform it's function.
One of these modules monitors our servers CPU, memory and disk usage.
On th...
i would like my windows service (to be written in .NET) to recognize when new rows are added to a specific table, but instead of pulling the data from the sql-server i would like to use a server push model.
does somebody has a hint for me how to achieve this?
i am using sql server 2005.
tia
...
I hope the title of this question makes sense.
What I want to know is if I develop an Active X control (developed in C++/CLI) that is dependent on other native (i.e. non-COM) assemblies, will the Active X control work in IE? I.e. will it be able to download the native assemblies locally or is it only the Active X control assembly itself...
Is there a breakdown of the popularity of the different .Net languages available? Does anyone know of any surveys that give this information, or even if it is possible to determine this?
Update
The answer is not a list of the different .Net languages. I would like to see statistics showing the relative usage/popularity of each .Net...
I have appended a column of checkboxes to a DataGridView using the following:
Dim chk As New DataGridViewCheckBoxColumn
DataGridView1.Columns.Insert(0, chk)
How do I change the checked state of a particular checkbox?
I have tried using the following code:
Dim val2 As DataGridViewCheckBoxCell = DataGridView1.Item(243, i)
val2.Value =...
Hi,
I'm editing a vb.net app for a mate and part of the requirements are to copy merge fields from one word document to another. I can copy them across using document.content.text but they come out as text (should've figured this i guess).
I think i've got them selected by:
Dim tDocFields As Microsoft.Office.Interop.Word.Fields
tDocF...
I want to build a user control suppose MyDiv.ascx.
This control renders the div tag and do few more code behind stuff like adding few attributes etc which is not a matter of concern here.
The problem is I want text between the opening and closing tags of the user control. Eg:
The text goes here with some other HTML tags.
So when do...
I know this question has been asked, but I found out that microsoft has recently released the source code for the entire .Net Framework. I was wondering that since now this source is available, if it was possible to download all dependent files from microsoft's code server, and somehow make a native executable that is not needing clr, or...
Does anyone know of any existing functionality in the .NET BCL to print the full signature of a method at runtime (like what you'd see in the VS ObjectBrowser - including parameter names) using information available from MethodInfo?
So for example, if you look up String.Compare() one of the overloads would print as:
public static int C...
If you run the following code you get the output:
The answer is: <br>
<br>
class Program
{
static void Main(string[] args)
{
HtmlElement element = new HtmlElement();
element.InnerHtml = "<br>";
string val = element.InnerHtml != null ? element.InnerHtml : element.InnerText != null ? element.InnerText : elem...
Is it possible to get LINQ to SQL to delete a record using the PK, without loading the record first? Similar to NHibernate's proxy object functionality?
...
I am building a proxy server in C# and I am trying to figure out how to support HTTPS requests, and read through them. Can you suggest any articles, tutorials, or open source projects where I can learn more on how to implement this feature?
...