Hi
vs2003 runs under 1.1 framework.Now install 2.0 framework.Now how can i link .NET 2.0 libraries such that VS2003 has intellisence of 2.0 libraries.How can i do this?? Is it possible if yes how can i do this
...
I like the Office 2007 window border (how it looks in windows XP). Is there a way to use this same border in my WPF application?
Maybe it is included in RibbonX, however the whole package seems to heavy for my application, when I only want to have the same border style.
If all this is not possible, can someone give me some advice on ho...
Hi
If I have license for VisualStudio 2005 and 2008
I have license for SourceSafe too ? or I need to buy it ?
From where I can get One ?
thank's in advance
...
I've created a usercontrol in the C# (ASP.NET) designer. It works fine (when I compile / run) and doesn't kick out any errors. I'm using it in a GridView, if that makes a difference.
Sometimes, when I'm in the designer (for the page, not the control) it gives me a red box and tells me it can't display the user control. Switching to sour...
Hi,
I'm having the following problem and wondered whether anyone could see why this is crashing my .net worker process (aspnet_wp.exe):
Dim pattern As String = "\{\{IF\(((?!\)}})(.))+,,,((\s)*(?!\)}})(.))+\)}}"
Dim mc As RegularExpressions.MatchCollection = Regex.Matches(txtContent.Text, pattern)
Works absolutely fine if a match ...
Using C# (the .NET framework), I'm looping through all the TimeZones and their AdjustmentRules... and for "Mauritius Standard Time" {(GMT+04:00) Port Louis)} - the adjustment rule is as follows:
IsFixed = false;
DaylightTransitionStart.Month = 10;
DaylightTransitionEnd.Month = 1;
From what I understand, 'IsFixed=false' means that I do...
C#: Is there a way to make the maximum value of a NumericUpDown control unlimited instead of having to specify a specific value its the Maximum property?
...
Does anyone know or care to speculate why implicit typing is limited to local variables?
var thingy = new Foo();
But why not...
var getFoo() {
return new Foo();
}
...
I have an interface that defines the ability to persist an entity to a data store. I'm having trouble thinking of a name for it. Any ideas?
public interface IInterfaceForDefiningADataPersistenceOperation<T>
{
void Store(T entity);
}
...
I'm using the DataContractSerializer to serialize an objects properties and fields marked with DataMember attributes to xml.
Now a have another use case for the same class, where I need to serialize other properties and other fields.
Are there a way to add "another DataMemberAttribute" that can be used for my other serialization scena...
Hi.
I have a small problem where I want to find the next "active" item in a list with linq. Then next "active" item is defined by a startDate and EndDate. Here is an example list.
//-- Create Lists of turns
IList<Turn> turns= new List<Turn>(){
new Turn(){Name = "Turn 1", StartDate = DateTime.Parse("2009-05-...
What's the best way to go about providing a simple search capability for "business objects" in a .NET WinForms application?
By "simple search" I mean something like Vista + Windows 7's "search box" that's in the upper-right-hand corner of almost every window, that searches the contents of that window (nothing fancy, probably no "advanc...
When marshaling objects between AppDomains in .NET the CLR will either serialize the object (if it has the Serializable attribute) or it will generate a proxy (if it inherits from MarshalByRef)
With strings however the CLR will just pass the reference to the string object into the new AppDomain. The CLR still ensures integrity since .NE...
I'm currently writing myself a little C# back up program. I'm using a standard windows form for the interface, and am calling cmd.exe as a new process, and then using XCOPY from within this new process. Every thing's working great, except for this last feature I want to add in, which is the ability to break the operation.
From a nat...
Hi,
I'm trying to find a library that can read a given RSS/Atom feed, and that can guess its format and abstract it as a list of items.
The idea is to build a simple RSS reader that could take any feed.
I know PHP has a few libraries doing just that, but I can't find any .Net version.
...
Hi,
I have a bunch of Java code which was written using the Hibernate framework, originally destined to have a front end written using JSPs. However, the requirements for the front end have changed, and we've decided that a desktop client (which will be written in .NET) is a better match for our users.
I don't really want to waste the ...
I am developing an application in .NET to solve VRP, without using ArcGIS Server, but I can not find a complete sample code, I used other samples such as routesolver and get help from them, but I faced Exception in INASolver.Solve that shows I didn't load NAClasses correctly, I will be really thankfull if you could help me.Please!!!:(
I...
While it is possible to generate PowerPoint presentations automatically using Office Automation, this is not recommended for use on a server. How can you go about generating a PowerPoint presentation without using Office Automation?
...
Hi There,
I'm developing a .NET class library, along with some sample sources.
So, My solutions consists of the library, the sample VB to illustrate the library, and a setup project to deploy it all.
The sample has a project dependency on the class library, and the setup project is configured to deploy the Class library (i.e. the output...
How can one easily iterate through all nodes in a TreeView, examine their .Checked property and then delete all checked nodes?
It seems straightforward, but you aren't supposed to modify a collection through which you are iterating, eliminating the possibility of a "foreach" loop. (The .Nodes.Remove call is modifying the collection.) ...