I have created a screenshot program and all is working great. The only problem is, I am not sure how I can make it so the screenshots are saved with appending numbers.
Example: Screenshot 1, Screenshot 2, Screenshot 3, Screenshot 4, etc.
Obviously this could be applied to other files being saved. Any ideas? Thank you.
...
I want to customize my own media player, but I would rather do it in C#. There is any .NET open source media player, so I will not start from scratch?
...
According to this blog post, Microsoft will not fix this problem soon. There is the technical possibility to do it ourselves, or we will have to wait for Visual Studio 2010 SP1?
...
I'm just getting started with CruiseControl.NET and nAnt and don't really have a good understanding of how the whole process works. We currently have most of our solutions in Visual Source 'Safe', and have the build server Label each release automatically using the AssemblyInfo file.
We're migrating our VSS projects into SVN, and have m...
For the task I'm trying to accomplish, I need to generate many images, all consisting of a black circle border on a transparent background, but each a different size (going up in size from 3x3 to, say, 20x20).
Preferably they would be GIFs or PNGs, as these support transparency.
I started building a simple C# Console project for this, ...
I'm implementing a timeout on an asynchronous operation (a series of network IOs), and I'm not sure which is 'better' (from a allocations / performance) perspective: creating an EventWaitHandle and using RegisterWaitForSingleObject, or just creating a Timer and using its Tick.
In my specific case the EventWaitHandle is lazy-created, but...
Hi,
[EDIT]
The solution seems to be assigning PersistUpdateCheckInfo to false:
UpdateCheckInfo updateInfo = null;
...
updateInfo = deployment.CheckForDetailedUpdate(false);
[/EDIT]
I've got a (more or less) perfect manual system for updates using the ClickOnce API. I say perfect because the user is presented with a form explai...
I have a custom MSBuild task that peeks inside an assembly to get some attribute meta-data.
Assembly assembly = Assembly.ReflectionOnlyLoadFrom(AssemblyFile)
This is used by our automated build/release process, and has been working perfectly against assemblies used by and referenced from class libraries, console apps and web projects....
The Database Forge Class contains functions that help you manage your database.
It can:
Create or drop a database
Add fields and keys
Create, drop and modify a table
I was wondering if anything like that existed for C# or .Net.
Otherwise, I think I have a little project on my hands.
...
Hi all,
I need to create database from codebehind in ASP.net 2.0.
Please help.
...
I am creating a Graphics object to draw on the original image and I want save the modified image as a new image.The Image on the form as well as the drawing
...
I'm working on an app that shows its forms as a series of modal windows stacked on eachother. All forms are placed to the center of the screen. When the user moves the form around the screen, only the topmost one moves, others remain at the center and cannot be moved as they are blocked by the topmost dialog.
I'm trying to code a form-m...
Possible Duplicate: Break point issue
I am unable to put a breakpoint.
I am getting the message in the breakpoint like:
"break point will not be currently hit, no symbols are loaded"
...
Does anybody know of an API/SDK or IFilter in .NET that can read the subject ('title' metadata) and text from the following files:
.PDF
.DOC
.XLS
.PPT
.CSV
.TXT
.DOCX
.XLS
.PPTX
+ the OpenOffice and Open Document standards.
Open source would be awesome... but commercial is OK too.
I can't find anything anywhere!
...
Is it possible to use an activemq consumer (in .NET) like this?
foreach (var msg in consumer) {
// process message
}
such that the enumeration loop stops, without consuming CPU, until a message is available? Effectively it would be an infinite loop unless something goes wrong.
...
It is one thing to stream a video to a html page and render the web page using a .NET Form and .NET Web Browser. My Question to you is whether it is possible to render or stream video to a video player rather than an embedded video in a html page. Is that called breaking in ?
...
I am trying to parse DateTime, with an exact format being accepted from client input.
Which one is better
bool success = DateTime.TryParseExact(value, "dd-MMM-yyyy",
DateTimeFormatInfo.InvariantInfo, DateTimeStyles.None, out dateTime);
OR
bool success = DateTime.TryParseExact(value, "dd-MMM-yyyy",
CultureInfo.InvariantCultur...
I am thinking about going into .net framework client profile, but currently I am depending on System.Design.dll, which is not inside the profile.
I can, of course, manually distribute them in my application folder directory, but is there a better strategy?
...
I have a FormView which contains 5 dynamic DropDownLists. By dynamic, I mean the lists of dropdowns can be increased or decreased - depending on how many questions I have in my DB.
When I click the save button, I'm able to retrieve and store the content of the text boxes. But I'm not able to retrieve the DropDownLists.
One of the prob...
Is it possible to run nunit tests in a multithreaded fashion? Is there any runner which can provide this?
Before someone jump on "unit test" concept, let me explain: These are not unit tests we are using nunit for functional / integration testing as well, and some of those tests are incredibly slow, got lots of wait state. Therefore mul...