visual-studio-2008

How to add keyboard shortcuts in ASP.NET for Focus / ButtonClicks

Hi there! How can I add some keyboard shortcuts (ctrl/alt/shift + something) to focus textboxes and/or perform button clicks? And, ss it possible to have a Keyboard shortcut to call some method in my .cs code-behind? Can anyone me tell me how? ...

Visual Studio 2008 web site with files with no Advanced properties showing

I have to get at the build action in advanced properties for some nhibernate .hbm.xml files. This web site does not show the advanced group for any files in the web site. It is a version 2.0 site which I am editing with a VS2008 which is .net 3.5. I don't know if that is the issue or if the site just does not have a VS project defined o...

Is it possible to hit a breakpoint set in a javascript file with visual studio while using Firefox?

I tried setting a breakpoint in visual studio in a JavaScript file and i get a message when i hover on the breakpoint, which is: "The breakpoint will not currently be hit. The document is not loaded." I am using firefox. Is it possible to hit the breakpoint and how? ...

[Visual Studio 2008 Crystal Reports] Copy Solution, Edit Those files, Open Solution, Modify Report DataSet Without Losing Fields. How?

Hi All, Disclaimer: I am not he most Crytal-y person in the world, so bear with me. Technology: Visual Studio 2008, with the (free) Crystal Reports that comes with it. Problem: I have an existing (simple) report that uses an "ADO.NET DataSet" for its fields. I want to create a very similar report (layout/most of it pretty much the s...

DataSet Classes generated by xsd.exe generate a huge number of warnings

I've got several hundred warnings due to missing xml comments from a single DataSet generated from a single .xsd file. Since this is an auto generated file manually editing them isn't a good idea. Is there any way to either disable the warning for the file (CS1591) or put values that will be imported into xml comments into the xsd file...

c#: Check if a control is there

Hello, I'm using in vc# 2k8 a control that is not standard! If someone starts my program without having the program, that my control is for, he'll get an exception! How to check if you can use this control or don't... The program should also work without that control and without the features that uses it by a condition! EDIT: I'm sor...

CUDA : error C2491: 'log1p' : definition of dllimport function not allowed

I am tryint to integrate CUDA in an existing project, in which several libs (DLLs) are created. I started with a very simple kernel that computes a dot product : // dotProd_kernel.cu __global__ void dotProd( double* result, double* vec1, double* vec2) { int i = threadIdx.x; result[i] = vec1[i] * vec2[i]; } This kernel is called ...

Seeing new properties on a custom UserControl in Visual Studio

I have two C# .NET projects in my solution. One project is a DLL that contains a WinForms custom UserControl. The other project is a WinForms EXE that references and uses that UserControl on a Form. I have added a handful of properties to the UserControl so that when I place the control on a form I can easily set these properties in t...

Remove Addins - AddIn Manager Is Blank

Hi, I'm unable to remove addins in MS Visual Studio.Net 2008 since the Addin Manager is blank. Running Windows 7 Ultimate. ...

DataView Filter - Excluding Null when not required.

Language VB.NET (VS 2008) Database: ACCESS The DataView doesn't seem to be filtering correctly. It seems to automatically filter out null values even though it is set to "Serial LIKE '%" & tcSerialTB.Text & "%'" Code: ci = New DataTable("Capital") Dim cid As New DataColumn cid.DataType = System.Type.GetType("System.Int32") cid.ColumnN...

Intellisense with single source file in multiple projects

In a single solution, if I have the same source file present in multiple projects (with different project settings, e.g. different #defines), Intellisense and all the features depending on it seems to arbitrary pick one of the project settings when I edit the source file. How do I get Intellisense to switch which project settings it use...

devenv and vsewss 1.3 package

Hi I'm tying to package a vsewss 1.3 solution in cmd. I get it to build and all seems to work until it starts the deployment then i get the error message: Specified method is not supported. my command is: devenv xxx.sln /deploy Release /package has also tried: devenv xxx.sln /deploy Release ...

Boost 1.41 LNK1104 error

I have been using Boost 1.36 for a while without any problems. Had to upgrade to 1.41 to get PropertyTree. Boost appears to build properly but when i try and compile the project that was using boost 1.36 I get this error. 1>LINK : fatal error LNK1104: cannot open file 'C:\dev\3rdparty\boost-build_1_41_0\boost\bin.v2\libs\filesystem\bui...

Is there any addon for Visual Studio that enables drag-and-drop references?

I would like to drag a dll to my project references. Is it possible? Is there an plugin for it? ...

How to make a "datasourceable" list with clickable links (to do client-side actions)?

Hey guys, i'm not sure if was able to explain the at the title, but here's what I need: I'm making a kind of dropdown menu, and I need to make a List, getting via datasource (function already there) the names of all cities from my database, then when the user clicks the name of a city, this name goes right to a textbox. I'm not very fa...

Add performance counter in visual studio test suite by default

Hi all, Is there any way to preset a set of performance counters in VSTS such that when you start a load test, those performance counters will automatically captured and show up on a the system under test graph? Thanks in advance ...

Visual studio 2008 stops responding frequently during edit and save

Hi, slow performance is the most annoying issue for me when using visual studio 2008 and happens very frequently. when I start writing the code and saving it, suddenly the visual studio becomes unresponsive and takes a while to come back. the time taken is lot more if I am editing an aspx mark-up page. I am not sure what processing is...

What Visual Studio 2008 version to download for x86 .NET development?

What version should I download? I only see VS 2008 x86 and some "WOW64" stuff on MSDN. Will "Visual Studio 2008 Professional Edition (x86)" work? ...

64 bits stuff for C# development

Hello, I don't know if here is the correct place to put this question.. but let'se. I'm updating my system environment with windows seven 64 bits, and I want to know what programs and IDEs I can use in 64bits version without problems. Someone have bad/good experiences with 64 enviroment? Nowadays I use: Visual Studio 2008 Tortoise ...

WPF Warning with VSTS: Different checksum values given for '*.g.cs' Files

In Visual Studio 2008 Team System, this is my warning: Different checksum values given for '<some folder>' ...\Visual Studio 2008\Projects\... \Debug\...\SomeFile.g.cs The offending line in the SomeFile.g.cs file is: #pragma checksum "..\..\..\..\..\..\...\SomeFile.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A18BC47B27EC4695C69B6...