1) If I set HorizontalAlign property inside GridView’s ItemStyle tag:
<ItemStyle HorizontalAlign="Left" />
then Visual Studion will render this property as <td align=”center”>
a) Is there a way to tell Visual Studio to instead render HorizonatalAlign property as a style rule :
<td style=”text-align:center;” ... >
thanx
...
I have a DBML file with a very large data model. Whenever I need to add a relationship between to tables I have to select the other table from a combo box which appears to be in in almost random order. Is there a reason these dropdowns aren't in alphabetical order, or is there a way to put them in some kind of order?
...
This is a bit of an odd situation. Here's what's happening.
So, we have a VS2008 project which outputs to a number of files under perforce control. These files have the always writable flag set.
I compile the project in VS, which gives me up to date binaries on my machine. If I then revert those binaries via perforce, I have the versio...
I'm trying to write a macro that toggles between release/debug solution configurations in Visual Studio.
It appears I can switch the configuration by using 'DTE.ExecuteCommand("Build.SolutionConfigurations", "Debug")'.
Is there a way I can 'read' the value? Or is there a way I can use macros to 'focus' on the solution configuration UI...
I have an Outlook style app. So basically I have a sidebar on the left and on the right I have a panel control (pnlMainBody) that hosts content.
The content is typically a user control that I add to the panel when user clicks appropriate button in the side bar. The way I add the user control to the panel is as follows:
// _pnlEmail...
I have a solution in VS 2008 that creates a DLL. I then use that DLL in another application. If I go in to the DLL projects property pages and change the following configuration for a DEBUG build then the built dll no long provides the desired functionality. If I change it back and rebuild the DLL, then the DLL does provide the correc...
Can anybody give a simple Deadlock sample code in c# ? And please tell the simplest way to find deadlock in your C# code sample. (May be the tool which will detect the dead lock in the given sample code.)
NOTE: I have VS 2008
...
im tyring to get this to work:
#define UNICODE
#define _UNICODE
#include <wchar.h>
int main()
{
wprintf(L"Hello World!\n");
wprintf(L"£안, 蠀, ☃!\n");
return 0;
}
using visual studio 2008 express (on windows xp, if it matters).
when i run this from the command prompt (started as cmd /u which is supposed to enable unicode ?...
Possible Duplicate:
.vbproj the project is not supported by this installation
I have visual studio 2008 installed in my pc when I try to open a .Net 2005 Solution with multi-projects, there are project in vb and c#. The only web project on this solution display the following message:
.vbproj the project is not supported by th...
Hello,
I am working on a asp.net 3.5 project in sweden, where some of the namespaces include swedish characters, such as 'å', 'ä' and 'ö'.
When building the project and generating the design-file, visual studio replaces these characters with some other strange characters. This only happens when the characters occur in a namespace or cl...
I am using TortoiseHg + VisualHg on Visual Studio 2008. Has anyone found way to automatically create a tag (with the published version number) in Mercurial whenever I do a publish from VS?
...
Is there a compiler option in VS 2008 (C++) to expose uninitialized variables? I'm trying to debug a problem where the "release" build of a DLL does not work but the "debug" build of the DLL does work.
...
Hi,
Is there any way to change default font of controls in winforms.
I must change font in about hundred font in recent project and it's coming next project with other fonts and I wanna at start setting properly fonts.
...
Hi everyone,
I need to build a application that dynamically load custom web user control. Those user controls will be builded by other users and included into a project.
In the other hand, in another project, these controls will be consumed and dynamically loaded into the pages of this project. This is for easily customize forms and st...
I just installed VS2008 on a brand new Win7 machine and have started at a new company. I am now running the company's main project and all is well...except that, for some reason, .Net keeps breaking on some javascript errors. This isn't in the browser (although it only happens when running IE, in this case version 8).
I'm at a loss as...
I am putting together a lightweight MVP pattern for a WinForms project. Everything compiles and runs fine. However when I attempt to open the WinForm in design mode in Visual Studio I get a "Illegal characters in path" error. My WinForm is using generics and inheriting from a base Form class. Is there a problem with using generics in...
According to this article, it's possible to get multiline XML comments -- instead of using ///, use /** */. This is my interpretation of what multiline comments are, and what I want to have happen:
/**
* <summary>
* this comment is on line 1 in the tooltip
* this comment is on line 2 in the tooltip
* </summary>
*/
However, when ...
hi .
How can I reset the configuration parameter in VS2008 C++
I misconfigured my project
...
Anyone have suggestions on good tutorials or examples of how to create MSI packages using visual studio?
In particular, I'm interested in creating a deployment package for an ASP.NET website.
...
I am using the Crystal Reports designer that came with Visual Studio 2008. My report's data source is tied to a .Net class from my project (i.e. Database Expert > Project Data > .NET Objects). I've updated my .Net class with an additional property that I would like to use in my report.
When my report's data source is tied to a databas...