visual-studio-2008

Export Visio Macros to Visio COM-Add-in

Hi all, I have written some Makros and Functions in VB all code works fine behind my Document. To save my code and make it available to other users I want to create a COM-add-in for VIsio. So i bought Visual Studio 2008 and I want to import my code to it. Is it possible to include my exported .cls file to my Visual Studio COM-Add-on Pr...

Fatal error c1083 permission denied

Hello, Visual Studio 2008. I downloaded a sample project and unzipped it. I have to convert it from VS 7 to VS 9. However, the conversion was successful. However, when I try and compile I get the following error: c1xx : fatal error C1083: Cannot open source file: 'C:\NMS\inc': Permission denied However, the inc directory I have us...

VS 2008 favorite projects list

Hi ! I have a Folder with about 1000 Projects. So to open one, it's not that easy with this amount. Recent projects are very useful feature, what I need is something like favorite projects. ...

Visual studio debug console sometimes stays open and is impossible to close

Hey, EDIT #3 : Microsoft has released a 'fix' to this problem which is available here. I haven't had the time to test it, but I those who want to are welcome to leave their feedback here ! Sometimes when I run an application from Visual Studio and it crashes or I stop it using the stop button in the debug menu (Debug->Stop Debugging (S...

What port(s) is used for VS2008 remote debugging

What port(s) needs to be open on the remote machine hosting msvsmon.exe? ...

Missing help files for Microsoft.WindowsMobile in Visual Studio 2008 help system

I've just installed the Windows Mobile 6.5.3 DTK, both standard and professional. Before that I had the standard and professional Windows Mobile 6 SDKs. All Windows Mobile help pages are missing in Visual Studio 2008's help system - in particular everything in the Microsoft.WindowsMobile namespace. Microsoft.WindowsMobile.DirectX is the...

Why do I get LNK2005 errors when compiling a PHP extension DLL

Hello! I'm trying to compile a PHP extension in VS2008. It is dependent on 3 other projects which I link statically. It used to work fine when I had all my code in one .cpp file. I separated the code into several files to make it more manageable and now it won't compile. I'm getting several (~100 per file) linker errors, LNK2005 (alrea...

Adding DLLs to VS2008 IDE

How do I add Prolog DLLs to VS2008 in order to embed Prolog within C++? Are these three dlls sufficient: libpl.lib plterm.lib pthreadVC.lib Thanks, ...

vs2008 mystery: Quick macro record and playback shortcuts not allowed?

in vs2008, Tools, Macros, Record TemporaryMacro keyboard shortcut toggle is Ctrl+Shift+R; Run TemporaryMacro keyboard shorcut is Ctrl+Shift+P for playback. I've used them before, but they've stopped working. If I open Tools, Options, Keyboard, then navigate to a command like Tools.Run that has no assigned keyboard shortcut, I can exp...

How to set SpecificVersion metadata for Visual Studio 2008 AssemblyFolders

I've added a registry key like HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyFolder with a folder that has my assemblies in it, and I can see those assemblies from Visual Studio when viewing the "Add Reference" dialog. My question is how can I tell Visual Studio that it should add a vague reference instead of a very specific o...

fixing the header row in gridview??

I used a grid view in my project. in that i used vertical scrolls.. its work fine. But the problem is , when i scroll down the header is also move I want to have a fixed header provided the contents alone scroll. please give me an advice in this regard. I found many examples but most of them did not work for Chrome.. is there somethi...

Active Directory Programming help needed

Hello Friends, I want to make Windows Service in .NET which has to run on Windows Server 2003, 2008. The main functionalities i need are: As soon as a network user logs in, Display his: User name in Active Directory Domain Ip Address from where he connected I do not want to install or run any program/script on the client machine. ...

MFC (C++) CDialog DoModal() not working as expected

Hi, I have a plugin that is loaded by this application.. This plugin calls some dialog boxes with DoModal(). I'm expecting these dialog boxes to function like this: If I click on the application window behind the dialog box, the dialog box flashes and does not allow the application to be in focus. However, in one of the other dialog b...

Implement WS-Addressing in a C# DotNet Web Service

I'm building a Web Service in C# with VS2008, and want to implement WS-Addressing, so the message headers look like eg below: What do I need to add / do in VS2008 to make this happen? <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/address...

Integrate help in Visual Studio 2008

I have been using Sandcastle Help File Builder to produce help files (HTML 1.0) and it's working pretty descent. However, Sandcastle Help File Builder gives you the opportunity to generate HTML 2.0 output, which is what is used in Visual Studio help system. But what I haven't figured out is how can I integrate the HTML 2.0 help produced...

Getting the registry key value at runtime in visual studio Registry

Hi, I want to read a registry key value (key entry for the Microsoft Excel installation path) at runtime using visual studio 2008 registry, under project setup and deployment. I want to get the key value (path) to a variable so that I can copy a file to that folder. I can not hard code it. How can I do that?? Thanks & Regards, Isuru ...

Consulting a Prolog Source Code from within a VS2008 Solution File

I have a Prolog file (Hanoi.pl) containing the code for solving the Hanoi Towers puzzle: hanoi( N ):- move( N, left, middle, right ). move( 0, _, _, _ ):- !. move( N, A, B, C ):- M is N-1, move( M, A, C, B ), inform( A, B ), move( M, C, B, A ). inform( X, Y ):- write( 'move a disk from ' ), write( X ), w...

how to read registry key value from VS setup project

Hi, I need to read a particular registry value in order to proceed with installation. Is there anyway to achieve this? Thank You ...

Distributing VB.NET App...What is causing System.DllNotFoundException

I've successfully built and tested a vb.net app in VS 2008 that uses a dll (abcTest.dll) built by another developer. However, when I deploy the application to another machine (Release directory contents), I get "System.DllNotFoundException" when I run the executable. The dll is in the same directory as the executable, etc. The solutio...

NUnit's TestCaseAttribute equivalent in Visual Studio 2008 unit test framework

Is there an NUnit's TestCaseAttribute equivalent in Visual Studio 2008 unit test framework? You know, something like this: [TestCase(1, 1, 1)] [TestCase(2, 2, 2)] [TestCase(3, 3, 3)] public void Test1(int a, int b, int c) { // do stuff depending on the TestCase } Thanks in advance ...