Hi,
I have a class library project which uses a namespace (e.g., "Cosmos.Creator.Util"). I then create a solution and windows forms application to test the library. From the windows form application, I add a reference to the library. So now I have two projects open in visual studio, a class library and a windows forms project. The f...
I'm looking for a tool that can tell me what frameworks a .NET assembly will work under. Or more specifically, what BCL (base class libraries) versions the methods within it requires.
What triggered me was this:
Today I got a bug-report against an application we're making that basically said: "you're using WaitOne(Int32) but that only w...
I work in a development shop with about 20 other developers. It's really a chore to have to merge changes to a Designer.cs file or a .Resx file, when 50% of the changes just involved a change in ordering of the same code in two updates.
What do other development teams do to keep these files in order, such that when two people make chan...
We use SubSonic as an ORM of sorts(really more of a query-helper). For one reason or another, we have a bit of a dynamic schema and as such certain tables have generated column names and such. Well, this has been all fine and dandy until now. Now, our production generated columns don't match up with our development generated columns. The...
-edit- nevermind. I ran the code again and it appears i cant log into that first site anymore. It must have been a weird cache issue or something. Maybe i overlooked something. WebClient seems to ignore cookies so logging onto a site shouldnt work.
I figured out how to login to websites using WebClient. On the first website i tried i co...
I have a system which reads strings from the parameters of a GET request, then parses and sends the data along through a very large and complex codebase, which I can't reasonably wrap my head around. These parameters were originally generated from integers at the client, so at it would have been valid to parse these string parameters int...
i currently use this code to delete a folder and its contents:
string tempFolder = System.Environment.GetEnvironmentVariable("HomeDrive");
System.IO.Directory.Delete(tempFolder + "\\" + "Test", true);
and it works GREAT but, it will delete the folder and its contents but, will NOT delete read only files. So how using c# targeted Frame...
Hi
I am trying to build a notifier program(email alerts followed by sms alerts in the future).
However I am unsure how to deal with this scenario and I am unsure if google calendar tries to solve this problem(as they suffer from it as well) or if they just don't care.
Say User A sets a meeting for 7/20/2010 and shares their calendar w...
I just downloaded and installed Web Matrix beta.
I am really liking the razor view engine.
Not so much the Web Matrix IDE.
Is there any way to install razor view engine for use in the Visual Studio without installing WebMatrix?
...
I would like the TreeView below to expand to fill the current row that it is contained within, however, I can't figure out how this is done. It just expands to fit the tree items. Can this be done, and if so, how?
Thanks
<Window x:Class="WorkoutUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xm...
Because MS only supports their own languages in code equivalent to Delphi *.dcu,
and because their is no msdn for library P/invoke. I have no connectivity to P/invoke
Has any one got any idea's for connectivity
As a dll do I use loadlibrary and doing so its defeating the purpose
Is P/invoke just extra code to connect to .com
The only...
I use this class to send mails trough a gmail account:
public class GmailAccount
{
public string Username;
public string Password;
public string DisplayName;
public string Address
{
get
{
return Username + "@gmail.com";
}
}
...
Currently, I'm sitting on an ugly business application written in Access that takes a spreadsheet on a bi-daily basis and imports it into a MDB. I am currently converting a major project that includes this into SQL Server and .net, specifically in c#.
To house this information there are two tables (alias names here) that I will call Ma...
I need to choose carefully .NET ORM for N-tier application.
That means, the I will have the server (WCF service), which exposes the data, and client, which displays it.
The ORM should support all the related serialization issues smoothly - the objects or collections of objects, or whatever must travel across process boundaries. Ideally, ...
I've read about binary searches on Wikipedia for the first time today and just skimmed the surface a bit. It seems it's used to find items in a collection quickly where memory is sparse.
In a .NET/C# context, would I ever need to use one? Do you ever use them while building production actual-real-world software?
I'm sorry if this quest...
I currently work on a multithreaded application where I receive data using the following (simplified) code:
private void BeginReceiveCallback(IAsyncResult ar)
{
bytesReceived = this.Socket.EndReceive(ar);
byte[] receivedData = new byte[bytesReceived];
Array.Copy(buffer, receivedData, bytesReceived);
long protocolLength = BitConverter.T...
OK, this is rather broad question but ... Is there a chart that says what version of the framework will run what?
So, I guess it brakes down into two questions
1 - Are the frameworks 100% backward compatible? I've had a Framework 2.0 Website run 1.1 dlls, so I assume 2.0 will run 1.1. Will this work for a windows app? Will it work fo...
it's a .NET non GUI application. It is specified as a console application, but the console is not really used. what the application does is GUI testing of other applications
...
Hey everyone,
I have a report that is not showing 2 columns out of 3 per row for some reason. I tested the result set from the XSD and the data is correct but for some reason the two columns are not showing. The last column is showing properly and totally correctly as well.
Whats showing
Name Ongoing Closed Total
xxx ...
In my current project I'm using classes which implement the following ITransaction interface shown below. This is a generic interface for a transaction that can be undone. I also have a TransactionSet class which is used to attempt multiple Transactions or TransactionSets, and can ultimately be used to create a tree of transactions.
So...