Tutorials:
ASP COM Links:
|
|
Steps for building our component: 1
| Step 3: |
Change your workspace to Class View by clicking
on the Class View tab.
Now right click on MyForm and select New ATL Object from the context menu. |
|
| Figure 3 - Add a new ATL object |
| Step 4: |
From the ATL Object Wizard's Category list
select Objects and from the Objects list select an ActiveX Server Component.
Click on Next. |
|
| Figure 4 - Select an ActiveX Server Component |
| Step 5: |
On the Names tab enter ProcessForm
as the Short Name. All other fields are filled in automatically. Accept them as they are. |
|
| Figure 5 - Defining the component |
| Step 6: |
On the Attributes tab let the default
selections be as they are. Just check the Support ISupportErrorInfo checkbox. This is for
supporting the built in Error mechanism. You can give out meaningful error messages to ASP
pages in the event of an error. |
|
| Figure 6 - Adding ISupportErrorInfo support |
Main |
1 |
2 |
3 |
4 |
5
|