Skip to main content

Posts

Export Crystal Report to PDF using VB.Net for Download in your DotNetNuke site

The code below will force download of PDF version of you crystal report in DotNetNuke. This code is base on this article . ' Create a temporary filename Dim strPDF As String = MapPath("Reports/TO" & Session.SessionID & ".pdf") ' Create report Dim rpt As New TravelOrderList ' Set report params 'rpt.SetParameterValue("ReportTitle", "Report Title") 'rpt.SetParameterValue("ReportSubTitle", "Sub Title") ' Set report datasource rpt.SetDataSource(ds) Dim CrExportOptions As ExportOptions Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions() Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions() CrDiskFileDestinationOptions.DiskFileName = strPDF CrExportOptions = rpt.ExportOptions With CrExportOptions .ExportDestinationType = ExportDestinationType.DiskFile .ExportFormatType = ExportFormatType.PortableDocFormat .DestinationOptions = CrDiskFileDestinationOptions .Format...

Update DesktopModule Category

The code below will add a new category to dotnetnuke module category list. ' Update module category Dim desktopModule As DesktopModuleInfo = DesktopModuleController.GetDesktopModuleByModuleName("DNNSEO", Null.NullInteger) DesktopModuleController.AddModuleCategory("Vivoware") desktopModule.Category = "Vivoware" DesktopModuleController.SaveDesktopModule(desktopModule, False, False) For some reason I had to edit the desktop module, set the category and save for it to be visible in the list of modules when the category I created is selected. Screenshoot. HTH

Profanity Filter

Soon vivosocial will have a Profanity Filter Feature. We are still fine tunning this cool new addition, hopefully it will be out in the next release. Accordning to Wikipedia A swear filter, also known as a profanity filter or language filter is a software subsystem which modifies text to remove words deemed offensive by the administrator or community of an online forum. Swear filters are common in custom-programmed chat rooms and online video games, primarily MMORPGs. This is not to be confused with content filtering, which is usually built into internet browsing programs by third-party developers to filter or block specific websites or types of websites. Swear filters are usually created or implemented by the developers of the Internet service. Read more...