I want my BHO to listen to onmousedown event of some element in a certain webpage.
I have all the code that find the specific element, and in msdn its says that I need to use the get_onmousedown event. I came up with this code.
CComQIPtr<IHTMLElement> someElement;
VARIANT mouse_eve;
someElement->get_onmousedown(&mouse_eve);
The que...
Hi,
I want to change the build system path for building my VC++ project in VS2005.
When I try to build the project, I'm getting an error that a specified header file cannot be opened. I have that header file in "Microsoft SDKs\Windows\v7.0\Include".
But the path present in 'Build system path' is "Microsoft SDKs\Windows\v7.0\Include...
Hello,
Visual Studio c++ 2005
I am getting an error on the last line of this code.
int Utils::GetLengthDiff ( const char * input, int & num_subst )
{
int num_wide = 0, diff = 0 ;
const char * start_ptr = input ;
num_subst = 0 ;
while ( ( start_ptr = strstr ( start_ptr, enc_start ) ) != NULL )
{
char ...
Hi everybody,
I've received a new computer from my employer. This time I don't want to maintain several versions of Visual Studio (although I know they work great side-by-side). Can I work with an ongoing VS2005 project in VS2008? By 'working' I mean the ability to open, modify, and save back to the original format.
Any ideas?
...
I have a WS_EX_CONTEXTHELP extended style property set on my property sheet. It basically sets the question mark button along with the close button (? X) at the right end of the dialog’s title bar in order to enable the context sensitive help feature for that property page. The property page consists of many different controls like butto...
I cannot even copy and paste that physical folder in properties window :(
...
It seems that concurrent edits of certain file types (dtsx in my case) is just more hassle than it's worth. How can I configure TFS (hopefully at the server, but at the client if necessary) such that certain file types are checked out as exclusive, while continuing to allow concurrent edits on "simpler" files, like .cs.
...
We're running ASP.Net 2.0 on our corporate web site, and I'd like to get it up to ASP.Net 3.5 as smoothly as possible. The project/solution architecture in VS 2005 is an ASP.Net 2.0 web project and an .Net 2.0 data access layer project which is used by the site code.
Upon opening the projects in a new VS 2008 solution they seemed to be...
Hi,
I am a beginner to asp.net. I want to sort a gridview but the problem i m facing is when sort event handler is called the exception of stack over flow is thrown. Following is my code for sorting function.
protected void sortGridView(string strSortExpression)
{
if (strSortExpression != string.Empty)
{
if (ViewState...
SetThreadName does not set thread name with Visual Studio 2005, when used as below:
DWORD threadId;
HANDLE handle = CreateThread(NULL, stackSize, ThreadFunction,
ThreadParam, CREATE_SUSPENDED, &threadId);
if (handle)
{
SetThreadName(threadId, "NiceName");
ResumeThread(handle);
}
After opening the Th...
Is there a way to navigate between tabs in VS similar to the emacs iswtichb-mode or Firefox ubiquity switch tab mode (https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#Switching_Tabs) ?
In these apps, you just type a substring of the title of the tab (or buffer for emacs) to switch to this tab. For instance, to switch ...
I'm using Visual Studio 2005 with VB.NET.
I have a number of Crystal Reports, each with their own associated dialog resource containing a CrystalReportViewer. The class definitions look like this:
Imports System.Windows.Forms
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class dlgForMyReport
...
In my recent SO question I was helped tremendously in using git as a front-end to ClearCase. However actually trying the suggested answer(s) led to further complications. Visual Studio keeps a reference to the used source control provider in both the .sln as well as the .csproj files. I tried resolving this issue by keeping a modified co...
We have a project which is being developed by a 3rd party. They are using LINQ and .NET 3.5 with Visual Studio 2008. We are currently at 2005 with .NET 2. Once they have delivered the code to us, we are unsure as to whether we will be able to compile/build their code using our current Visual Studio toolkit. I know we can download .NET...
I understand the process of using a 3rd party library to access functions outside of my code base, but how do i actually set up Visual Studio 2005 to include them in the project.
I have a 3rd party library with some headers, some cpp's, and some .lib files.
In the projects properties I add the top level external library directory as an...
For some reason I need to check in a couple of files in the bin\Debug directory. For the past few weeks, I am noticing a strange behaviour from VS2005. Every time I recompile the code, it is deleting the .svn folder in the bin\Debug directory and hence svn is showing "obstructed" error. Even svn clean up doesn't help due to missing .s...
I created a DLL in C++ using Visual Studio 2005. My problem is that I cannot register this DLL. Show me the error: "LoadLibrary(MyDll.dll) failed. The specified module could not be found."
Someone help me?
Thanks
...
I have a Windows 7 machine on which I am using VS2005. .Net 2.0 and .Net 3.5 are installed on it.
An app claimed it needed .NET framework 1.1 before it would run.
I therefore installed framework 1.1 and it now runs.
Problem:
Now whenever I try to open a website in VS2005 I get a messages saying it is configured for 1.1 rather than 2.0...
Sometimes ExcludeFromBuild rule does not work as expected and files included in the deployment which were expected to be excluded. The reason may be sometimes modifications to the web deployment file are not saved by Visual Studio although it appears to be saved.
Reproduce:
Open and change the Web deployment project and add a rule for...
Hi
How do I autoformat my js files in VS2005
Doesnt seem like this version support js autoformat out of the box. so any plugins or other tips?
...