Crystal Report Open from Resources folder or Embedded

  • Thread starter Thread starter CompuTechSide
  • Start date Start date
C

CompuTechSide

Guest
Crystal Report Open from Resources folder, i have tried this.

Dim CrytsalReportFile = My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData + "\Embedded.rpt"
Dim EmbeddedBytes As Byte() = My.Resources.Embedded

My.Computer.FileSystem.WriteAllBytes(CrytsalReportFile, EmbeddedBytes, False)
Process.Start(CrytsalReportFile)

****************************

This error on last line

System.ComponentModel.Win32Exception: 'No application is associated with the specified file for this operation'

Continue reading...
 

Similar threads

Back
Top