visual-studio-2008

What does this error message mean?

Hi all, In C++, on this site: http://msdn.microsoft.com/en-au/visualc/bb985511.aspx I downloaded the code sample and went to Debug and it came up with a messagebox with 2 textboxes in it and told me to specify the executable file to debug. So I did, and then I clicked browse, but there is NO executable because the stupid thing hasn't c...

How do I copy a DB from the server to the application's AppData folder?

Hello folks, I've been working on an ASP.NET application accessing a DB in my local machine. Now I want to have this DB in the app's AppData folder instead, so I can easily work on it from within VS SQL instance accessing the mdf file, and easily copy and share it between programmers. Thanks a lot! ...

Method is called from my TestMethod only when running in debug mode

Hi, I'm writing Unit test cases in Visual Studio 2008. I'm facing a weird problem. From my TestMethod I'm calling a library method. This method is being called when I debug the TestMethod, but when I run the TestMethod this method is not being called. I checked the references of the dll's, they are perfecly intact. Please help me to ...

Navigate files with VisualStudio 2008

I am currently developing with VisualStudio 2008. I find it increasingly difficult to find files when the number of files and projects increase. The situation become so bad that I literally have to spend 10-20 seconds to find code I want to work on when switch between files. Sounds like not a lot of time, but this can be very annoying be...

ASP.Net MVC Go To Declaration On view

Is there anyway when in an MVC view to right click a function call and get to the declaration? Like you can do in the code behind/controllers ...

Why does my F8 key in Visual Studio keep getting changed?

On both my work and my home PC I keep getting the following error in Visual Studio 2008 when I hit F8 to step through results of a search. I can fix it by resetting my keyboard settings in Options, but a few weeks later it will just happen again. Does anyone else experience this and/or know how to stop it changing itself back every so o...

Variation of the (x) button - VB.NET

Hey guys. You know the (x) button on the toolbar of your app? I want to add a pice of code right after the it closes the window. How would I do this? Thanks ...

vb.net DataGridView Uncommitted new row cannot be made invisible.

Hello, I have a DataGridView in my VB.net Form. I need to make some rows invisible based on a value. As there is not GridviewrowdataBound, I am trying to achieve it as shown in the below Code Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles Dat...

F#: Namespace not defined when trying to open System.Windows.Forms

I am using Visual Studio 2008 Integrated Shell with the F# CTP (October). Everything works fine, but when I am trying to open System.Windows.Forms, VS gives an error: the namespace 'Windows' is not defined. However, it works when I try to open the namespace in F# interactive. What am I doing wrong? ...

3-Tier VB.Net Forms vs. Web Based ASP.Net Solution - Which will scale better?

I am on a project helping to analyze the load a VB.Net WinForms application can take. This app has been in production for several years and has many many products on it. We plan to add more products but see the client footprint rapidly increasing. This is contributing the degradation of performance on the system overall. There is dusc...

Crystal Report Image - Help

I'm using the Crystal Reports-2008 included with VisualStudio 2008. I would like to change the image that is displayed on the report at runtime ideally by building a path to the image file and then have that image displayed on the report. Thanks, Sr ...

Visual Studio 2008 Designer File Bug?

This has been driving me crazy for months. I have a multiple projects that compile without errors. If I start copying and pasting controls (or even just plain 'p' tags) the designer will fail 1/2 the time with the error "the method or operation is not implemented". The complexity of the page doesn't matter. The 'solution' is to delete th...

Events tab randomly appears and disappears in VS 2008

I know it's a minor annoyance.. but it's still an annoyance and it baffles me.. About 3 months ago I was using VS 2008 and when I went to the "Properties" tab there was the little lightning bolt for events(in design mode). Then it suddenly went away.. about a week later I discovered that if I didn't have the properties tab "stickied", th...

Is there any way to delay the fade-in time for intellisense in Visual Studio?

I just switched to VS2008, and intellisense is even more 'helpful' there than in 2005. I'm finding it to really break my concentration having it pop up every time I reach the end of a token or key word or whatever. I have to hit ESC or ignore it and it's really annoying. I've not been able to find a setting to delay its activation. I...

Proper case text as it is being entered in WPF

How do I proper case text as the user enters it in a WPF form. I'm using the following code to do the proper casing which works fine, but I can't figure out how to do it on user entry. Microsoft.VisualBasic.Strings.StrConv(txt.Text,VbStrConv.ProperCase,0); ...

vs 2008 express: registration

Did any one have luck recently register Visual studio 2008 express C# product? Look like, I would have to reformat my computer and install every thing all over again. I un-installed it and installed VS2008 express again but it will not start because it demands registration. When I click the register button, the website launches and hour ...

I want a shortcut to appear in the VS 2008 toolbar when I install my application

I want a shortcut to appear automatically in the VS 2008 toolbar when I install my application. How do I do this? ...

hundreds of errors in VS2008

In Visual Studio 2008 I see hundreds of errors within my web app. If I open the offending page(s) within VS, I'll see dozens of items underlined in red - then the errors resolve themselves. Any idea why this happens and how to resolve it? ...

Open CV + Visual Studio 2008 weird Debugging problem

I've recently installed OpenCV2.0 under Visual Studio 2008 professional edition, built the libraries, dll-s and got everything working but when I run the first example program: #include “highgui.h” int main( int argc, char** argv ) { IplImage* img = cvLoadImage( argv[1] ); cvNamedWindow( “Example1”, CV_WINDOW_AUTOSIZE ); cvShowImage( “E...

Attempted to read or write protected memory. - After converting app from VS 2005 to VS 2008

I have an application that was written in VS 2005 (C#). Works fine, it calls a 3rd Party dll. Now that I've converted it to VS 2008 (using the wizard), I get the following error when trying to instantiate the 3rd party dll. Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Not sur...