Hi
I need to write my own binary raw data to a flash drive (like a disk on key) or a floppy using C#. The result will be my custom file system from my program.
Any ideas?
Thank you.
I have a simple text box in a WPF application.
I need to know when a character was added/deleted in the text box, which character and where it was added or deleted.
I thought to use the TextBox.KeyDown event, but it has some problems:
I can't know where the character was added or deleted.
I have no idea how to determite which character was…
It would be much more less work to define which methods are NOT overideable instead of which are overideable because (at least for me), when you're designing a class, you don't care if its heirs will override your methods or not...
So, why methods in C# are not automatically virtual? What is the common sense in this?
using loadObjectAtResourcePath, on GET method, doesn't include my parameters on the requests.
for example, i send:
[RKObjectManager objectManagerWithBaseURL:@"http://something/ws"];
[[RKObjectManager sharedManager] loadObjectsAtResourcePath:@"/res" delegate:self block:^(RKObjectLoader *loader) {
NSDictionary *dict = [NSDictionary…
Hey,
Im wondering, how can i get a SUM of a rating entity i get from the datastore (python)?
should i:
ratingsum = 0
for rating in ratings:
ratingsum + rating
print ratingsum
?
I have had a talk with a friend of mine about the relative vulnerability of different types of IT workers to unexpected unemployment (e.g. layoffs, company going out of business, obsolete skills etc.)
as it seems COBOL developers (or maintainers?) seems very secure in their positions, regardless of the state if the economy or even how…
What is unit testing and unit testing libraries like xUnit? I understood it's testing specific code, so what's the difference between this and just opening a new project and test this specific code?
I have a simple text box in a WPF application.
I need to know when a character was added/deleted in the text box, which character and where it was added or deleted.
I thought to use the TextBox.KeyDown event, but it has some problems:
I can't know where the character was added or deleted.
I have no idea how to determite which character…
i am trying to put up a code to create a databases from my c# code (asp.net website).
this is my code -
SqlCommand myCommand = new SqlCommand("CREATE DATABASE @dbname", nn);
myCommand.Parameters.Add("dbname", dbname);
myCommand.ExecuteNonQuery();
nn.Close();
well, its not working. its…
Is it really possible, with Google's V8 Engine, to compile JavaScript into Native Code, save it as a binary file, and execute it whenever I want through my software envorinment, on any machine?
Hey, im trying to work out with /remote_api with a django-patch app engine app i got running.
i want to select a few rows from my online production app locally.
i cant seem to manage todo so, everything authenticates fine, it doesnt breaks on imports, but when i try to fetch something it just doesnt print anything.
Placed the test…
There are great .NET libraries and components. What is, for your opinion the most useful, effective, well wrriten open source C# library you've ever seen?
Mines, is the great Html Agility Pack.
Please post one library per answer.
How can I port an application based on OS X to Linux? It is closed source and working in Windows either. It is not wrriten in Objective C and doesn't use Cocoa.
Thank you.
In IIS 7.5, I'm trying to rewrite a Url such as /about to /content.asp?p=about, with support for QueryString-s, so if the orginal Url was /about?x=y, it should rewrite to /content.asp?p=about&x=y.
The basic rewriting is now working, but when I'm trying to add a QueryString it doesn't work. Tried both /about?x=y and…
Hey.
I have those partitions (in Windows) for example:
Hard Disk 1 - Partition C, Partition D
Hard Disk 2 - Partition E
Is there any way in a program language to know if for example partition C and partition D are in one physical hard disk without WMI?
I don't want to use WMI because it's slow - for this example,…
What are the best practices on writing a cross platform library in C++?
My development environment is Eclipse CDT on Linux, but my library should have the possibility to compile natively on Windows either (from Visual C++ for example).
I have about 50 T-SQL files, some of them are 30MB but some of them are 700MB. I thought on executing them manually, but if the file is bigger than 10MB it throws an out of memory exception on the SQL Server Management Studio.
Any ideas?
What Win32Api functions can I use to get some dialog box text? (for example if I have the handle of some error message dialog, how can I know what its error message?)
Thank you.