We have a requirement for a C drive or D drive installation for one of our programs. What I need the installation to do is if the installation detect a D drive that has a certain folder structure like so:
D:\AppData
If it finds it, it will install it there. If it doesn't find it, it will install it here:
C:\AppData
I am using VS 2008...
Can the dataset designer in Visual Studio 2008 show the data types for data tables columns?
...
Whenever I publish my web application I select "only files needed to run application". Upon publishing then it all works fine except for the bin/ folder contains a.svn folder. Is there a way to keep it from copying the .svn folder?
...
How to replace a character (or many characters) by a line break in VS or SQL Server Management Studio using the Find and Replace dialog?
...
Visual Studio 2008 can load a solution upon startup. Can it also run it automatically after it loads it? Like clicking on the "Run without debugging' button?
Addition:
Michael Mrozek's answer was helpful & accepted. But for some reason, when VS runs, its attaching the debugger. Looking for a way for debugger not to get attached.
...
Hello, I've got an executeable file, which I run for example from C:. The executable references some DLLs from another directory, let's say C:\MyDLLs. The problem is, that these referenced DLLs again depend on other DLLs, which are stored in another directory. Can I tell Visual Studio where to look for these missing DLLs?
Thanks a lot!
...
Hi Guys!
I'm developing an application in Asp.Net 3.5 (vs2008), and I made some reports with Crystal Reports. Everything works fine but depending on the customer the Logo changes, and I'd like to set it in header's reports. I have a picture in "~/Images/logo.jpg", but I don't know how coud I set it dynamically (by code-behine) on Crysta...
I have a pointer array defined as some_struct * t_ptr[1000] which points to a structure some_struct.And some points of the point array are evaluated.e.g
some_struct * wpaper1 = new some_struct(); //memory leaks detected in this line
wpaper1->tAnswer = useransw;
wpaper1->tKey = key;
t_ptr[100] = wpaper1;
//there're wpaper2,wpaper3....
hi,
Can anybody help me on inserting a record in to msaccess database using visualbasic.The record entries are made in the form.
Thanks in advance.
...
I have an app that was created using .net Framework 3.5. However, I now need to change this to use the 2.0 Framework, as it needs to be distributed to a Windows 2000 machine. Will simply changing the Application Target Framework on the project properties be sufficient to do this?
...
I've got a C# 2.0 project which is set to target 'Any Cpu', however it is referencing a C++ project that's building a 32 bit dll.
When I try to run my program on a 64bit machine I get the following error:
System.BadImageFormatException was
unhandled Message: Could not load file
or assembly TreeTMHook,
Version=1.0.2889.19619,
...
I work in Visual Studio 2008 and I got this issue couple of times. i.e. when I rebuild the solution, status shown at the status bar will be "Rebuild all failed". But when I check in the error window there are no errors.
Has any one seen this issue? Is it a bug of VS 2K8 or am I doing something wrong?
...
From what I'm seeing online, it seems the only thing in VS that auto-increments the Version numbers is if it's a website. For applications, it seems you either manually have to do it or you have to have a post build event and call a function or small app to do it for you. But, that's only what I'm seeing when I google it and when I've ...
I'm new to visual studio, so perhaps this is something easy... but I've had no luck finding how to solve this formatting issue.
I would like for VS to auto format this
int x =
5;
like this
int x = 5;
When I type this in and select 'Format Document' nothing changes.
It will also not remove unnecessary newlines such as
MyClass s...
Suddenly our SQL server is using 100% CPU but only using a fraction of the memory it can use (16 GB available).
We're using web edition and allocated a maximum amount of ram.
Like i say this has just suddenly happened without us changing anything.
Need some ideas desperately as it's crippling us
...
I have a normal VS2008 project that I've been working on for awhile that is doing some OpenGL based stuff. The main window is created with GLUT and until now that has been sufficient for my GUI.
Now, however, I want to add a small window of buttons, and I need to do it in a cross platform way, so I decided to use QT. I've installed all...
I have a program written in VB that has DataDynamics ActiveReports as well as DevExpress reports in it. Yesterday when I started working it wouldn't let me use my DevExpress reports with the designer. I restarted Visual Studio and it worked fine. Today I am working on the same reports and Visual Studio won't let me use Designer for any o...
I'm hitting a compile error in VS2010 with code that compiles cleanly in VS2008.
Here's my error, from the Output Window, with all of its verbosity:
...\elementimpl.h(49): error C2668: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string' : ambiguous call to overloaded function
with
[
_Elem=char,
_Traits=...
Visual studio 2008 isn't catching syntax errors. for example: Tpc_feed(void); compiles fine.
this: Tpc_feed(void);;;;;;; compiles fine, but this Tpc_feed(void) catches an error. Are the extra semi-colons not syntax errors? I'm on Windows 7 32 bit and VS C++ 2008
...
What does this mean? This only happens on my local IIS where the site used to run fine no problem, it works fine on our DEV/QA servers but on my local machine I'm getting this, what gives? I had no knowledge of us using Microsoft.JScript ever, and doing a search of the project turns up nothing...
Could not load file or assembly 'Microso...