visual-studio

how to run href="#var=something" before onclick function fires in javascript?

i'm using the below javascript to change an image on an aspx in asp.net c# <script language="JavaScript" type="text/javascript"> var updateImageWhenHashChanges = function() { theImage = document.getElementById("ctl00_ContentPlaceHolder1_Image1a"); if(window.location.hash == "#size=2") ...

retrieving deleted web pages

I have recently published a web service to my site through visual studios ... I was so dumb to select delete existing files option ... Can anyone please help me out how do i get back my deleted files from the server... ...

visual studio, change project namespace

Hi, how change project namespace name? Now is namespace WindowsFormsApplication16, i wont namespace MyName Thanks ...

How do I populate my VS2008 Data Sources window with a LINQ query table?

I´m (professionally) creating a SQL Server database client by using Visual Studio 2008, C# -> Windows Form(s). And I´m using all the built in stuff, provided by my friend VS Studio, dragging and dropping, creating SQL query tables in DataSet.xsd, and so on... I like that. But! I would like to try out LINQ, as I would like to have somet...

Problem when creating Web Service

I am using Visual Studio 2008 SP1 and framework 3.5 sp1 on Windows XP sp3. I have Java service which I consume in my .NET application. When attemp to add web service I get next error: The operation could not be complited.An attempt was made to load a program with an incorrect format But on another machine everything works fine. There i...

Can Visual Studio 2010 outlining be fixed for VB.NET?

After upgrading from VS 2008 to VS 2010 we have noticed a few annoyances (including issues with resource based imagelists on 64bit systems), but none have been as bad as the way VS 2010 shows outlined methods for VB.NET. Previously in VS 2008 when a method is outlined you got the method outline with correctly colored keywords. Now all y...

NOT IN statement for Visual Studio's Query Builder for TableAdapter

Hi I want to realize a query with the Visual Studio 2008 build in Query Builder for a TableAdapter similar like following (MSSQL 2008): select * from [MyDB].[dbo].[MyView] where UNIQUE_ID NOT IN ('MyUniqueID1','MyUniqueID2') How do I have to set the Filter in my query in order to call it with the myTableAdapter.GetDataExceptUniqueIds...

Click-Once deployment is leaving multiple versions (yes, more than 2)

I've got a click once application that is leaving all old versions on my disk. It's an internal corporate application that gets frequent updates, so this is a disaster for rapidly inflating our backup size. According to the docs and other SO questions, it is supposed to only leave the current and previous versions on disk. However, ea...

Install different version of merge module depending on processor architecture

I have a Windows .net solution that is deployed with a Visual Studio Deployment project. My exe is a win32 app that runs fine on either a x86 or x64 windows. However I included a merge module (*.msm) from a third party vendor which is available in a x86 and x64 version. Now I could copy my whole deploy project and just change the msm, ...

Can I browse Mono source code in Visual Studio?

I'd like to see how some classes are implemented in Mono and would like to use code navigation features found in Visual Studio. Has anyone tried importing Mono source codes as a VS project / solution? ...

huge C file debugging problem

Hello all. I have a source file in my project, which has more than 65,536 code lines (112,444 to be exact). I'm using an "sqlite amalgamation", which comes in a single huge source file. I'm using MSVC 2005. The problems arrives during debugging. Everything compiles and links ok. But then when I'm trying to step into a function with the ...

Elegant way to debug n-tier from Visual Studio

Just wondering if there is any easy way to start a debugging session that lauches the server and the client by simply pressing F5. As it stands I have to F5 to debug the server, then find the client project and right click->Debug, which is a bit fiddly. Any tips to get this to work more smoothly? ...

search APIs versus screen scraping

I would like to know as a newbie programmer what the benefits are of using for example google search API or newest buzz API for data content gathering instead of screen scraping; obviously apart from the legal aspects. ...

How do I stop Visual Studio 2008 from wrapping lines when formatting code

I have an annoying problem with Visual Studio 2008. When I run the "format code" command ("control+k, control+d") -- it will insert a carriage return. How do I get it to stop doing this??? For example: <label for="shipCompanyName">Company Name:</label> undesirably becomes <label for="shipCompanyName"> ...

Is there Eclipse's Ctrl+3 equivalent in Visual Studio?

Ctrl+3 in Eclipse can do this: http://techvj.blogspot.com/2007/11/any-software-developer-using-ide-begins.html Is there an equivalent in Visual Studio? Or via some 3rd party plugin? ...

How to display full documentation of a method as you type in VS?

The title is pretty descriptive... Is there any extension that let me see FULL documentation of the method I'm typing ? I would like to see the documentation as I can see it in Object Browser with description of parameters and everything not just some "summary". So what I'd like to see when I type String.Format is: Of cause with an op...

Visual Studio C++: Seeing the ASM code?

I'd like to see all the asm produced by Visual Studio C++ to learn a bit about ASM, compilers, etc. I know with GCC, you can do it with the -S argument, but not in VS. How do I go about doing this? ...

How do I test switching compilers from MSVS 6 to MSVS 2008?

When switching from MSVS 6 to MSVS 2008, what major differences should I look for when testing the software? I'm coming from more of a QA perspective. We have two programs that work closely together that were originally compiled in Visual C++ 6. Now one of the programs has been compiled in Visual C++ 2008 in order to use a specific CD wr...

How to display CodeRush menu item in VS ?

I just installed CodeRush to my VS and when I run VS for the first time after installation it showed me a dialog asking if I'm experienced user. While the dialog was visible I could see that there was new menu item in VS named DevExpress. There was a small check box on that dialog saying something about menu items that I probably should ...

Need to display my code in stack trace. I see only System... lines.

Sometimes when I get an Exception while debugging in Visual Studio, all the code lines in the stack trace belong to the System.. name space. It doesn't display my line of code which was responsible for the exception. Is there a way to be make the stack trace show more lines or to ignore stack trace from the system namespace? Something l...