15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Referencing Methods in Visual Basic<br />

Standard ASP.NET Methods<br />

Before you can use methods with Visual Basic, you must add a<br />

reference to them from Visual Basic. Follow these steps to do so.<br />

1. Open Visual Basic.<br />

2. Choose or add a project.<br />

3. In Solution Explorer, right click <strong>Reference</strong>s and choose Add<br />

<strong>Reference</strong>.<br />

4. In the Add <strong>Reference</strong> dialog box, click Browse.<br />

5. Go to Inetpub/wwwroot/CMS400Example/Bin.<br />

6. To load the standard methods click <strong>Ektron</strong>.Cms.UI.CommonUI.dll.<br />

To load the XML Indexing methods, click <strong>Ektron</strong>.Cms.Common.dll.<br />

7. Click Open, then OK.<br />

Adding a New Web Form<br />

To add a new Web form, follow these steps.<br />

1. Open your project in Visual Studio .NET.<br />

2. Right click the project.<br />

3. Click Add > Add Web Form.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 354

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!