I am writing a game editor, and have a lot of different "tool" objects. They all inherit from BTool and have the same constructor.
I would like to dynamically populate a toolbox at runtime with buttons that correspond to these tools, and when clicked have them create an instance of that tool and set it as the current tool.
Is this pos...
What does it mean if I receive this warning? Does it mean the project is referencing the same assembly from different files?
...
I can't make System.Linq (aka. Linq-to-objects) work. I am running MonoDevelop 2.2.1 in Ubuntu 10 Lucid Lynx with Mono 2.4.4.
They advertise in their site that they implemented Linq, but I can't even find Enumerable.Range or .ToArray(). What's wrong?
...
I am having trouble updating my Database from my code using a DataSet. I'm using SQL Server 2008 and Visual Studio 2008. Here is what I've done so far.
I have created a table in SQL Server called MyTable which has two columns: id nchar(10), and name nchar(50).
I have then created a datasource in my VB.net project that consists of this ...
I have a very simple question. Is it possible to use PLINQ with Silverlight 4 since it seems that it doesn't exist in the most commonly referenced assemblies?
...
My C# application throws a System.IO.IOExcepton (The directory name is invalid) for the following code for implementing a filewatcher:
public void OnChanged(object source, FileSystemEventArgs e)
{
DirectoryInfo dList = new DirectoryInfo(e.FullPath);
FileInfo[] TxtFiles = dList.GetFiles("*.TXT");
}
e.FullPa...
I'm doing an XML RPC call in ASP.net with c# and the call returns an Array called userinfo with strings and integers in it and I can't seem to figure out how to parse the data and put it into string and int objects... The only thing that compiles is if I make it an Object in the struct. The int returns fines and is referenced easily.
An...
I have been researching various third party libraries and approaches to low latency serial communications in .Net. I've read enough that I have now come full circle and know as little as I did when I started due to the variety of conflicting opinions.
For example, the functionality in the Framework was ruled out due to some convincing a...
I have made an application that makes a custom query. I need to send this custom query to a certain website, and then display to the user the results and images that come with it. how wold i go about doing this? I'm using visual c# express 2010 btw.
...
Has anyone tried coding in managed C++? I have a few questions :
How productive is the language compared to C#?
Is there any restriction on type of projects that can be written? Can we write a web application in managed C++?
Is it possible to mix managed and unmanaged C++ code in one application?
Is MFC still valid in managed C++? Wil...
I am building and designing a (mostly) read-only interface to some data. I'll be uing ASP.NET MVC to build a psudo-restful API. I'm wondering if anyone can provide some resources for building full-client applications for various mobile platforms, iPhone, Android, Blackberry, Windows Mobile, etc.
I'm thinking that serving up XML data is ...
I'm writing a messaging layer that should handle communication with a third party API. The API has a bunch of classes that cannot be easily (if at all) instantiated in a test harness. I decided to wrap each class that I need in my unit tests with an adapter/wrapper and expose the members I need through this adapter class. Often I need to...
Hello, I'm testing the NeuronDotNet library for a class assignment using C#. I have a very simple console application that I'm using to test some of the code snippets provided in the manual fro the library, the goal of the assignment is to teach the program how to distinguish between random points in a square which may or may not be wit...
My table structure is as follows:
Person 1-M PesonAddress
Person 1-M PesonPhone
Person 1-M PesonEmail
Person 1-M Contract
Contract M-M Program
Contract M-1 Organization
At the end of this query I need a populated object graph where each person has their:
PesonAddress's
PesonPhone's
PesonEmail's
PesonPhone's
Contract's - and this h...
I think I might be missing something important, but I can't seem to figure out how to construct a conditional statement in IL with dynamic method. I've only dabbled lightly in it before, but I need to extend some code now.
Is there some documentation somewhere that I haven't found (apart from the CLI documentation), or does someone have...
I have asp.net mvc 2 application.
Now I'm reimplementing it for working with Ninject. All is fine except one thing: where should I store Ninject.dll??
I've created lib directory inside my appdir and made reference to lib/Ninject.dll.
But may be there are some general conventions on how to act in such cases?
...
I have a web service developed with WCF. In the development environment the endpoint has the following identity section under the endpoint configuration.
<identity>
<dns value="myservice.devdomain.local" />
</identity>
myservice.devdomain.local is the dns name used to reach the development version of the service.
The binding used...
How would I go about saving several files and log the errors when something bad happens, but then keep going with the next file in sequence? Essentially I will have a collection of pdf-files that I want to save at a certain location. If an error is thrown when a file is process, the error should be logged and then the saving should conti...
Problem: SQLite assembly referenced in my DAL assembly does not get copied to the output folder when doing unit tests (Copy local is set to true).
I am working on a .Net 3.5 app in VS2008, with NHibernate & SQLite in my DAL. Data access is exposed through the IRepository interface (repository factory) to other layers, so there is no nee...
If you have
using XXXX.YYYY;
at the top of a C# file, do you need to include that assembly in the References part of the project?
What is the difference?
...