I am exporting an HTML file from VS2005 using the Crystal that ships with VS2005. If I follow the documentation provided by Crystal, the files get exported to a folder called "HTML32Folder" & "TheNameoftheReport". If I do not use the "HTML32Folder" file path, the file gets written to the visual studio project path. I have tried the code on the MSDN site, and that also exports it to the project path. This is the code that MSDN has, but the file always goes to the visual studio project path:
'Dim htmlOpts As HTMLFormatOptions = ExportOptions.CreateHTMLFormatOptions()
'Dim diskOpts As DiskFileDestinationOptions = ExportOptions.CreateDiskFileDestinationOptions()
'Dim exportOpts As New ExportOptions()
'Dim file As String
'file = theFilePath & theFileName & ".html"
'htmlOpts.HTMLFileName = File
'htmlOpts.HTMLEnableSeparatedPages = False
'htmlOpts.HTMLHasPageNavigator = False
'exportOpts.ExportFormatOptions = htmlOpts
'diskOpts.DiskFileName = File
'exportOpts.ExportDestinationOptions = diskOpts
'exportOpts.ExportDestinationType = _
'exportOpts.ExportFormatType = _
How do I export the HTML file to a folder other than the "HTML32Folder" & "TheNameoftheReport" path? Thank you.