PC Review


Reply
Thread Tools Rate Thread

Calling a crystal report from within vb.net with an Active x objec

 
 
=?Utf-8?B?R2VyYWxkaW5lIEhvYmxleQ==?=
Guest
Posts: n/a
 
      18th Oct 2004
Hello,
I wish to call a crystal report called MyReport from within a visual
basic.net form. The report contains a custom built active x control called
picture1. This has a property called filename that I wish to set to the
filename parameter in the stored procedure that the report is bound to. So
far I have the following code:

Select Case (ToolBar1.Buttons.IndexOf(e.Button))
case()
Dim form As Form2 = New Form2
Dim report As MyReport
report.SetDataSource(MYDataSet.tasks)

'This is where I'm stuck how do I set the filename property of the active x
object picture1 to the filename field in the datasource



End Select

I would be very gratefull for any help.

Regards
Geraldine

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Crystal Report, another try Alex Microsoft C# .NET 10 4th Feb 2008 09:43 PM
calling crystal report Hrvoje Voda Microsoft C# .NET 2 26th Sep 2005 02:08 PM
Current/Active View Crystal Report henrycortezwu@gmail.com Microsoft VB .NET 0 31st Jul 2005 04:33 PM
Enable crystal report active x viewer trish Microsoft Windows 2000 Enable 0 6th May 2004 01:57 AM
Crystal Report Active X or Wizard PaulaWright Microsoft Access Reports 0 2nd Sep 2003 10:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.