Article ID: 908275 - Last Review: December 23, 2005 - Revision: 1.0
Error message when you try to add a new form to a Visual C++ Smartphone project in Visual Studio 2005: "Object doesn't support this property or method"
On This Page
SYMPTOMS
When you try to add a new form to a Microsoft Visual C++ Smartphone project in Microsoft Visual Studio 2005, you receive the following error message:
Object doesn't support this property or method
CAUSE
This issue occurs because Visual Studio 2005 does not support adding a managed common language runtime (CLR) component to a Visual C++ project for a device.
MORE INFORMATION
Steps to reproduce the behavior
- Prepare the test computer by installing Visual Studio 2005 and the Smartphone 2003 SDK.
- In Visual Studio 2005, point to New on the File menu, and then click Project. The New Project dialog box appears.
- Under Project Types, expand Visual C#, expand Smart Device, and then click Smartphone 2003.
- Under Visual Studio installed templates, click Device Application (1.0).
- Type DeviceApplication in the Name box, type Drive:\Path\YourProjectLocation in the Location box, click to select the Create directory for solution check box, and then click OK.
- In File menu, click New, and then click Project.
- Under Project Types, expand Visual C++, and then click Smart Device.
- Under Templates, click Win 32 Smart Device Project, type ProjectName in the Name box, and then click OK.
- In the Win32 Smart Device Project Wizard, click Finish.
- Press CTRL-SHIFT-A to open the Add New Item dialog box.
- Click the Windows Form
template, type FormName in the Name box, and
then click Add.
You receive the error message that is mentioned in the "Symptoms" section.
Note: This article is from Microsoft Knowledage Base
Related problems posted by other users | |
| more... |

