Hi,
All
I downloaded YAF-v1.9.4-RC1-BIN.zip version. but it is not working .
and also added tagprefix in the web.config file.
<add tagPrefix="YAF" namespace="YAF.Controls" assembly="YAF.Controls, Version=1.9.4.0" />
but still some errors occured.
related to sandbox.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile=...
Hi Everyone,
I have written an application on my x64 machine in Visual Studio 2008. The application will be sent to someone, and I have two questions that I need answers to.
What requirements will they need to have installed. I am assuming the .NET 3.5 redistributable. Are there anything else though? (The application does not call a...
I've written a PowerShell script to build several .net solutions one after the other. It simply makes several calls to tfget (to get latest) followed by devenv.exe (to build the .sln files).
Here's the code:
tfget -item $SolutionPath -overwrite -recurse -ev +errors
...
$out = invoke-expression "devenv.com /rebuild debug $SolutionPath"
...
I've got a class that manages a shared resource. Now, since access to the resource depends on many parameters, this class is instantiated and disposed several times during the normal execution of the program.
The shared resource does not support concurrency, so some kind of locking is needed. The first thing that came into my mind is ha...
Hello:
I defined a Window in WPF, into this one I put a "stack panel" and inside this panel I put a "tab control" and some "button controls".
When executing the program, I would like that when I have to resize the window using the mouse, the stack panel and all controls inside it can also be resized automatically and proportionally to ...
I'm hooking up an previewmouseleftbutton event handler on a treeview. Now I want to determine in my event handler, when I'm at the last element in the tunnel series. How do I do that?
...
Hi!
I'm trying to run the Count() function of a Linq statement in an overriden Gridview function. Basically, I want to be able to assign a linq query to a gridview, and on the OnDataBound(e) event in my new extended gridview have it retrieve the count, using the IQueryable.
So, I need to dynamically cast the GridView.DataSource to my L...
I'm wondering if it is possible using .NET to call a remote web service and in effect specify which IP the call is made on.
I'm consuming a service that limits the number of calls I can make based on IP. The service costs in the 20k range after the free limit is used up. I'm very close to enough calls but not quite there using the fre...
Hello,
My windows mobile application (written in C# with the compact framework) needs to know if a particular machine is active or not.
To achieve this goal, I thought to use a ping mechanism. I tried to use the Ping class implemented in the opennetcf framework (the System.Net.NetworkInformation.Ping class for the .NET Framework is no...
With FluentValidation, is it possible to validate a string as a parseable DateTime without having to specify a Custom() delegate?
Ideally, I'd like to say something like the EmailAddress function, e.g.:
RuleFor(s => s.EmailAddress).EmailAddress().WithMessage("Invalid email address");
So something like this:
RuleFor(s => s.DepartureD...
I created a simple User Settings Dialog by binding the Property.Settings to a PropertyGrid.
This works like a charm but now I would like to allow only certain choices for some values. I have noticed that some Types will give a dropdown of possible choices. This is what I am shooting for but for, say, Strings.
Example, one of the ...
I have generic type that looks like:
public class GenericClass<T, U> where T : IComparable<T>
{
// Class definition here
}
I then have a collection of these instances. What is the cleanest way to pass through the type constraints?
public class GenericCollection<V> where V : GenericClass<T, U> // This won't compile
{
private...
If I drag and drop tracked .cs files to new folders in VS2008 with VisualSVN what message should I see when I commit the .cs file? I see added (+) shouldn't I see a "move"?
I'm asking because I'm getting ready to do a major refactoring (including moving lots of files) and I don't want to lose my version history on these files.
Note: I'...
Hello, I've been seeing a lot of C# 4.0 changes as of late. I really like some of them. Also though, I do not want to move on to .Net 4.0 for compatibility reasons just yet.
So, is there a comprehensive list of new C# 4.0 language features that will work on .Net 3.5 or lower?
As an example, do default parameters require the .NET 4.0 ...
I have a WebBrowser control in a VB.NET WinForms app. I am able to set the default printer from code and print without prompting the user. However, there is also a print button that shows the PrintDialog. If this action is done first the page will print. Then if I try to programmatically print later (again setting the default printer...
Here is my ideal solution: a free tool that reads a .csporj or .sln and generates a pretty picture that shows all the objects and how they are related. By relationships, I don't mean inheritance but rather dependency. For example, if we have a Car object and Car has a member variable Wheel, I would like that Car depends on Wheel to be...
Hi Stackoverflowers! :)
We have a .NET application for Windows which is installed locally by Microsoft Installer. Now we have the need to use additional assemblies which are located online at our Web Servers. We'd like to refer to a remote uri like https://www.ourserver.com/OurProductName/ExternalLib.dll and reveal additional functional...
I am developing a .NET framework application that allows users to maintain and save "projects". A project can consist of components whose types are defined in the assemblies of the framework itself and/or in third-party assemblies that will be made available to the framework via a yet-to-be-built plug-in architecture. When a project is...
I have 2 List objects:
List<int> lst1 = new List<int>();
List<int> lst2 = new List<int>();
Let's say they have values:
lst1.Add(1);
lst1.Add(2);
lst1.Add(3);
lst1.Add(4);
lst2.Add(1);
lst2.Add(4);
I need to get an object containing the "distinct" list of both of these; so in this case the return would be List {2, 3}.
Is there an ...
I have this simple test project just to test the IncludeExceptionDetailInFaults behavior.
public class Service1 : IService1
{
public string GetData(int value)
{
throw new InvalidCastException("test");
return string.Format("You entered: {0}", value);
}
}
[ServiceContract]
...