I've been writing a lot of VC++ 2008 / CLI software recently and am using the C#/CLI style documentation:
/// <summary>
/// Function the does stuff
/// </summary>
/// <param name="someParam">Specifies some option</param>
/// <returns>true if it worked</returns>
bool DoStuff( bool someParam );
I find myself re-typing those blocks quite...
i try to givee style via GridView.css into Masterpage my masterpage includes 3 pages also 3 pages sources has GridView. i added head tags css file:
<link type="text/css" href="../CSS/GridView.css" rel="stylesheet" />
also give property my GridVew source:
<asp:GridView ID="gwRehber" runat="server" AutoGenerateColumns="false" CssClass...
I have a fresh install of Visual Studio 2008. After installing that I installed the TFS plugin. Then VS 2008 Service Pack 1 and finally I installed the vs doc hotfix.
The problem I need help with is that when I type 3 forward slashes inside of a javascript function, I do not get the autocomplete which includes the summary tag and any pa...
Title says it all, how do I do that?
...
1- Resource files suppose to be added on adding some resource in application like image or audio or video etc. But if I just change size of form a .resx file incleded under that particular form. Changing size of form does not add any resource so why this .resx file?
2- I dropped a button on form and a resource file is included; again th...
My lazier side has apparently gotten the best of me. When I started to develop with .NET under VS2008 recently, I was very happy to see that all of the dependencies automagically got copied to my application's bin/debug folder upon compilation. This is fantastic. I never even bothered to look into how / why this is done.
Yesterday, I...
When a user clicks on the little red "x" a.k.a. the form close button on the form command bar, what even is activated besides FormClosed()
I know FormClosing() is called, but I cannot really stop the form from closing after my code is run. I want to be able to show a messagebox that asks if the user wants to exit the form or not. Obviou...
Solution
I had also moved ashx and asmx files at the same time as this. The Class attribute of the WebService/WebHandler directives were pointed at the wrong namespace. The moral of the story is to make sure you view the markup for all as*x files you change the namespace for by right-clicking on them and choosing "View Markup".
I'm e...
I'm trying to get all domains that are available in the Windows Login dialog (in the Domain dropdown).
I've tried the following code but it only returns the domain I am logged into. Am I missing something?
StringCollection domainList = new StringCollection();
try
{
DirectoryEntry en = new DirectoryEntry();
// Search for objec...
When loading up a solution in VS2008 I get this message:
An error was encountered while opening
associated documents the last time
this solution was loaded. Document
load is being skipped during this
solution load in order to avoid that
error.
It shut down immediately the first time I opened it. The next time I opened it...
I have a custom attribute...
[System.AttributeUsage(System.AttributeTargets.All)]
public class Refactor : System.Attribute
{
private string _message;
public Refactor()
{
_message = string.Empty;
}
public Refactor(string message)
{
_message = message;
}
}
Applied to
[Refacto...
Hello,
I have a setup for using UnitTest++ like this in VS2008.
Sometimes the cmd window, which shows the console output of the unit tests just hangs.
I can move the window, resize and stuff, but I'm unable to close it. I see the window in the App tab of the Task Manager, but not in the Process tab, "Switch to process" doesn't work e...
Our old TFS 2008 installation is getting old, and we would like to migrate to TFS 2010. However, the structure of our team projects is not so well thought out, and there has been various experiments with process templates and editing of work items and so on.
Therefore, I would like to migrate our source code to TFS 2010, with full hist...
In Visual Studio I can easily control which configuration is built, Debug or Release or something else. How do I control which configuration is built in Expression Blend 3?
...
I am creating a web chat facility in visual studio 2008 using Visual Basic,I want to be able to highlight certain keywords that are sent and received to each user, can someone please tell me how I can do this? Thanks in advance
...
I have a WPF UserControl. The code behind file declares some RoutedUICommand objects which are referenced in the XAML. The application builds and runs just fine. However Expression Blend 3 cannot load the XAML in the designer and gives errors like this one:
The member "ResetCameraCommand" is not
recognized or accessible.
The c...
How do you make VS 2008 automatically install SQL Server CE 3.5 when debugging (F5) a CF app on a windows Mobile 5.0 device?
VS used to do this automatically, but now it stopped and I don't know why. I have changed the structure of my solution and the projects, but it is still using SQL Server CE 3.5. It used to also install the Query A...
Quite a simple error, and the reason is obvious - I mapped a network drive, and I am opening the solution from it. Visual Studio gives me this error.
I tried googling, and to my surprise, couldn't find a fix. I am running Visual Studio 2008.
The solutions I found on google say I should run Mscorcfg.msc, but unfortunately, I don't seem ...
I have a solution that contains several projects. Some of these projects share source files. I have set up my project tree so that the projects that share source files are together. My problem is that when I do a clean and build the shared source files get re-compiled for every project, not just the first one that uses them. The result i...
Hello, first time here... great site
Well, I want to reference a web service, and it requires user/pass authentication.
In VS 2008, if I try to "add reference", or "add service reference", all I can type is the URL, there's no way to input my credentials. Obviously, if I try to load the ws, it shows me a nice message:
"The request faile...