I have an app that on first installer run needs a boostrapper where you can choose the language of the installed app, install .net framework if it's not there yet and some other prerequisites.
I've taken a look at the WiX How To: Install the .NET Framework Using a Bootstrapper
but I don't see how to use this for other custom prerequ...
I'm working on a static library project for a c++ course I'm taking. The teacher insists that we define only one function per source file, grouping files/functions belonging to the same class in subdirectories for each class. This results in a structure like:
MyClass
\MyClass.cc (constructor)
\functionForMyClass.cc
\anotherF...
When dbml file is generated automatically by Visual Studio I get the exact field names as they appeared in the tables.
However, since VS does not provide refresh function for dbml, I run sqlmetal manually to re-create dbml file. It works fine with one exception -- sqlmetal "corrects" the names
ses_Id -> Ses_Id
aga_Id -> Aga_Id
and so...
Hello.
Simple situation(VS2005, .NET2): I have a textBox1 on a panel1. I need to track all the emitted events from this textBox1.
Actually, when I need to track a single event(TextChanged, by e.g.) from this textBox1 I add a handler to the (TextChanged event) I set then a non-blocking breackpoint that writes on the output console a mes...
I'm using Visual Studio 2003 working on an ASP.NET application. Quite often, just in the middle of typing code in the Visual Studio Text Editor I get:
The following exception has occurred:
InvalidOperationException: The object is currently in use elsewhere.
This is not my code running, i'm just working in the IDE. Sometimes it doesn'...
I use google as my primary reference so I don't need a local copy of MSDN; and am trying to free up a few GB of disk space.
Before I pull the plug I'd like to make sure that my fatfingering the F1 key won't end up freezing visual studio up for even longer than it does with MSDN installed.
...
In Visual Studio Server Explorer the Show Table Data function can be used to show the data in a table. Unfortunately columns defined as containing binary data displays their content as .
Is there any way to display the binary data in say Hex?
...
I habe a few million objects hanging around in memory. I want to find the gcroots for them so I need an object address. !DumpHeap however dumps all objects which is taking longer than i had the patience to wait. How can i limit its output to only one object address? I am using Visual Studio 2008 btw.
...
I'd like to write a macro to crawl through the files in my project directory and find files that aren't included in the project.
In playing around with the DTE object, I see that the Project object has ProjectItems; if a ProjectItem represents a directory, then it has its own ProjectItems collection. This gives me all files that are in...
static void Job(Args _args)
{
int number=10;
do
{
print (strfmt("current number = %1", number));
number --;
}while (number != 0)
}
This is a job just for testing do-while in X++ , and I get a "syntax error" in the last '}'
I'm new to Dynamics AX and to X++, so I don't know if there's something...
After I've shut down a VS 2008 web project, well, a lot of times, I see many instances of the WebDev icon in the "tooltray" / system notification area:
These are no longer active instances; they were shut down by VS.
When I mouse over any of these, Windows Vista "conveniently" collapses the tray for me. This makes life miserable if t...
I'm facing some troubles still while learning, so I guess it tends to get worse once I play with the big kids: warnings in dynamics aren't as precise and informative as VS's, there are no mouse-over tips, and exceptions to show me exactly where I've got it wrong.
I'm just too used to Visual Studio, it's intellisense and all the tools (dy...
First of all, let me say that I am not a C++ developer. However, I am working on a neural network project that requires me to work with C++. I am working with the Flood Neural Network library. I am trying to use a neural network library in an unmanaged C++ project that I am developing. My goal is to create an instance of a class object w...
Versions of Visual Studio prior to VS2008 seemed to me to have a largely screwed up icon editor, and so I used an external icon editor to create them (used IconArt, which has become abandonware). VS2008 has a decent icon editor included, but icons that I create using it will not display in the shortcut for the built app! However, if I ...
I have a simple WinForms solution in VS 2010. Whenever I build it, output file (bin\debug\app.exe) ends up locked, and subsequent builds fail with a message like
"The process cannot access the file 'bin\Debug\app.exe' because it is being used by another process."
The only way to build the project is to restart VS after every build, whic...
Is there any way to make an environment variable substituion in a project file (with or without vsprops) that, if the variable is not found, is substituted instead with a default value? I haven't found any way to do this, because everything seems to override environment variables.
EDIT: I need this to work for a property, not for an env...
I am making a custom Listbox (for the compact framework).
I have made an event (OnDrawItem). I would like to know how to get my custom event to show up in the event list in the properties window in Visual Studio.
I am using C# and Visual Studio 2008.
Here is an example of my class with the event:
class OwnerDrawnListBox<T> : System....
I'm tired of using the eye-squinting, time-consuming Exceptions dialog in Visual Studio to turn break-on-exception filters on and off. I looked for a Visual Studio command to help automate this from the Command window, but no luck.
Does anyone have a technique for avoiding the Debug->Exceptions dialog yet get access to its functionality...
Hi,
I have the VS Express 2008 where there is only ClickOnce deployment option. I need my app to be simple ran by clicking on the exe file without any installation.
I have found out that after deleting both manifests and icon /which is always in the output directory even though its embedd with "Do not copy" option/ it works well. Is it o...
Is there a way to prevent this from happening?
Namespace testing
Public Module TestModule
Public testobj As New test
End Module
End Namespace
It is extremely annoying to have to start out two tabs to the right on new code. Is there anyway to disable auto-indenting just for namespace declarations in visual studio 2008?
...