visual-studio-2008

MS pie chart with 2 querys

i have two queries which give two different values One query gives the freespace select sum(freesize) as freespace from freespace the next query gives totalspace select sum(NumRegions) as totalspace from fileidtofilename then usedspace= totalspace- freespace Now i want to display the usedspace region and freespace region in the p...

Is anybody know any free round button for development in Windows-mobile ?

hi Is anybody know any free round button for development in Windows-mobile ? thank's in advance ...

Note: C++ does not support default-int

hi every one this is my first time on Visual studio & this message "Note: C++ does not support default-int" keep showing pleas someone tell me what wrong with my C code #include <stdio.h> #include <stdlib.h> #include <time.h> void remplire (int t[] , int n ) ; void afficher (int t[] , int n ) ; void main () { const long_tab = 2000...

Visual Studio Tool to update a DBML?

Is there a quick command in VS2008 to update a DBML that I'm missing or do I have to dleete everything, re-add and then deal with renames and table mods manually? This seems a bit tedious. ...

Can ReSharper 5.0 beta run tests with Gallio in VS2008?

When setting up a new machine yesterday I: Installed VS2008 without test support (I'd rather use Gallio and ReSharper if I need to use MSTest) Installed ReSharper 5.0 beta Installed Gallio 3.1 update 2 ReSharper doesn't see any of my MbUnit tests - there are no unit test markers in the margin and running all tests doesn't work. Shoul...

Code Editing - returning to previous edits

I've seen references to the ability (in VS08) to jump back and forth between the various places that i've been editing. E.G. I use 'Go to Definition' to inspect a method - what's the keyboard shortcut to return to where I was? thx ...

Looking for good start for making my own controls in C# - VS2008

hi Looking for good start for making my own controls in C# - VS2008 can i get some basic help for this ? thank's in advance ...

Closing C# object through excel code

I have created a C# library's COM object in VBA code (Excel). This C# library logs all messages in the log file. I have written some code in finally method and wish to invoke it each time I close the object through excel. But whenever I close the object through excel it does not call the code available in finally method. Please suggest h...

"No symbols are loaded" in new Application Framework vb.net project

In vb.net 2008, when I start a new project, it defaults to "Enable Application Framework." I add the following code to a button click handler to the main form in the new project: Dim k As Integer Dim s As String For k = 1 To 5000000 s = Mid(s & k, 1, 30) Next k End Sub Then, when I try to break execution to debug using the pause but...

Visual Studio opening .xml files in Notepad

So I'm happily working on a project making heavy use of custom .xml configuration files this morning. All of a sudden, whenever I double-click an .xml file in Solution Explorer, it opens in Notepad instead of within Visual Studio. Thinking that it was the Windows file associations, I right-clicked on a file in Explorer, selected Open W...

Connect to TFS with different user credentials

Hi I am connecting to TFS through Visual Studio 2008 Team Explorer. Lets say TFS is on machine A and Visual Studio 2008 is on machine B (my box). I have a local account on machine A (i.e. A\username) that has admin privileges for TFS (installed on machine A). Whenever I connect to TFS from team explorer it always uses the my domain cred...

[C# Crystal Reports 2008] How to change 'Sum' condition at runtime?

My report Groups by two fields, the second being a date field. If I go to 'Group Expert', select the second field (the date field), and click Options, I get the 'Change Group Options' dialog. There are two tabs (Common and Options), on the Common tab we now see three comboboxes. Combobox1: The Date field Combobox2: in ascending order...

How to organize libraries of utility functions?

I need to come up with a better way to manage my utility functions. Currently, functions are pasted from other projects into the solution where they are needed, as they are needed. Definitely not the way to go. It's a huge PITA! Especially painful when these functions change over time due to a variety of reasons. I'm think I want to cre...

Does the visual studio 2008 Web Server supports multiple projects?

I have an mvc site with two projects. One is the site itself and then a second project contains controls which are content only. The reason for this is that the control project is for elements that live in a cms. When I am running it locally in dev studio, I would like to be able to load these controls without setting up iis. Is ther...

Qt, Color Picker Dialog?

Is there a color picker dialog for Qt like the following? Also it needs to have a OnColorChanged signal which is called when ever the selected color changes. I want to give a live preview when they are changing the colors, that is why. Using google I could only find this one that was a triangle in side of a circle and personally I th...

How do I specify the manifest for side-by-side assemblies in my header file?

I am developing in Visual C++ 2008 using MSMQ. In Windows Vista, the application cannot locate the mqrt.dll which is found at C:\Windows\winsxs>cd x86_microsoft-windows-msmq-runtime-core_31bf3856ad364e35_6. 0.6002.18005_none_574cf1cdb624ee17\mqrt.dll. The description of the manifest in WinSxS is: <assembly xmlns="urn:schemas-microsoft-...

Learning the Introspection API (used by FxCop)

Microsoft's FxCop tool uses the introspection API. This introspection API could be used to develop new code analysis tools. But the introspection api is not documented well. Additionally, I was not able to figure out any blogs which explains this API in breadth and depth of it. The knowledge gained by understanding the API can also be us...

How to run over DataSet and insert into Excel (not .csv) ?

hi How to run over DataSet and insert into Excel (not .csv file) ? i work on C#, Visual-studio 2008, Excel 2007 thank's in advance ...

errors in VS2008.

I have created one application in VS2005. It is working perfectly. But when i am building same application in VS 2008 it is showing these errors please help. C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(771) : error C2065: ‘T’ : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\...

Create new Visual C++ project based on existing project?

I have a library project in a VC++ 2008 solution. I'd like to split it into two projects, both having the same project settings. I can't see an easy way to do this, is it possible? ...