Embed InfoPath form in SharePoint page as Web Part

using System; using ASP = System.Web.UI.WebControls; using System.Web; using Microsoft.Office.InfoPath.Server.Controls; namespace WMDD.WebParts {     public class FormViewer : ASP.WebParts.WebPart     {         protected override void CreateChildControls()         {             XmlFormView formView;             formView = new XmlFormView();             formView.Width = ASP.Unit.Percentage(100); Read More

Programmatically Using the Outgoing SMTP Server from Central Admin

private string GetSmtpServer() { SPWebApplicationCollection spWebApplicationCollection = SPWebService.ContentService.WebApplications; SPOutboundMailServiceInstance smtpServer = new SPOutboundMailServiceInstance();if (spWebApplicationCollection != null) { foreach (SPWebApplication spWebApplication in spWebApplicationCollection) { smtpServer = spWebApplication.OutboundMailServiceInstance; return smtpServer.Server.Address; } } return string.Empty; }

Patching MOSS and WSS

Which is the correct way to patch WSSv3 and MOSS farms. In order to apply the patch, run PSCONFIG? Everything needed is right here http://technet2.microsoft.com/windowsserver/WSS/en/library/91649a7e-6b5a-4e5a-9ee5-51951f4b857f1033.mspx, Deploy software updates for Windows SharePoint Services 3.0 http://technet2.microsoft.com/Office/en-us/library/f484f5f2-35bb-4d70-bf56-dd1c4c287c721033.mspx, Deploy software updates for Office SharePoint Server 2007