I have a string that contains well formed xml in it. I want to navigate the XML in that string to extract the text in certain nodes. How do I efficiently accomplish this using a built-in .NET class. Which .NET XML class would you use and why?
Many thanks for your help.
Note 1: Linq is not available to me.
Note 2: Editing the XML is no...
I have listbox with a TextBlock bound to a field, and the I have set the AlternationCount="2" this works great for changing the background color of the items control; however, I cannot get the effect I want with my rectangle... I'm trying to have a rounded corners effect on each listbox item.
edit: the xaml
<DataTemplate x:Key="TaskLis...
While this has been asked in a general sense on another thread or two, I'm looking specifically for feedback and experiences with MacBook Pro running Windows 7 under boot camp. I'm doing .NET 3.5 ASP.NET and WCF stuff and have the option to trade out my latitude D830 for a MBP. I've heard here and there that from people who dual boot t...
Given the following fragment where links is a sequence of unbounded imagelinks and documentlinks, what should the deserailized class be?
<Values>
<Links>
<ImageLink>http://#</ImageLink>
<ImageLink>http://#</ImageLink>
<DocumentLink>http://#</DocumentLink>
</Links>
</Values>
Typically, if it wa...
The remote client is a desktop application running a windows.forms application. How do I have the server send the client a message, knowing the client's IP address?
...
I am just wondering why they split up the users stuff into 2 tables. Like they got aspnet_ membership and aspnet_users.
Is it just because the membership stuff they have is so long?
...
So currently I'm creating a 1000x1000 bitmap and it's spending about .3 seconds simply calling the Bitmap.SetPixel() function.
I'm actually only drawing probably 50% of the pixels so it's more like 500,000 call to setpixel. While that does seem like a lot of calls, OTOH video games are do alot more and push many many more pixels (some ...
I am not the only programmer, but I'm the only .NET developer, everyone else works with Perl, Ext JS, and related technologies. I'm primarily self taught, using Codeproject heavily to learn new techniques.
Without any mentors at my company specifically knowledgeable in .NET, I'm unsure whether classes, or online tutorials, books, or ...
It is possible to discover it programatically? It will use the Windows Registry? I'll need to take a screenshot of it and compare with the files on disk? Is it possible to discover even in the desktop slideshow mode?
...
Is there a way to make a screen recorder in C#? If so, does anybody know of any tutorials I could use or any information on the subject?
...
I want to search a file duplicate by its hash. For performance purposes I want to know if there is a stored hash/checksum for each file in NTFS/FAT file systems. If there is, I don't have to compute them all to search my file.
If there is, how to access it using .NET?
If it helps, it will be JPEG files. Do they have a checksum?
...
I have a list of data and the time(s) at which it needs to be processed. The times are usually about one second (or less) apart (they vary) but needs to be run fairly close to that time. I have tried putting the thread to sleep for a small amount of time but there is a bit of overhead associated with resuming a thread after sleeping whic...
Hi,
can any one tell me, how to load the highresolution images in windows mobile using c#.
i am getting outofmemoryexception for that.
...
I have this
Public void CreateUser(params here)
{
CreateMembership(params here);
Users newUser = new Users();
newUser.UserId = 123456
Context.Users.insertOnSubmit();
Context.Submit();
}
public void CreateMembership(...)
{
Membership membership = new Membership();
membership.Something = "something";
Context....
I need to detect points of quadrilateral in a pretty high contrast image. I understand how I can detect large changes in contrast between 2 pixels, but I'm wondering what would be the best way to detect entire boundaries and corners of a quad in an image.
So I'm basically looking for a good article/algorithm which explains/does this. No...
I would like to take an image, and index the words in that image, let the user search the image and then display the image highlighting around keywords.
So, what I need is an OCR class that takes an image and that gives me a list of words with their coordinates? Possible?
Thanks
...
I've run into a very specific bug with the DateTimePicker control in Windows Forms. The control has a custom format (MM-YYYY -> 01/2010) - the month/year of a credit card. Today is the 29th of September. If a user selects the control, and uses the keyboard to set the month to February, the control will throw an ArgumentOutOfRangeExceptio...
<appSettings>
<add key="SqlConnectionString"
value="Data Source=.\SQLExpress;Persist Security Info=True;Integrated Security=SSPI;
Initial Catalog=INFT3009_ASS1_C3104855.mdf;
Trusted_Connection=Yes"/>
</appSettings>
I am using the above connection string in my web.config.
I attached the .mdf file to my database...
Hello.
I have a problem with a C# ASP .NET project in Visual Studio 2008
This problem started when I reinstalled my computer with Windows 7 ultimate 64-bit.
To this I'm also using Office 2007.
The error message I'm getting is:
{System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-000...
I have seen in certain places (sorry, am unable to provide links at the moment) that validation errors in a form are displayed in a label at the top. As the user fills up the form, that error text changes accordingly.
I can see an obvious if...else and handling "Validating" etc events to implement this (though it can turn out to be very...