Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,557 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,931 people online right now. Registration is fast and FREE... Join Now!




Using DSN in VB6.0 with CR10

 
Reply to this topicStart new topic

Using DSN in VB6.0 with CR10

selvakumarkrishnasamy
11 Apr, 2008 - 04:36 AM
Post #1

New D.I.C Head
*

Joined: 26 Feb, 2008
Posts: 15

Hi,
Im using VB6.0, Crystal report 10 and MSaccess Database. I was using Crystal report 6 and later upgraded to CR10. In VB6 i used DSN like
.Connect = "DSN=DBName" & ";UID=admin;PWD=;"
Now in CR10 i have created reports without using DSN in VB. Can any help how to use DSN in VB6.0 with CR10 or is there any method so that i no need to use DSN in the above said requirements.

The code used for CR10 is
Set Report = Appl.OpenReport(App.Path & "\SampleReport.rpt")
CRViewer1.ReportSource = Report
CRViewer1.Visible = True
CRViewer1.ViewReport

Please guide me in using/without using DSN
THANKS in advance.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:27PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month