Hi,
I want to create a custom template so that once selected, it will gray out the Location input box in the New Project window. Does anyone know how to do this?
Thanks much in advance
...
Is it possible to open a solution saved by VS 2010 Professional in Visual Studio Express and vice versa?
If so, will there be issues with the entity model (edmx)? I see the following statement here:
Visual Studio Express Editions cannot connect to a server. They can only connect to a file instance of a database.
http://msdn.microsoft...
I'm very new to C# and I've run into a problem and haven't been able to solve it. I have a row of buttons that have .png images assigned to them. The images are in .png format to allow transparency, and smoothing the edges in GIMP leaves some semi-transparent pixels. I've set the Image List Toolbar (imglToolbar)'s properties to recogn...
We are moving to an environment with multiple engines of SQL Server running on the same server (a test engine and a production engine). We also have separate test and production web servers, and would like for our asp.net applications to "magically" use the test database engine on the test web server and the production database engine o...
I have a web application project made in Visual Studio 2008.
Well, I added a jquery folder and added it to source control and other such things. I forgot to add it to the visual studio project though. How do I add the existing folder now? I've tried just creating a new folder and naming it jquery but it gave me a cryptic error "the dire...
Hi,
Got an annoying problem here. I've got an NHibernate/Forms application I'm working through SVN. I made some of my own controls, but when I drag and drop those (or view some form editors where I have already dragged and dropped) onto some of my other controls, Visual studio decides it needs to execute some of the code I wrote, includ...
Any idea how to unmap a project?
Here is what I am trying to do, I changed the location of a source control, completely removed it from TFS source control.. but now it is showing up wanting to add it..
And the other issue I'm having is.. when I try to Map the new project, it is giving this error.. thing is, I've completely deleted th...
I'm looking for an open source library to do Windows executable symbol name demangling. Does such a thing exist or must I use the Microsoft libraries?
...
How can i learn table Name in database an how can i learn any Table's Column name?
SELECT Col.COLUMN_NAME, Col.DATA_TYPE
FROM INFORMATION_SCHEMA.COLUMNS AS Col
LEFT OUTER JOIN INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE AS Usg ON Col.TABLE_NAME = Usg.TABLE_NAME AND Col.COLUMN_NAME = Usg.COLUMN_NAME
LEFT OUTER JOIN INFORM...
I am having a problem with my virtual methods in a derived class. Here are my (simplified) C++ classes.
class Base
virtual method accept( MyVisitor1* v ) { /*implementation is here*/ };
virtual method accept( MyVisitor2* v ) { /*implementation is here*/ };
virtual method accept( MyVisitor3* v ) { /*implementation is here*/ };
...
i have some excell data. also excel column i created programmaticaly in sql tablr my excel column on the other hand; some column's name is "mydetail" if converting to to upper MYDETAİL. i must this ToUpper() event : MYDETAIL not MYDETAİL
...
Title says it all.
I'm trying to write an extension for VS2010, but I get this every time:
Hit F5 to start debugging
A new instance of visual studio starts up
I can see a bunch of DLLs loading in the debug host while the new instance is starting
It then fails with a "LoaderLock".
When I continue after that, the new instance is fully...
i try to create table from excel rows. however; excel columns :
column1 has max 200 character row
column2 has max 300 character row
column3 has max 500 character row
So i need to create sql
create MyTable column3 nvarchar(500) according to Excel Max Character.
...
A solution was just converted from VS 2008 to VS 2010. My VS 2010 build is failing with the popular "The type or namespace X could not be found". When I go to the project and go to Add References and add the appropriate project dll, the class name appears in blue text as if .NET found the correct class. However, when I go to the Build...
How can I sort DESC and ASC in a generic list? With LINQ and without LINQ ? I'm using vs 2008.
class Program
{
static void Main(string[] args)
{
List<int> li = new List<int>();
li.Add(456);
li.Add(123);
li.Add(12345667);
li.Add(0);
li.Add(1);
...
I need to test my program on a specific environment. I want to know how I can customize the cpu or ram usage, or see what will happen when I run my program to the hardware. I need this information:
memory usage
cpu usage
...
Does anyone know the attributes or xml comments required to get the "new EventHandler(blah); (Press TAB to insert)" ability when you += an event?
Here are the two methods I've tried.
public EventHandler AnEvent;
public delegate void CustomEventHandler(object o, System.EventArgs e);
public CustomEventHandler AnotherEvent;
Neither see...
I have defined two properties "Name" and "ID" for an object which I use for the DisplayMember and ValueMember of a ComboBox with a BindingList datasource.
I recently installed Resharper to evaluate it. Resharper is giving me warnings on the object that the two properties are unused.
Sample code:
BindingList<ClassSample> SampleList = n...
When using the visual studio 2008 debugger with c# i can right-click on a variable and choose "Make Object ID" which allows me to watch that object (via it's ID) regardless of whether it is in the current stack frame or not.
When the debugger is in VB code, (doesnt matter if it's run from a c# unit test or a vb unit test) That option is...
Using visual studio 2010, entity framework 4.0, ADO.NET POCO Entity Generator
On the code lines:
MecDbEnt.Domains.AddObject(subject);
MecDbEnt.SaveChanges(); (on this line)
the application throws follow exception:
complus exception code -532462766
Does anyone know how to solve an error like this?
Thx!
...