(Using .NET)
User puts DVD in the drive.
Program shows the title of the DVD movie and maybe even some links to web info
Do DVDs have a "fingerprint" like music CD which can be used in a webservice lookup or is there embedded metadata on the DVD itself?
...
I've been profiling a method using the stopwatch class, which is sub-millisecond accurate. The method runs thousands of times, on multiple threads.
I've discovered that most calls (90%+) take 0.1ms, which is acceptable. Occasionally, however, I find that the method takes several orders of magnitude longer, so that the average time for t...
I have a standard view and some standard input tags without runat=server:
<button id="submit">submit</button>
<button id="clear">clear</button>
Pressing either causes the page to submit. Instead, I want them to do nothing since I'm handling the click event with JQuery. How do I do this?
EDIT
Here is my jquery code
$('#submit').bind...
Original Question:
Why do I get an Arithmetic overflow error converting numeric to data type numeric in ADO.NET code using the Money Data Type when amount is greater than $999,999,99?
Just as the question says... I have a bit of ADO.net code in the data access layer that talks to a Sql Server 2008 database. There is an Amount column...
hi guys,
i have to deploy few assembly to GAC.
I just had a few questions about (my) understanding of GAC.
really confuses me.
I want to know which versions to change assembly and file version.
What are possible combinations in which GAC dll will be replaced by installing application.
and basic management for GAC files.
I will ex...
I want to protect my RSA private key with a password (who wouldn't) but the following C# fails:
SecureString pw = new SecureString();
pw.AppendChar('x');
CspParameters prms = new CspParameters();
prms.KeyPassword = pw;
RSACryptoServiceProvider crypto = new RSACryptoServiceProvider(prms);
byte[] encrypted = crypto.Encrypt(Encoding.ASCII...
Hi all,
I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs.
Is there a lib that suits my needs?
greetings,
Coen
...
When finding new jobs and looking at resumes you commonly see that someone expects or has experience with .Net. But what does that really mean? It seems that my current employer expected it to mean that I was familiar with the ASP.NET controls (GridView, etc) when in reality I had never used any of them before. I had used C# for 6 month...
I'm using EPiServer for this website. Unlike asp:DataList, EPiServer:PAgeList does not have AlternatingItemTemplate.
So I need to create a counter and increase this counter in my <ItemTemplate>, and then use modulus to return whuch css style to append to article / page.
Modulus "code" - fromcode behind:
return index % 2 == 0 ? "style...
Using Oracle® Data Provider for .NET to generate strongly typed datasets.
I could of course fill the entire table, but I would like to learn how to use the Where() extension with a delegate function that should limit number of collected rows based on certain table values.
Parameters for Where() extension:
(this IEnumerable<CUSTOMERRo...
I am currently creating a Windows App for a handheld device (WM 6.0, CF 2.0, sqlce 3.5) that pulls data from the server only when connected to a dock (all the significant data is maintained/altered on the handheld til it comes back and is docked for a sync with server). The data is similiar something UPS would do in that it manages picku...
When I'm writing code, I'm starting to identify those places where I could use Linq. My problem is that I'm still very new to the syntax. I learn best through examples, but I can't seem to easily find the example I need.
I wanted to start this thread to create a repository of common Linq expressions that others could stumble upon via ...
I'm trying to parameterise a search query that uses the LIKE keyword with a wildcard. The original sql has dynamic sql like this:
"AND JOB_POSTCODE LIKE '" + isPostCode + "%' "
So I've tried this instead, but I get a FormatException:
"AND JOB_POSTCODE LIKE @postcode + '%' "
Edit: I guess the FormatException isn't going to be coming...
Is it feasible to become proficient with msft dotNet using only opensource (or no-fee tools from msft)
if yes, what is the toolset?
...
I am experiencing an issue where the string drawn on an image is putting non-letter characters in the wrong place, i.e. Hello World! draws on the jpg !Hello World
anyone else seen this?
...
Hi,
What's the best way for me to call a WCF Service from within a Quartz .Net job?
Is the easiest way to write a separate exe that spins up a WCF proxy and have that exe called from within the job? This seems like it would work but is a bit convoluted. It'd be nicer if I could somehow have the Job have the proxy injected in somewa...
I'm curious as to what pattern the community uses to make AJAX calls in a 3.5 setting. Patterns may be the wrong term to use here, but I've started working in an AJAX environment(been a while) and there's a few new options.
Originally(quite a few years ago), I would write up a function using XMLHttpRequest and use an *.aspx or *.asmx pa...
I am using the System.Drawing.Graphics.DrawLines(Pen pen, PointF[] points) method in a multithreaded application, but the System.Drawing.Graphics isn't shared between threads.
Why it keeps throwing the System.InvalidOperationException: The object is currently in use elsewhere ?
...
I'm creating a text-to-speech application. it's an ASP.NET application that makes use of the System.Speech namespace to convert some text to .wav audio format.
the thing is that I want to be able to install multiple Nuance voices on the server to make use of them in my application.
is there any website hosting provider (like godaddy.co...
I need a control to call DragMove() for a Window on MouseLeftButton down, but still function when clicked.
If DragMove() is called, Click and MouseLeftButtonUp are not ever fired because DragMove() is a blocking call until they release the mouse button.
Does anyone know a workaround to make this work?
I have tried this hack based on T...