visual-studio-2008

simple web parts in asp.net show as blank page

I am trying to develop web parts in VS 2008/WinXP I created a Web Site project, and added a couple of web parts within the default form in default.aspx <form id="form1" runat="server"> <div> <asp:WebPartManager ID="WebPartManager1" runat="server"> </asp:WebPartManager> <asp:WebPartZone ID="WebPartZone1" runat="server"> ...

Setting Icon for wpf application (VS 08)

Hi everyone, Before going much further i'll mention I have tried solutions in following: http://stackoverflow.com/questions/320677/how-do-i-set-the-icon-for-my-application-in-visual-studio-2008 http://stackoverflow.com/questions/198848/set-application-icon-from-resources-in-vs-05 I am trying to set an icon for my application. AFAIK,...

Post-Build event execution order problem in VS2008 Add-In

Hi, in my project I have defined a post-build step, where the linked executable is moved to another directory. Now I have written an addin for the Visual Studio, which handles the BuildEvents and do some actions on the linked executable after the build. My problem is, the post-build step of the Visual Studio is executed before the post-b...

Visual Studio Find and Replace Regular Expressions ~ find lines with quoted strings, not containing strings include or trace

Visual Studio Find and Replace Regular Expressions Find lines with quoted strings, not containing strings include or trace i am tryling to find out all lines in c++ project that contains some text as i have to use visual studio, i have to use its Find and Replace http://www.codinghorror.com/blog/2006/07/the-visual-studio-ide-and-regu...

Shortcut key to expand the selected collapsed block/region in Visual Studio C#

Hi all, It is very frustrating to hold mouse just when my cursor is on the correct location but I can't expand the block. I use Ctrl+M, Ctrl+O to collapse to definition. But not able to expand one of the block after that. I have to hold the mouse and click on the plus sign. Thanks in advance. ...

Install MVC 2 after Visual Studio 2010

I have installed Visual Studio 2010 (final) and then Visual Studio 2008. Now I have to open a project with VS2008 that uses MVC2. Is there any problem to install MVC2 after VS2010? ...

Is it a bad idea to have different team members on Visual Studio 2008 and 2010?

I'm about to start working on a C# project. I'd like to buy VS 2010, but the only other member of the programming team is already using VS 2008. I'm concerned that having two different versions of VS in use will cause code compatibility issues. Is this a valid concern? ...

Visual Studio 2008 setup project, fixing the location of installed kit

I've created a setup project in Visual Studio 2008. I would like the installed location DefaultLocation never to be modified by the user during installation, probably by skipping the 'Select Installation Folder' dialog during setup. Is there a way to do this, either in VS2008 (or VS2010) or using an MSI editor such as Orca. Please advise...

Register a file association with ClickOnce

I want to associate a file extension with my ClickOnce application. There is a File Associations part in the Publish options but I can't manage to make it work. ...

Where did the debug commands go in Visual Studio 2008?

You're going to think I'm either lying or nuts, but neither is the case. I installed VS2008 PRO on a Windows 7 x64 machine and all the debugging commands are missing. There's no debug toolbar and no Debug.* commands under Tools\Options\keyboard. How do I get the debug functionality working? ...

Visual Studio 2008 does not show recent projects.

Hello. I have installed Visual Studio in my laptop. Laptop is run by Windows XP SP3. And Visual Studio 2008 (with SP1) does not show recent files in Start Up page. Buy the way VS 2008 does not show recent projects and files in File menu. Any suggestion?:) UPD. In "Tools -> Options -> General-> Recent Files" is all ok. UPD. Buy the way...

CustomError not working properly

Hello friends, I am using following setting for customError. < customErrors mode="On" defaultRedirect="GenericErrorPage.aspx" > < error statusCode="403" redirect="NoAccess.aspx" /> < error statusCode="404" redirect="FileNotFound.aspx" /> < /customErrors> I have a folder "Admin" having access to administrators role. When ...

How do I keep Visual Studio's Windows Forms Designer from deleting controls?

With several forms of mine, I occasionally run into the following issue: I edit the form using the designer (Visual Studio 2008, Windows Forms, .NET 2.0, VB.NET) to add components, only to find out later that some minor adjustments were made (e.g. the form's size is suddenly changed by a few pixels), and controls get deleted. This happen...

How do you extract data from a Date/Time widget from a C++ MFC dialog in VS2008

This is a fairly basic question, but I haven't been able to find any from->to guides from VS6->VS2008. I have a dialog box that contains controls of various types, I've discovered the way of auto-generating OnBnClickedMyFooBarButtonHere() methods via the Properties dialog on the dialog editor. I can also use CWnd::GetDlgItemText(int ,CS...

VS coding conventions tools

Please can you help me to find some tools which will help developers to follow coding conventions for .NET( .NET Naming Guidelines,...) I found this ones: StyleCop FxCop ...

Why do I get an error 'Cannot resolve symbol <symbolname>' in ReSharper?

Using VS2008 and R# 5 I'm running into an odd situation, where on an aspx page I keep getting Cannot resolve symbol 'symbolname' But the code compiles and runs fine. While having a fix for this would be great, I'm just trying to figure out if I'm losing my mind. The CodeFile directive and Inherits directives are fine. If I compile th...

Using MS Standalone profiler in VS2008 Professional

I am trying to profile my .NET dll while running it from VS unit testing tools but I am having problems. I am using the standalone command-line profiler as VS2008 Professional does not come with an inbuilt profiler. I have an open CMD window and have run the following commands (I instrumented it earlier which is why vsinstr gave the war...

Yahoo Web Scrapes: What are the limits?

We are using a web scraper and have it set up to have a sleep function which has a random function set up (so that it isn't the same time between each scrape) but we are still getting blocked from Yahoo after 20-30 requests. Does any one know if there is a limit (i.e: 20 requests per minutes, 200 an hour) Right now our average between ...

VS.NET solution built differently on build server

I have a VS.NET solution with two Projects, ProjectWeb and ProjectLibrary. PW depends on PL, so I have a VS.NET project reference to PL in PW. That works all well and good on my dev box, but when it all gets to the build server, I have two different build projects, one for PL and one for PW. I'd like to build PL and copy the binaries s...

jQuery "growl-like" effect in VB.net

Hey all, i have made a simple form that mimiks the jQuery "GROWL" effect seen here http://www.sandbox.timbenniks.com/projects/jquery-notice/ However, i have ran into a problem. If i have more than one call to the form to display a "Growl" then it just refreshes the same form with whatever call i send it. In other words, i can only displ...