Kevin Holand's Q&A profile
Visual Studio Creating custom project
I am trying to create a new project type in the visual studio .NET 2005.There is 28 step method is given for creation of the custom project. At one of the step it is talking about a dll microsoft.visualstudio.package.project. This dll is not available in the vsip. We have downloaded the visual studio 2005 SDK & installed. Please provide simple steps for the creation of the project type. Example of the code will also be helpfull. Th ...Show All
Visual C++ Image Color Management in VC++ 8 Platform SDK
I'm converting a VC++ 6 MFC app to VC++ 8 using Visual Studio 2005 Standard. The existing app uses Image Color Management, so it #include's icm.h. In the VC++ 6 environment, it is included from the Platform SDK [$(ProgramFiles)Microsoft SDK\include] directory. A Visual Studio .Net installation delivers a version of the Platform SDK in a subdirectory of the VC directory [$(VCInstallDir)PlatformSDK] and this directory is setup to be used for in ...Show All
Visual C++ cfiledialog
How can I use in cfiledialog only the network without the other buttons hide all of them So you mean the places bar on the left side Search in google for "places bar" and AFAIK customizing this by a program is a mess. Also I heard roumours that the behaviour and managment of this places bar will change in future versions of windows, so any program that uses the current hacks will be incompatible in furture. AFAIK there are ...Show All
Visual Basic how can i disable HOOK?(in vb.net)
hi i will have a question how can i disable or disarm HOOK (in vb.net) Please Help!!! in vb6 or c++ u can hook the api's! thats a kind of hacking(im not interested in hacking just wanna disable hooking) So how can i Disable hook ...Show All
SQL Server Synchronisation using web service for PDA application
I am developing a application on PDA using c# compact framework. I would like to do synchornisation of sql mobile 2005 database with sql server 2005 database using web service. The reason for going to webservice is based on the client request. Will anybody help me on this, how to perform conflict management etc. Hi Maybe you find necessary information on the following pages: http://www.microsoft.com/techne ...Show All
Visual Studio Invoking a IDE command
Hi I'm trying to invoke the "Edit.Copy" command from my addin. I'm using the following code: CComPtr<EnvDTE::Commands> pCommands; m_pDTE->get_Commands(&pCommands); VARIANT str; memset(&str,0,sizeof(str)); str.vt=VT_BSTR; str.bstrVal=_com_util::ConvertStringToBSTR("Edit.Copy"); CComPtr<Command> cmd; HRESULT r=pCommands->Item(str,0,&cmd); SysFreeString(str.bstrVal); if (r==S_OK) { BSTR gui ...Show All
Visual Studio VSS 6 restore
Greetings all, I am new to VSS and am not sure how to restore a vss archive file. I have archived the vss file and moved it to another PC...I installed the same version of SourceSafe as the original PC, but can't seem to figure out how to restore the project. Suggestions would sure be appreciated. Thank you. Randude VSS n00b Are you using Source Control plug-in other then Source Safe To switch back to Source Safe try registering ssscc.dl ...Show All
Visual C++ c++ program wont start
Hi i developed my program in win XP with SP2 i use this functions: mciSendString mciGetErrorString i #include this : #include "stdafx.h" #include <windows.h> #include <iostream> #include <string> #include <mmsystem.h> #include <Commdlg.h> #include <fstream> project .LIBs : WinMm.lib ComDlg32.lib and when i ...Show All
Visual Basic Overflow
Hi I am just wondering if anyone can help me with what I'm sure is probably a very simple problem to solve, that I am unable to find out how to fix! I'm working on a VB program program that contains the calculation x = c d mod n e.g. in a typical example, c=71, d=47 and n=183 (where it should be able to calculate that x would equal 2) I have declared all the variables involved in the calcu ...Show All
Visual Studio Express Editions CD Label Design?
Would it be possible for Microsoft to provide the CD label designs for the Express CD ISOs. I've downloaded and burnt the ISOs, but the discs look very plain and are not very "eye-catching" when trying to find! Would Microsoft be able to provide a label design for all of the Express CDs Thank you Bruce. These type of questions and suggestions should be logged in the product feedback system . Doin ...Show All
Windows Forms Capturing AxWebBrowser events locks browser
My WinForm application hosts an AxWebBrowser control to display HTML help files. Now I'm trying to capture all mouse click events so that I can take the right steps if the user clicks a certain hyperlink element. I have followed the instructions from Microsoft (http://support.microsoft.com/ kbid=312777) to accomplish this but what happens is, if I add the onClick event handler the browser becomes (partly) disabled: the context menu doesn't work ...Show All
Visual Basic Does the System.Web.UI.Design namespace exist in VS2005?
Hi, I am using VS2005 and want to use the System.Web.UI.Design namespace to provide a user interface to edit list items. However, VB 2005 doesnt recognise the name space. It underlines the namespace with a blue line and the message is : "Namespace or type specified in 'System.Web.Ui.Design' doesnt contain any public member or cannot be found. Make sure the namespace or type is defined and contains at least 1 public member. Make sur ...Show All
Windows Forms Intercepting DataGrid Delete Event
hello, I have a window forms application in which I have a datagrid. The datagrid is bound to a strongtyped dataset. The data grid has several custom datagrid styles on it. One column contains an image thats an X - upon clicking th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using Sprite to draw 2D graphics
Hi all, I use Sprite class to draw Bitmaps on the screen. In the sprite class, I only know how to do some simple effects on the texture, such as setting the transparency. The problem is that I want those textures to be affected by Lighting. E.g. If the color in the texture is blue, the outcome result is Green. Also I want to do other effects like a spot light on the texture. I have read a book (C++) and seems that I have to use ...Show All
.NET Development Loading controls with For loop
Hello, Thanks to everyone who is kind enough to answer... Is there any way to load data into controls of a form by a For loop What i mean is: if i have 10 labels, can i load texts from a string array of 10, each string from the array to a corresponding label, by a loop Thank You If you don't want to create the control dynamically. Name each label as dynlabel0 dynlabel1 dynlabel2 ... In you load Dim ctrl ...Show All
