Click here to Skip to main content
14,427,436 members
Rate this:
Please Sign up or sign in to vote.
See more:
Crystal Report Open from Resources folder, i have tried.

This error on last line

System.ComponentModel.Win32Exception: 'No application is associated with the specified file for this operation'
<b< b="">

What I have tried:

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)
Posted
Comments
Maciej Los 9-Jan-20 7:01am
   
What are you trying to achieve?
Computechsoft 9-Jan-20 8:54am
   
Ok i am waiting
Richard Deeming 9-Jan-20 13:56pm
   
REPOST
This is exactly the same question you posted yesterday.
Crystal report open from resources folder[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100