crystal report integration with vs 2010

tcl4p

Well-known member
Joined
Feb 29, 2008
Messages
48
Programming Experience
1-3
I built a report using crystal reports XI and in doing so set up a connection to a SQL Server DB using their OLEB DB wizard (No DSN). In CR when I bring up the report it shows a dialog asking for the password, no problem there and the report works fine. The question is now how do I integrate the report into my vb.net windows application? I have a form and finally found out how to get the CR Viewer to show in the toolbox (You have to change the compile option Target Framework to to .net Framework 4) and have the viewer on the form.
Now how do I code the following
1. I assume in code I have to add the password so how do I set up the connection/logon properties in the application using code?
2. How do code the ability to pass parameters to the application?
 
Back
Top