Hi !
If you add a directory in your Visual Studio project and you add a class inside it, the namespace will respect the whole path the directory inclusive.
But sometimes, I prefer having the class in the main project namespace, although it lies in a directory structure, just because I don't want to have mess in my code.
So often happe...
As I'm making my application, I've been able to just run my project and it runs with the changes all made. As my project is getting larger, I have to go Clean Solution, Rebuild Solution and Run...Recently I also upgraded "Team System" edition my dad has, because of its testing tools
Why is this happening? is it because of something I've...
Hi. I am new to programming.
I know only Start debug before. Maybe start debug suit for some small application develop better.
I found Visual studio IDE provide another method of attach to process for using.
When & Why must I use the attach debugging?
Such as multi-threading application debugging. Client/Service application debugging...
Hi
I have Win 7 Enterprise. If i open any .cs file on VS 2008/2010 it gives a message " Visual Studio has stopped working" on a dialog box. There are two buttons "Debug" and "close program". Debug button starts devenv in debug mode with assembly code as i do not have the pdb file for the same.
There is another machine with same configu...
This popup comes up as soon as the app is started:
The program can't start because MSVCP90.dll is missing from your computer.
Before anyone says "install the VC++ runtimes", wait! If I rename the folder containing my .EXE then the app runs. If I rename it back, it breaks. The app has been running for weeks without any changes to my...
I've recently upgraded my project to Visual Studio 2010 from Visual Studio 2008.
In Visual Studio 2008, this Code Analysis rule doesn't exist.
Now I'm not sure if I should use this rule or not.
I'm building an open source library so it seems important to keep people safe from doing mistakes. However, if all I'm going to do is throw Ar...
the following code shows invalid qualifier when executed
Dim strs As String
Dim insStr As String
Dim strRes As String
strs = "This is VB.NET Test"
insStr = "Insert"
strRes = strs.Insert(insStr)
Thanks in advance
...
I'm working on a Classic ASP (with VB Script) project where I'm instantiating an object from an ActiveX control like so:
Dim objHelper
Set objHelper = Server.CreateObject("HelperLib.HelperObj")
Visual Studio 2005 provides intellisense for the first "layer" of properties and methods, but it can't seem to see properties and methods that...
Hello,
I would like to come up with a simple application that would add a specific phrase into a specific location on a desktop application. I assume this isn't very hard, but I'm kind of new. Any help??
Thanks!
...
I’m new to SharePoint development. We are currently running SharePoint 2007, but we have Visual Studio 2010 installed on the development server. I’ve been successful developing web parts using class libraries in 2010, but I’m wondering if there are any templates for vs2010 that will still work on SharePoint 2007. Looks like all the templ...
I'm trying to start visual studio 2010 from command prompt using 'RUNAS' so that I can run it as a different user. I ran the following command:
runas /profile /user:myPCName/SomeUserName "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"
My problem is that the commandprompt says "Enter the password for myPCNam...
I have the following method I came across in a code review. Inside the loop Resharper is telling me that if (narrativefound == false) is incorrect becuase narrativeFound is always true. I don't think this is the case, because in order to set narrativeFound to true it has to pass the conditional string compare first, so how can it always ...
I like the grouping and browsability that regions provide in C# code but don't like the manual process of maintaining them (even auto-formatting tools are not perfect as they take awhile for large files), and other developers don't like them at all, so a better solution would be one that is done automatically by the IDE and without touch...
I have a database on line with Godaddy (who uses SQL Server 2005). They provide basic management tools, but tell you that for more advanced tools you can connect directly using SSMS. I followed their instructions to ensure my online database will accept remote connections, and can apparently log in using SSMS with success (after giving m...
My co-developers and I recently upgraded machines to Windows 7 Ultimate 64 bit. Some of us are seeing a new error we used to never see when building solutions in Visual Studio (happens in both 2008 and 2010):
Error generating Win32 resource: The process cannot access the file because it is being used by another process.
It alwa...
Our team is still in a love / hate relationship with it. I am hoping to put an end to the debate by having an internal vote on what rules should be excluded and which rules should be added.
Before doing so, I wanted to ask others SO users. To standardize (but not limit) the responses:
What is your current StyleCop version?
What .Net v...
Really Visual Studio can be so annoying sometimes...
I did nothing else than deleting 3 UserControls in a folder. Since that time I get a error message I do not get rid of. Whatever I do I can not build successfully my project.
I did not touch the SchoolAdministrationUC.xaml file , but I deleted 3 other UserControls also located in the...
So I have string returnType which a developer can choose to = to JSON , XML or PRINT_R.
How to limit his choice and make VS 2008 or later suggest him what value (from that 3) string returnType can be? (.net 3.5)
...
I have two tables parent and child.
If I make a foreign key on child that points to the primary key of parent, and then make an entity diagram, the relationship is shown correctly.
If I make the foreign key point to a different column, the relationship is not shown.
I have tried adding indexes to the column, but it does not have an ef...
Hello all, complete newb quesiton here, but I'm new to C# and Visual Studio 2010.
How do I load .dll's into Visual Studio 2010 so I can write C# programs using their methods?
More specifically, I'm trying to write a twitter application using TweetSharp that will be run via command line.
...