visual-studio-2005

Default system mouse pointer.

Is there a way I can change the default system mouse pointer from within my application and change it back to the original scheme when I want to? ...

VS.NET 2005 Form Designer - Can pages inherit their size from a parent, and can I see it in VS designer view.

I have a group of pages I want in the same size. I want to be able to change the page size in the designer view of visual studio, and that all the other inheriting pages size will change. I am currently working with VS.NET 2005 Form Designer is this possible? ...

Webbrowser component in Visual Studio 2005

I currently use a Webbrowser component in my desktop application to load a Excel Workbook. Is there a way where I can check if there is a Workbook loaded, close that Workbook after saving and discard it before loading another one? ...

Checking if an Excel Workbook is open.

Is there a way to see if an Excel Workbook, say DataSheet.xls, is open (in use) or not? I would like to close that Workbook if it is opened. ...

Better option than Process.Kill()

Is there a better way than to Kill() a process that archives the same result. When I Kill() an Excel process, the next time I open any Excel Worksheet, "Document Recovery" sidebar is opened, which I do not want to do. ...

iads.h / VS2005 / W2003 SP2 - which SDK and what are the side-effects ?

I'm trying to compile someone elses C++ program using VS2005 on Windows 2003 (SP2). The compile fails because it can't find iads.h Which SDK should I install to get this header ? When I install the SDK is there a danger I might break something already in use ? As far as I can tell the W2003 has no SDK's installed but if it did would i...

Using SWITCH statement in reporting services for a date field

Hi All, I am trying to get this code to work in reporting services 2003: =switch( DateDiff("d", fields!WARRANTY_EXP!value,now()) > 765, "White", DateDiff("d", fields!WARRANTY_EXP!value,now()) > 365, "Yellow", DateDiff("d", fields!WARRANTY_EXP!value,now()) > 0, "Red", DateDiff("d", fields!WARRANTY_EXP!value,now()) < 0, ...

Why would Visual Studio 2005 change the StackReserveSize when upgrading a vcproj file?

I have a very old C++ application that was being built with Visual C++ Version 7.0 when I inherited it. When I brought it forward to Visual Studio 2005, the conversion routine apparently changed the value of StackReserveSize from "0" to "66112". I probably never would have noticed this change if it had not manifested into stack overflow...

A comparison between Microsoft Visual studio 2005, visual basic and Netbeans

I need to write a paper on the comparison between (Microsoft Visual studio 2005 to develop web applications using asp.net) and (visual basic and Netbeans to develop j2ee applications using java).I need suggestions for good webpages,journals or documents which can help me out here. I have to write at least 1500 words so any suggestions ar...

Use a custom usercontrol in a Janus GridEx

Hello, I'm search for a method to add a custom usercontrol in a Janus GridEx with C#. In the designer I have different columntypes (link, text, image, ...) but I need something with more functionality (multiple checkboxes which must be set/saved in a seperate table). I think this would be easiest if I could just add a custom component ...

Problems with remove_if in VS2010 when using sets

I have the following code. #include <set> #include <algorithm> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { typedef set<long> MySet; MySet a; for( int i = 0; i < 10; ++i) { a.insert(i); } MySet::iterator start,end,last; start = a.begin(); end = a.end(); last = remove_if(start,end,bind2nd(less_equal<long>...

Read data using ODBC ADO.NET from Db2 Codepage 1252 - Euro (€) Symbol is not retrived correctly

In VS 2005 C#, While inserting Euro (€) Symbol into Db2 table, It is storing values correctectly. DISABLEUNICODE=1 parameter helped to store this correctly. But when we try to read from the table, it is giving junk char as below. "Spec GS 1" Same code is working in VB 6.0 ADO Could you please help me. Code: OdbcConnection...

Windows C# CheckedListBox Checked Item Event Handling

I'm currently developing a Window app that uses CheckedListBoxes for certain aspects of the program. A problem I've encountered is that I have been trying to find which event is triggered when an item is checked so that I can enable a form button when any list item is checked. Problem is that I tried using the following; private void c...

Error with C++ operator overloading, in Visual Studio AND Xcode

...

How to change the background color of cell containing subreport in RDLC report

I have an rdlc report containing two sub-reports in the same row (side by side). I am using alternating color for rows (setting background-color to "=iif(RowNumber(Nothing) mod 2, "Gainsboro", "White")") but when the one report is shorter than the other (a common occurrence), the background color of the cell containing the sub-report ha...

Can't seem to wire up a VS 2005 DataGridView in the IDE using SQL Compact Version

Using VS 2005, I've created a SQL Server Compact Version database, and filled a test table with data. (Also to clarify, I HAVE installed SQL Compact Version and the tools) I've dropped in a DataGridView onto my main form, created a new data source, and have even previewed the data. However, no matter what I try, each time the app runs...

VC++ /DEFAULTLIB issue

When linking my dll in release build I get - 1>LINK : warning LNK4098: defaultlib 'mfc80d.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>LINK : warning LNK4098: defaultlib 'mfcs80d.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>LINK : warning LNK4098: defaultlib 'msvcrtd.lib...

how to access my database which is in pc from other pcs in a local network by using visual studio & C# windows application?

I make a software using C# & my database is msaccess..Now I want to make a gateway which will be install in all pcs in a local network & i want to make connection with that database which is in a single computer...but i dont know what is the procedure to do that in C# windows application..please solve my problems...thanks.. ...

Enable Unmanaged Debugging always causes Visual Studio crash

Never before had any problems with enabling unmanaged debugging. I'm using Vista, VS Team System 2008 (9.0 30729.1 SP) and VS 2005 Team Edition for Software Developers (8.0.50727.867). Starting today I cannot debug unmanaged code from C#! I cannot even set a check on enabling unmanaged debugging for an empty C# console project with no...

EXE generated in obj\Debug folder

I have inherited a Windows Forms application and I have found that a .EXE file gets generated into the obj\Debug folder everytime I compile. I am more a Web Forms kind of developer so I am a little confused as to what is happening here. Why is it a .EXE and not a .DLL? What does this file actually represent? Is this the default behaviou...