visual-studio-2005

LIB file generation in DLL project.

I am using VC++ / Visual Studio 2005. I created a DLL project. The output DLL is getting created properly. But the associated LIB file is not getting created. Where might I go wrong? Do I have to do any special setting for that? ...

Fill the table value in combobox

Using VS2005 with C# I want to fill the combobox by using the table value. Code OdbcConnection con = new OdbcConnection(); OdbcCommand cmd; con.ConnectionString = ""; con.Open(); cmd = new OdbcCommand("Select no from table", con); ada = new OdbcDataAdapter(cmd); ds = new ...

Using custom cursor in C#.

Let's say I have a cursor named myCur.cur. What I would like to do is use that cursor on my desktop application instead of the boring cursor provided by Visual Studio 2005. How do I write for that? ...

Changing the Header value in Grid View

Using VS2005 I am using Gridview in my web page, when i load the web page, the table header also displaying in the GridView. So i want to give my different header name in datagridview. So how to change the setting in datagridview. ...

Using animated cursor in C#.

How do I use animated cursor "myCrusor.ani" in C# winform? ...

Prining the Grid View values

Using VS2005 I am using GridView in my web page, i want to print the gridview values.... How to write a code for the printing the grid view values..... I want to print the full contents of the gridview by pressing the button. Can any one provide a code. ...

C# in VS2005: is there set style notation for integers?

For C# in VS2005, can you do something like this: if number in [1,2..10,12] { ... } which would check if number is contained in the set defined in the square brackets? ...

Animated cursor problem.

I have used the following code to load an animated cursor on my applicaiton. class Animated { [DllImport("User32.dll")] private static extern IntPtr LoadCursorFromFile(String str); public static Cursor WaitCursor() { IntPtr hCursor = LoadCursorFromFile("C:\\WINDOWS\\Cursors\\appstar3.ani")...

VS 2005 Multiple Startup Project

I've have a project which has 11 mini-project... I choose 2 of my project to start when project is browsing... My first project is web other one is desttop project... While i choose start without debugging is work fine: 2 of my projects start well... But when i choose to debug mode my desktop project is not starting, thus i can't debug m...

Limiting Number of Rows Inserted into a SQL Server Database

I have a program in c# in VS that runs a mainform. That mainform exports data to an SQL Database with stored procedures into tables. The data exported is a lot of data (600,000 + rows). I have a problem tho. On my mainform I need to have a "database write out interval". This is a number of how many "rows" will be imported into the da...

TeamCity Remote Run "Please Select at least one build configuration"

When i run "Run Personal Build" from the TeamCity addin to visual studio 2005 it appears to connect correctly as i can use the my changes to show my additions. However, in the Personal build window, the right window (i'm guessing that this is where you'd select a build configuration is blank) And as such, i cannot select a build configur...

Intellisense Error Log in Visual Studio 2005?

Intellisense compiles your code in the background in Visual Studio 2005, so that you can enjoy all of it's benefits. However, alot of the time in Visual Studio 2005, it stops working. Is there any sort of error message panel that will display when Intellisense can't compile the code for some reason (just so that I can be aware that it ...

Mouse click when the application is busy.

When I click on anywhere on my application when the application is busy it changes the cursor into a generic wait cursor. Is there anyway I can code it for an animated cursor? ...

Visual Studio, Find and replace, regex

I am trying to replace all the #include "whatever.h" with #include <whatever.h> using find and replace functionality in Visual Studio 2005. I used the regex \#include \"[a-z\.h]+\" to find the include statement. But I am wondering how frame the replace regex. \#include \<[a-z\.h]+\> did not work and won't; it replaces the statement #inc...

MFC: CCheckListBox items overlap

In a dialog template I placed a ListBox, since checked list box is not shown in the visual layout options. I set it to owner-draw and set it up with DDX, changing the associated class variable from type CListBox to CCheckListBox - in other words the only changes I make from what the wizard does for me are set owner-draw, and chnage the m...

What class/control is used when you place a Picture in a MSVC++ dialog template?

I've not been able to find this out, which seems weird. When I add a class variable for the control using the wizard, it wants to add a CButton. Is there a specific control or does one of the basic ones provide this function? ...

Win32 Application Console Output?

When developing a Win32 Application (non-console application) in Visual Studio 2005, is there any way to get the same sort of output as you do from the console? For instance, say I want to see log statements (such as I would with cout in a console application) to trace the path my program has taken in the code. My first thought would b...

calculate the standard deviation of a generic list of objects

I'm a c# noob but I really need a professional's help. I am using visual studio 2005 for a project so I don't have math.linq I need to calculate the standard deviation of a generic list of objects. The list contains just a list of float numbers, nothing too complicated. However I have never done this before so i need someone to show me t...

Is there a list of controls placed on the current form in Visual Studio 2005?

Simple situation, really. Using the form designer in VS2005, I placed a label on my form, and then deleted it's text. Now there's no way I can find to select the label. I assume it wasn't deleted; where can I find it? ...

create new language project item in visual studio

I have created a custom template using vsz and vsdir files and can make it appear under visual studio 2005 New Project' Visual C# or Visual C++. But since the template is used to create a makefile type of project so I can use my own build system, I need it in a new folder like Visual C# or Visual C++. Does anyone know what I should do fo...