This may be a duplicate, but I haven't found anything that answers it thus far. My company passed a resolution that all files need to have a boilerplate comment header, with file name and copyright date among other things. I was hoping there would be an easy way to just create a header template that is added to the top of every new cla...
I am having a problem editing VB.NET .aspx pages in Visual Studio 2008. If I edit a line that is flush against the left margin, Studio automatically indents it 4 spaces, and there is no way to undo it! I am forced to save the file with that 1 line I edited indented differently than all the other lines!
Edit: How do I turn this off?
...
I'm trying to use SOAP headers to allow for SQL Authentication while accessing a webservice published on my SQL 2005 box via HTTP Endpoint. On the endpoint, I've set Authentication = (Basic), Ports = (SSL), and LOGIN_TYPE = MIXED. I'm able to generate the WSDL and consume it just fine in VS utilizing domain credentials. However, when ...
Hi,
I have a process ID, what I want to do is return the class. If it is the desired class then return the caption, how do I do that?
C Visual Studio 2008, XP SP3
...
I copied an existing project and renamed the folder. Now I get this error when I try to compile the application
debugging information cannot be found or does not match. No symbols loaded.
Do you want to continue debugging ?
If I click yes, it compiles and runs fine. But now I have to deal with that message. Just curious about what i...
In a Visual Studio project (C#), I attempted to perform a rename of a namespace using the Resharper shortcut (Ctrl-R+R). However, because I had branched some of the files that used the namespace from another location is Source Control, they had the readonly attribute set on them. Consequently, I received a dialog which contained the fo...
anybody know where i can get the vsdoc for jquery 1.4.2?
...
In Visual Studio 2008 (C++) I have a class destructor (Let's call this class 'A') which deletes a pointer to a different class (Let's call this class 'B').
it looks like this:
A::~A()
{
delete B;
B = NULL;
}
My B class has a pointer to the instance of A that created it. In B's destructor, I delete everything in B, except for ...
Can you call a function that has no body but is declared in the header in your code?? Please read below for my situation.
I am learning c++ so if my terminology is off then you know why. Any how, I am reading this book called "Advanced 2D Game Development" so if anyone's read the book then maybe they can help me out. In c++ he set 4 ext...
Is it possible to develop silverlight 4 applications in visual studio 2010 RC?
The official position of MS is we need to wait for silverlight's big update. I think it update will be on MIX10. But, what about any possibility to develop SL4 in VS2010RC now?
...
I have modified a SharePoint visual studio workflow which works as per requirement on the dev machine. I have to deploy it to an email enabled document library on sharepoint server and it is set to be started automatically when a new item is added to the library. When i deploy it to the server, and perform a manual upload to the doc libr...
Hi.
I have a lot of custom keyboard shortcuts set up. To avoid having to set them up every time I install a new visual studio (happens quite a lot currectly, with VS2010 being in beta/RC) I have created a macro, that sets up all my custom commands, like this:
DTE.Commands.Item("ReSharper.ReSharper_UnitTest_RunSolution").Bindings = "Glo...
In visual studio when we perform a search in our source code it works as if we were searching in a simple text file. But is it possible to search a phrase of a specific "type" (type is probably not the best word for what I want to express).
For example if I'm looking for 'hello' in a string I want to have in my results :
string bla = "...
I am creating my first Windows Forms application, to be deployed on Windows Mobile and I am having some trouble designing a Tabbed Interface.
I had assumed that I could Create a TabControl, then Add some TabPages and then drag Controls on to each Tab Page in turn. This does not appear to be possible and most of the information I see on ...
Oh SharePoint...
I've built a custom event receiver that just checks for some fields from the list, and changes some of them as needed.
Still, it's throwing this exception:
Unknown SPRequest error occurred. More information: 0x80070005
ERROR: Failed invoking job id {C67EFFCB-607A-4B6A-8C90-60F615FD1878}
Seen that it might be a securi...
Alright, so I want to improve my programming and object orientation skills. I want to program a fully object oriented blackjack game in VB.net under Visual Studio 2008. The first thing I did was learn all the rules of BlackJack.
I've been brainstorming about it. What (I think) I need is a Card class that has a number value and its repr...
I'm using Visual Studio C# Express and I'm wondering how I would go about adding some XML files and being able to reference them in my code. I added the XML files in a folder under the project, but I'm not sure how I can reference them, and then get them copied to the output folder. Originally, before I added them, I just copied the XM...
I have multiple projects in a single Visual Studio (2008) solution.
I just discovered that each of these projects uses a same GUID, so in the solution file it looks like this:
Project("{FAE04EC0-F103-D311-BF4B-00C04FCBFE97}") = "Pro1", "Pro1\Pro1.csproj", "{...}"
Project("{FAE04EC0-F103-D311-BF4B-00C04FCBFE97}") = "Pro2", "Pro2\Pro2.csp...
Hi, I have a small problem during debugging my App in VS 2010 RC when I want to see all the elements of std::map container.
When debugger reaches the breakpoint and I want to check the values of the map in element inspector (in 'Locals' windows and in pop-up windows after hovering the variable name with mouse as well) and I'm scrolling ...
By "current region" I mean a region where the cursor is.
EDIT: I am looking for region toggling, not outlining expansion toggling. By "region" I mean section of code defined by #region and #endregion directives. Ctrl+M, Ctrl+M toggles closest outlining (which for most cases would be current method not region).
...