visual-studio-2005

Insert text into table in Microsoft Word (C++, Visual Studio 2005)

Hello. I've managed to figure out how to create a Word document using PIA and C++ in Visual Studio. But I can't figure out how to write text to the table cells. I would appreciate any help. Thanks EDIT: Thanks for your comments. I've finally managed to figure it out: I can loop through the cells in the table, select the cells with Cell...

How to quickly get started with Visual C++?

I have just a few days to see if I can figure out how integrate with a third-party C++ API. While I've coded C++ once before, it was on linux using vim. This third-party API is windows-specific, and the minimal documentation available assumes the use of Visual C++. I installed Visual Studio 2005 and created a new project, but I'm gett...

UPDATED! Intellisense auto-complete is causing VC++ in Visual Studio 2005 SP1 to crash

UPDATE1: I have reinstalled Visual Studio and I am still having this problem. My guess is there is a problem with my environment. Update2: Diving in. I attached windbg to devenv and set a breakpoint in windbg for msenv!_tailMerge_WINMM_dll and traced through. This is trying to load winmm.dll using the LoadLibrary API. I can see that ...

child process imports from debug runtime library cannot be resolved

I'm using Visual Studio 2005 Pro with SP1 under Windows XP 32 SP3 to build two native EXEs, A and B. A launches B. The following scenario occurs on my development system, which for now is also my test system. When I link A and B against the debug version of the runtime library, A launches happily but then fails to launch B because the s...

How do I get triple click to work in Visual Studio's Text Editor

Go into Notepad, Internet Explorer or most other applications that display or edit text. Triple click on some text. Windows will select the entire paragraph under the cursor. This doesn't work in Visual Studio 2005. How do I get triple click support in the Visual Studio text editor? do VS 2008 or VS 2010 solve this? Is there a macro,...

Problem Compiling in VS 2005 after installing microsoft platform SDK for Windows Server 2003 SP1

Hi As the title suggests I'm having a problem compiling MFC based applications, this problem started immediately after installing the windows server 2003 platform SDK and now even when I try to compile a new MFC project I get the following errors: c:\program files\microsoft platform sdk\include\zmouse.h(141) : error C2146: synta...

Visual Studio 2005 .vcproj files won't stay encoded as UTF-8

The problem: I edit a .vcproj file, save it as UTF-8 (and specify that in the xml header), and when I open it in VS, the next time it saves it the encoding reverts back to CP-1255/1252/1251 (depending on the Localized Settings on the machine). This has become a problem in our R&D, since whenever someone commits a .vcproj file the encodi...

Go to specific line number on a page using # but not in url

I have a record set with hundreds of rows. when a user clicks the row they go somewhere else and later get redirected to the page with the rows again. I want the page to start on the exact row the clicked on. I have rows set up with a line number corresponding to each record number from the database. //some record set while not RS.eo...

Visual Studio 2005: How to speed up builds when a VSMDI is open?

Hi, Using Visual Studio 2005, if I open tests in a VSMDI and try running tests, it sometimes re-builds projects. However, these builds go extremely slow. The CPU is 99% idle and the output window shows VS clunking along compiling things. Is there any way to fix this? It makes no sense. Upgrading isn't necessarily a viable option for tho...

How to remotely degug msgina.dll?

Hi all, I have a fully customized msgina.dll in module i need to remotely debug it? Ho will i achieve this Abdul Khaliq ...

Visual Studio change date format

When working in Visual Studio 2005/2008 the dates are shown in mm/dd/yyyy hh:MM:ss format. Is there a way to change it to yyyy/mm/dd hh:MM:ss ?? ...

VS2005, 2008 - ASP.NET Browser Settings

How can I choose/change which browser to start when I run an ASP.NET Web application in VS2005 or VS2008? ...

C# - Partial Class in the VS2005 project

Possible Duplicate: In Visual Studio (2008) is there a way to have a custom dependent file on another custom file? How can I add a partial class in a VS2005 project so that it shows up as a code behind file for the main file? For example: I want to keep my class-properties in a file named, MyClass.cs and I want to keep my class...

web application projects v.s. web site projects

Hello everyone, I am reading from the following link, http://reddnet.net/code/asp-net-web-site-vs-web-application-project-part-2/ My two confusions, What is the so-called issue "No control over your namespaces" cons from a web site project? Could anyone show me a sample to illustrate this issue please? What is the so-called issue "I...

VS2005 - VSCommand Integration

How can I integrate VSCommand with VS2005? ...

Application linked to msi

I'm using VS2005. After I install an application using an .msi. Everytime this application loads it tries to find the setup and installs itself again if a file has been modified. If I delete the .msi file then the application can't even load. Is there a way to remove this link between the application and the msi? I'm sure it's only a ...

Setting of Debug listener with Visual Studio 2005

I'm using Visual Studio 2005 but,I can't find configure method of Debug listener? How to change configure? ...

How can you copy a Share Point solution in VS 2005?

I'm at my wit's end. The Share Point guy got a brain tumor and had to quit, and they've tasked me with keeping this thing going. Every year on the Share Point site, they put up a new Documents section for each of the departments. They've got tons of forms and whatnot, and I really don't want to start each one from scratch. Looking at...

Compilation errors through incorrect use of CComPtr objects

I have defined the following CComPtr object and method in my class: private: CComPtr<IRawPdu>& getRawPdu(); // Returns the RawPdu interface pointer from the mRawPdu data member. // mRawPdu is initialized, if necessary. CComPtr<IRawPdu> mRawPdu; // Initialized to 0 in the ctor. Uses lazy evaluation via getRawPdu()....

Loading Printer Name

Hi all, I want to write code in C# for loading printer name in window. But I don't have any ideas to write it. Can anybody help me to solve this problem? Thanks. Ung Sopolin ...