Hello,
I can't find key binding to expand all possible cases in switch,
eg. have switch with enum argument, in Borland C++ i doing this with [TAB] key
while switch code is selected.
I want to do this in Visual Studio 2010.
Can anyone help me?
...
$(document).ready(function () {
$("#frm").validate({
errorClass:"invalid",
rules: {
cname: { required: true,minlength:5 },
cemail: { required: true, email: true }
}
});
});
I am using above function to validate my html f...
Hi I am currently in a project there we are consuming some wcf services, but we are not happy with the generation result of the service proxy.
We are getting ugly names like service.NameSpace_Are_In_The_Method_NameBeginSomeMethod.....
And we want the possibility to do some other changes.
Can we somehow change the template that are gen...
I have a number of test classes and methods that copy a particular directory like so:
[TestClass, DeploymentItem("LanguageData", "LanguageData")]
public class OcrTests
{
[TestMethod]
public void Can_Capture_Field()
{
// some code that expects the LanguageData directory to be in the test results Out directory
}
...
I would like to bind a DataGridView to the results of a query generated as text at runtime.
How can I send a query as text to Microsoft Access and bind the results to the DataGridView?
When the user clicks the button (ok_btn), I want the contents of the textbox (query_txt.Text) sent to Microsoft Access, then I want the results of the q...
With .net microframework 4.1 and visual studio 2010
I can´t compile my code,
i get a german error message from the emulator "nicht genug speicherplatz"
which means not enough disk space.
So i have to config the emulators memory i guess,
but in the tools->options should be device-tools
but i dont have the device-tools option.
...
In visual studio 2010, under solution explorer the source control icons by the files denote that the file is currently checked out. However if I look at the file in the source control explorer it appears not to be checked out. I have tried the "refresh" button in solution explorer as well as "get latest version...". Neither update the st...
Hello,
I am trying to test an application in Windows for memory leaks. I have looked at Linux alternatives (eg. Valgrind) and I am looking for a similar tool for Windows. The problem with .Net is that the memory is not released straight away like in Linux.
My knowledge of .Net is limited so my problem is I would like to use a tool tha...
Say I have this C# method:
public bool GetVal()
{
return a1 == b1 || c1 == d1 || GetE1() == GetF1(); // Illustrating complicated logic here..
}
I don't want to modify the content of the variables / return values of methods in the statement above, but want to return false to the method that's calling GetVal().
Is it possible to us...
I want to make a field, which will be automatically filled, and stay unique.
More explanation: I have an ID field, which should be filled by my program not the user, and is my primary key.
How may I do it in SQL Server?
I'm using Visual Studio 2010
...
My professor asked us to generate UML for next homework. We are using Visual studio 2010 for c++ programming. I tried to work on it but I could not figure out, I went to Architecture-> Windows -> UML Model Explorer but don't understand where to go next. Is UML generator creates UML automatically or it will just give bunch of boxes to fil...
What kind of tooling support or helpers does VS2010 or .NET 4.0 provide to developers in the way of accessibility?
Anything new for creating 508-compliant markup?
Anything new in the way of supporting WAI-ARIA specific attributes on AJAX-updatable elements?
...
Hi,
I'm getting an error in a VS2010 DB project that indicates I have too many charachters in my build path.
How can I change my default build path for all project types?
Something like
c:\build\$(projectname)\......
Thanks!
EDIT:
I've moved my project to the root of the C: drive and I still get the error with my DB project. I ...
Hi there,
I have a small issue with the Code Analysis in Visual Studio 2010. I'm running an English version of Windows 7 with Visual Studio 2010 Premium (English version) and Code Analysis. The region, location, number format etc in Windows 7 are set to Switzerland (German).
If I use Code Analysis the messages are displayed in English....
Just curious,
I remember way back in the ASP.Net 1.0 Visual Studio 2002? days you could just drag a web control onto your visual web form interface to where you wanted it and it would fill in all the CSS styling to make sure that control was in the right spot when viewing the app in a browser.
Did that go away? I haven't used it in ye...
Would there be any reason that VS would prohibit you to "Add existing file" to lets say a folder inside an assembly?
Is it protected somehow? If so how and where is this done and how can I see if this is the case?
There are some missing .cs class files in one of these folders that should be included in this project and I try adding ...
I'm refactoring a program containing a lot of
forms created dynamically from run-time informations.
To reduce the level of complexity of the system, I thought to write individual code files for each of these forms.
Since the forms are many, I'm thinking for a way to automate the process of creation of the forms source code files from ...
My goal was to create a REST service that will allow me to POST and GET images. I've got the GET portion working, however I'm having difficulty posting an image to the service I created. Using the WCF REST Service Template 40 (CS) template I created the following method to handle my POST.
[WebInvoke(Method = "POST", UriTemplate = "upl...
Anybody else's VS2010 is extremely slow when closing code editor tabs?
Opening a .cs file is instantaneous but closing a tab takes ~8 seconds. I have uninstalled Power Commands and the Productivity Power Tools, the only other installed extensions are ReSharper (disabling it did not help) and the Color Theme Editor. I do have the UI Auto...
Ok, so I installed plenty of useful extensions from Extension Manager in Visual Studio 2010.
I really like them but now my context menu in solution explorer is way too long.
So long in fact that I have to scroll down/up using little arrows which is really annoying.
Any solution to that anyone?
...