visual-studio-2008

What database should I use in this VB.NET app?

My database must be updated at arbitrary intervals, manually, with new info to put on standart tables that don't require structural modifications. one app will update the database. Another app, the one I will distribute (to friends and family only, but doesn't require any security feature to it, like encrypting the database) will read th...

Install Windows Service On Windows Vista

Yes Vista sucks... I'm writing a Windows Service using .Net but getting security errors when trying to install with InstallUtil.exe. How can I install the Windows Service successfully in Windows Vista? ...

Intellisense tip and XML returns comment (VS2008)

I've found tooltips displayed by Intellisense when keying method name as very usefull but I can see only summary and params info - no returns comments Eg - I can not see below comment: <returns> Enriched object</returns> Is it a way to make it visible? EDIT Maybe you know the tool replacing standard Intellisense and displaying r...

How to get VS2008 to create a different *.DLL name after you have already created the project?

To create a project in VS2008 you have to assign the compiled output a name right when you create the project. If you are creating a class library this output is <output name>.DLL. I can change every other name in the project through the VS2008 interface. If I later regret the output's name I cannot find a way to change the project's ...

Getting Loki Singleton to work in DLLs in VS 2008 C++

I'm pretty sure this problem isn't new, and pretty sure it's hard to solve. Hopefully I'm wrong about the latter. I'm trying to use the Loki::Singleton from Modern C++ Design in a program of mine. However, I can't seem to get it to work across DLLs. I think I know why this is happening: the templated code gets instantiated in every ...

Remove Backup Files folder in Visual Studio 2008

Visual Studio 2008 automatically creates a folder located (in Vista) at: "C:\Users\%username%\Documents\Visual Studio 2008" And I'm fine with that location. What I don't like is the "Backup Files" folder that keeps appearing inside the "Visual Studio 2008". I don't know when this folder gets created nor why because it's always empty. W...

How can I prevent Visual Studio from adding Crystal Reports to the Toolbox?

I have around 30-40 reports in my project, and Visual Studio 2008 insists on adding them to the Toolbox each and every time I launch Visual Studio and go to the Designer. As you can imagine, this takes a while and consumes time that I could be otherwise programming. I have other custom controls that I don't want to go away, but I don't n...

can't make Click Event to work properly inside modalPopupExtender

I have a page which loads children pages by using jQuery's .load function... My children pages have buttons to perform some data exchange with the database server and most of them are doing ok. the problem is that some buttons are inside ModalPopupExtenders (ajaxtoolkit). When I run the children page alone (outside the parent) the moda...

Changing the order of struct members when debugging in VS2008

I am trying to align some data in a c# struct that was created in c++. I know I'm a couple of bytes off, but I can't tell where becuase VS organizes the members in alphabetical order, rather than the order the occur in the struct (which is defined explicitly). Is it possible to change the order of the display of members in the debug di...

On closing a Qt 4.5 application, Visual Studio reports that it has detected memory leaks

I am building a Qt 4.5 application on Windows using Visual Studio 2008. Whenever I run my application in Debug mode and then close it, Visual Studio prints the following to the output pane: Detected memory leaks! Dumping objects -> {696512} normal block at 0x01981AB0, 24 bytes long. Data: < > 00 CD CD CD 00 00 00...

Start A New Process From Windows Service In Windows Vista

Hi, I'm writing a windows service in C# 3.0, when calling p = new System.Diagnostics.Process(); p.StartInfo.FileName = aFileName; p.StartInfo.Verb = "Print"; p.StartInfo.CreateNoWindow = true; p.Start(); The Start() doesn't start the process and doesn't print the indicated d...

Edit and Continue: "Changes are not allowed when the debugger has been attached to an already running process or the code being debugged was optimized at build or run time"

Hello, Even if I create a clean WinForms project, Edit and Continue doesn't work and gives me the error mentioned above. Edit and Continue option is checked in Tools -> Options -> Debugging. Optimization is not enabled. Seems like there is no any managed profiler set up. I am running in Debug mode I am running on x64 CPU and W...

control not available in current context

Hi I Applied a patch to a asp.net page using the tortoise svn "Apply Patch" command. The patch was created using the "Create patch" command. The patch added a label control to the aspx page and some references to it in the codebehind. Now the solution just wont build unless I build the page seperately first. Sometimes even that wont wo...

AjaxControlToolkit Resource Files Not Copied To Output in MSBuild Script

I'm new to MSBuild, but I managed to setup the following simple script: <Project ToolsVersion="3.5" DefaultTargets="Compile" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt; <PropertyGroup> <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration> </PropertyGroup> <ItemGroup> <S...

Add Soap Header to Soap request in Visual Studio 2008

Hi, I'm trying to use a third party web service (so I do not have access to the web service code). In Visual Studio 2008 I created a new web site project (ASP and c#), and added the web reference (not web service! so I guess it is not a WCF service... correct?). The problem is that from the documentation of the web service I know that e...

.NET Different References List for Debug / Release

In my debug build I have a reference to a DLL that is only required in the Debug configuration (the reference is for CodeSite, a logging tool). Is it possible to exclude this reference in the Release build (my logging class only uses this reference when built in the Debug configuration). Using VB.NET and VS2008. ...

How can I add a description (-> description-colum in task manager) to my program (VS 2008, C++)

Hi, probably a pretty simple question, just couldn't find anything useful with Google. :( I have a simple unmanaged c++ project in Visual Studio 2008, and would like to add a description text. Right now I just see the name of the executable in task managers description column (processes tab), but I would like to provide my own text ther...

Cannot find the Test Project in VS2008

I could not find the Test Project in the VS2008. Can anyone point me out what components I need to install? PS: I cannot afford the Resharper. ...

Visual Studio adds .dll and .pdb to project after compiling

In my Visual Studio 2008 web vbproj, I have included only certain files in the bin folder. I am using browserhawk and it needs to have some browser definition files (maindefs.bdd, etc...). I now always have them when I deploy the web app. When I compile my application, VS automatically adds the newly compiled .dlls to the project. I ...

visual studio - invalid std::string debugger output in Release mode

There's nothing fancy going on in this program, but I get garbage output. Here are the header files I'm including, in case that's relevant. #include <cstdlib> #include <iostream> #include <windows.h> #include <vector> #include <string> #include <sstream> And I'm using Visual Studio 2008 on Windows XP. Note that if I print the strin...