|
-
Feb 16th, 2006, 07:19 PM
#1
Thread Starter
Junior Member
[RESOLVED] Cant load report to VB
Im using CR11 and VB 2005 Express. Im trying to load a report into the Crystal Report Viewer control. Heres the code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AxCRViewer1.ReportSource = "C:\Documents and Settings\user\Local Settings\Application Data\Temporary Projects\WindowsApplication1\customer.rpt"
End Sub
End Class
The error is "Specified cast is not valid". What does this mean?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|