Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Knowledge Base > Visual C++ .NET
Search:
What's New - What's Hot
Listings for Errors & Bugs Errors & Bugs (8)
Listings for Migration to C++.Net Migration to C++.Net (58)
Listings for XML XML (5)
 


How to: Add a Trusted Publisher to a Client Computer for ClickOnce Applications  Version: 0.00     Price: $0.00  
Total Hits: 156  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

With Trusted Application Deployment, you can configure client computers so that your ClickOnce applications run with a higher level of trust without prompting the user. The following procedures show how to use the command-line tool CertMgr.exe to add a publisher's certificate to the Trusted Publishers store on a client computer....

How to add ToolTips to ActiveX controls     
Total Hits: 125  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code....

How to create an .mdb file for Microsoft Access databases in Visual C++     
Total Hits: 193  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. Microsoft Visual C++ 2005 supports both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model....

How to trace and debug in Visual C++ .NET and in Visual C++ 2005     
Total Hits: 196  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to use the Debug class and the Trace class. These classes are available in the Microsoft .NET Framework. You can use these classes to provide information about the performance of an application during application development, or after deployment to production. These classes are only one part of the instrumentation features that are available in the .NET Framework....

How to compute and compare hash values by using Visual C++ .NET or Visual C++ 2005     
Total Hits: 78  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to obtain a hash value and how to compare two hash values to check whether they are identical....

How to install an assembly in the global assembly cache in Visual C++ .NET and in Visual C++ 2005     
Total Hits: 97  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to generate a strong name for an assembly, and how to install a DLL in the global assembly cache (GAC). With the global assembly cache, you can share assemblies across multiple applications. The .NET runtime automatically installs the global assembly cache. Components are typically stored in the WINDIR\Assembly folder, where WINDIR is the name of your windows folder....

How to bind an array of objects to a Windows Form by using Visual C++ .NET or Visual C++ 2005     
Total Hits: 40  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to bind an array of objects to a Windows form. The example includes a Windows form with three text boxes to display the object properties and includes four command buttons to browse the array....

How to find the src attribute of a element in Visual C++ .NET or in Visual C++ 2005     
Total Hits: 72  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article contains a way to programmatically find the src attribute of a element of a Web document by using Microsoft Visual C++ .NET 2003 or Microsoft Visual C++ 2005 when a Windows Forms Application project hosts a Microsoft WebBrowser control.

This article describes how to add references to the Microsoft HTML Object Library and to the Microsoft Internet Controls and describes how to use their programming models inside the code....

How to set the BorderStyle property for user controls by using Visual C++ .NET or Visual C++ 2005     
Total Hits: 69  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to set a custom border style for a user control in Microsoft Visual C++ .NET or in Microsoft Visual C++ 2005. By default, a user control does not have a BorderStyle property. The BorderStyle property specifies the border style for controls that have a changeable border....

How to drag forms by using the client area with Visual C++ 2005 or with Visual C++ .NET     
Total Hits: 126  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to permit a user to move a form by dragging the client area of the form. This article describes how to override the WndProc method of the form to enable the client area dragging....

How to change the background color for an MDI parent form in Visual C++ .NET or in Visual C++ 2005     
Total Hits: 78  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to programmatically change the background color for a Multiple Document Interface (MDI) parent form by using Microsoft Visual C++ .NET 2003 or Microsoft Visual C++ 2005.

When you use a Windows form as an MDI parent form, the Application Background color setting in Control Panel determines the background color of the form. The color is not determined by the BackColor property of the form....

How to add support for undocumented third party hardware controllers     
Total Hits: 263  |  Today: 0Author: Greg Ellis      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article shows you how to reverse engineer popular proprietary undocumented third party hardware controllers so that you can add support for them in your own applications. This article focuses on how to do this for the PCDJ DAC-2 and Hercules DJ Console hardware controllers....

BUG: C2059 Error on Out-Of-Class Definition of Member Templates     
Total Hits: 217  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following error message appears if you define a member template class or function outside the class:
error C2059: syntax error : ''template<''
error C2065: 'T' : undeclared identifier...

BUG: ERROR C2989 and C2988 on Class Template Partial Specializations     
Total Hits: 215  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

You may get the following error message if you try to use class template partial specializations:
error C2989: 'A' : template class has already been defined as a non-template class error C2988: unrecognizable template declaration/definition
Please refer to the sample in the More Information section for details....

BUG: Explicitly Specified Template Functions Not Overloaded Correctly     
Total Hits: 196  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

If all the template parameters are not used in function arguments or return type of a template function, the template functions are not overloaded correctly. Please refer to the sample in the "More Information" Section for details. The bug is the result of the way the compiler decorates template function names. Name Decoration uses the arguments and return type and doesn't use the explicitly specified template argument type. Therefore, all three template function instantiations receive the same ...

BUG: Full Koenig Lookup Works Only for Operators     
Total Hits: 174  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

Argument-dependent name lookup, also known as Koenig lookup, works only for operators and not regular functions in a namespace. The compiler does not fully support argument-dependent name lookup as specified in the C++ Standard. Please refer to the C++ Standard, section 3.4.2, for information on argument-dependent name lookup....

BUG: C2667 and C2668 on Partial Ordering of Function Templates     
Total Hits: 194  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

You may get the following error message if you try to use partial ordering of template functions:
error C2667: 'f' : none of 3 overload have a best conversion error C2668: 'f' : ambiguous call to overloaded function
Please refer to the sample code in the "More Information" section for details....

FIX: C2555 On Virtual Functions with Covariant Return Types     
Total Hits: 217  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can receive the following error message if you try to override a virtual function with a covariant return type:
error C2555: 'B::function' : overriding virtual function differs from'A::function' only by return type or calling convention
Please refer to the sample code in the "More Information" section for details....

HOW TO: Read XML Data into DataSet by Using Visual C++ .NET     
Total Hits: 161  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains how to read Extensible Markup Language (XML) data into an ADO.NET DataSet object. The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:
• Microsoft Windows 2000 Professional, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, or Microsoft Windows NT 4.0 Server
• Microsoft Visual Studio .NET...

PRB: Compiler Errors When You Use #import with XML in Visual C++ .NET     
Total Hits: 206  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use MSXML parser dynamic-link libraries (DLLs) such as Msxml.dll, Msxml2.dll, Msxml3.dll, or Msxml4.dll to compile a Visual C++ .NET project with #import, you may receive the following compiler error messages:
c:\sample\test.cpp(12) : error C2872: 'IXMLDOMDocumentPtr' : ambiguous symbol

could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\comdefsp.h(1228) : _com_ptr_t<_IIID> IXMLDOMDocumentPtr' with [ _IIID=_com_IIID



Disclaimer - Privacy
© 2002-2017 DevASP.net