1.
On the computer that is running SharePoint Server 2007, copy the compiled VBWebPart.dll file to the Web application folder. For example, copy the compiled VBWebPart.dll file to the following folder:
\Inetpub\wwwroot\wss\VirtualDirectories\WebAppFolder\binNote VBWebPart is a placeholder for the name of the compiled .dll file. WebAppFolder is a placeholder for the name of the Web application folder.
2.
In the \Inetpub\wwwroot\wss\VirtualDirectories\WebAppFolder folder, right-click the Web.config file, click Open With, and then click Notepad.
3.
In the Web.config file, add the following element under the
4.
Click File, and then click Save.
5.
Start Windows Internet Explorer, and then visit the SharePoint Server 2007 Web site.
6.
On the SharePoint Server 2007 Web site, click Site Actions, and then click Site Settings.
7.
On the Site Settings page, click Web Parts under Galleries.
8.
On the Web Part Gallery page, click New.
9.
On the Web Part Gallery: New Web Parts page, click to select the check box next to the Web Part that you want to add, and then click Populate Gallery.
10.
Visit the SharePoint Server 2007 Web site, click Site Actions, and then click Edit Page.
11.
On the SharePoint Server 2007 Web site, click Add a Web Part.
12.
In the Add Web Parts dialog box, expand All Web Parts, click to select the check box next to the Web Part that you want to add, and then click Add.
13.
To publish your changes, click Publish.
No comments:
Post a Comment