I have a fairly large solution that occasionally crashes. Sadly, these crashes appear to only occur in release build. When I attach the debugger upon crashing, I get the message:
"No symbols are loaded for any call
stack frame. The source code cannot be
displayed"
This makes it quite hard to find the cause of the crashes. I am ...
How can i insert data programmatically? but i can not do that. No error return also no adding data in my database.How can i do that? i created a Extention method to use in my project look please below.i want to add extentionmethod but i can not. How can i add data with below extention method?
namespace TestEng
{
public partial class...
Sometimes VS think that ASP.NET controls is HTML and dotn show properties/events.
When this happen, I need to re-open the file sometimes. With all Visual Studios.
http://img192.imageshack.us/img192/3567/errovs.jpg
Its a bug? Or I always do something wrong?
Thanks.
...
Say I have a class and I want to deprecate a method. Is it possible to have that method not show up in intellisense so that people won't be temped to use it? I just want existing code that uses it to continue compiling but hide the method from view at the same time.
...
Hi,
The title says everything. I'm using Visual Studio Team System 2008 Database Edition and I just can't open any database project. I get the following error message:
'..' cannot be opened because its
project type (.dbproj) is not
supported by this version of the
application. To open it, please use a
version that supports t...
does struct member alignment in VC bring performance benefit? if it is what is the best performance implication by using this and which size is best for current cpu architecture (x86_64, SSE2+, ..)
...
I found a strange issue when porting my code from Visual Studio to gcc. The following code compiles fine in Visual Studio, but results in an error in gcc.
namespace Baz
{
template <class T>
class Foo
{
public:
void Bar()
{
Baz::Print();
}
};
void Print() { std::cout << "Hello, world!" << st...
Is there a way to filter errors/warnings by project in Visual Studio 2010?
For example, if project A has dependencies for project B and C, Visual Studio will show errors/warnings for both project A, B and C, even whenever I compile project A alone.
I don't mind if VS show A's errors/warnings when I compile the entire solution, but I wo...
I've been generally very pleased with the MVVM Foundation Messenger, but I've noticed that when a messenger call causes an exception, the Visual Studio debugger doesn't ever seem to take me to the line of code that caused the exception (instead, it jumps to the method in the Messenger class that invoked the action). This forces me to do ...
Hi everyone,
I have a Unit Test project with 20+ .cs files. I want to run some setup code before each individual test. Kinda like how the [TestInitialize] attribute works. However, I'd need to put that attribute on all 20+ of my .cs files.
Is there a way to centralize the initializing code in one place for every test in my entire pr...
One of the awesome things I remember in Visual Basic 6 from years ago that you could just load up an ActiveX exe project into the IDE, set a breakpoint, press Run and whenever someone (either an EXE or a project in a different IDE) called that DLL, your breakpoint would hit.
Is something like this possible with Visual Studio 2008? Can ...
In Visual Studio if I add a few files to a project but then decide to undo my pending changes the files are removed from the project but remain on my hard drive. This isn't terrible but is annoying. In Visual Studio is there a way to specify that when a change is undone local files should also be removed?
...
I just want to have a "data" directory in the project, and that it will be located at the startup directory of the application. When I add files with drag&drop they're not appearing in the startup directory of the application (they're embedded or something).
Seems to be very simple but not found any solution yet =[
...
I like that quotation marks are automatically inserted in the Visual Studio xml editor, but I haven't yet found an easy way to get past the second quote without moving my hand over to the cursor keys or hitting End. Is there an easier way to skip past the second quote when the value is a string (Intellisense will skip the quote if the va...
I have my shiny new Visual Studio 2010. I want to develop a Silverlight 4 web app with it.
I made a project and it told me that I needed to update my Developer version of Silverlight. I followed the link provided and did what it suggested.
I then went back and created my project (under a different directory).
But when I try to selec...
I am getting the following exception message when I try to run my newly created Silverlight app:
An error occurred while trying to make a request to URI 'http://localhost:8732/Design_Time_Addresses/IsAProgrammer.Service/Service1/'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain p...
I have just upgraded from Visual Web Developer Express 2008 to Visual Web Developer Express 2010. However, I can't use it. When I try to create a new project I get a small dialog box that says:
Error writing the project file. Class not registered.
I have tried reinstalling and repairing the product to no avail.
...
I sometimes hack from some code for a friend. He paid for VB Studio pro 2008 but won't upgrade to 2010. He's happy enough for me to use VB Express 2008, but I am wondering what I am missing out on by not using 2010.
What are the major differences beteen
VB EXpress 2010 and VB Express 2008
and
VB EXpress 2010 and VB Studio PRo 20...
Hey guys,
I am a new visual basic learner and I already have some difficulties in finding the proper softwares to start my first programs ;)
I will have to develop in vb6.0 and 8.0 (.net 2005) and 9.0 (.net 2008), what softwares do i have to use ?
From my search, I will have to use Visual Basic 6.0, Enterprise Edition (or another edi...
Hello all,
I'm having a wierd problem. i'm developping a nice game with openGL on MFC. i need to use threads for multi sound. so i am trying to use the BASS lib for that.
For a reason that is beyond my comprihention, i can not get the bass.lib to link. all other libs (openGL libs and so on) link perfect.
i'v added "#include "base.h" ...