InvisibleDesigner Sample

The InvisibleDesigner sample implements a run-time object (the InvisibleInstance object) that does not have a visible user interface.

Click to open or copy the InvisibleDesigner project files.

Click to open or copy the files for the Bin directory (required).

Click to open or copy the files for the Include directory (required).

The InvisibleDesigner has one property, MyString, which can be set at design time or run time. This designer uses IProvideDynamicClassInfo to provide dynamic type information about its run-time object.

To build the InvisibleDesigner sample

Using the Designer at Design Time:

Make sure the run-time instance of the designer (InvisibleInstance) is registered before loading the InvisibleDesigner project. The supplied build procedures will register the designers for you.

Open a Standard EXE project, then go to the Project\Components menu. Open the Designers tab and select Ax98 SDK Invisible Designer Sample to add the designer to the project. Then select Add Ax98 SDK Invisible Designer Sample on the Project menu to create an instance of the designer.

In the designer's Properties window, you can view or edit the MyString property. You must add code to display the About box at run time.

Using the Designer at Run Time:

See the InvisibleInstance sample for a description of run-time behavior.

Sample Project

The VB_SimpleDsgnSamp project in the VBSamples directory is a Visual Basic test program for the InvisibleDesigner sample. To use this project in Visual Basic, create a standard EXE project. On the File menu, click Open Project, then navigate to the VB_Samples\VB_SimpleDsgnSamp directory. Select SimpleDsgnSamp.vbp to load the project files into the Visual Basic environment.

See Also

InvisibleInstance Sample