Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 24th, 2007, 09:20 AM
Registered User
 
Join Date: Feb 2007
Location: Dammam, Dammam, Saudi Arabia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default vb6 and crystalreport

Hai all,

I want to know how vb6 and crystal report is connected.i desiagned a report but i dont know how to access it from vb6.So pls help me.Anybody knows pls help me.I dont know any codes relating to reports

Regards
Saf

  #2 (permalink)  
Old March 6th, 2007, 09:13 PM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is very easy way to link crystal report in vb6.
1. go to project -> components -> crystal report control 4.6
2. drag the report control 4.6 to the form and name it as report.
3. write the source code.
4. You get it.

Private Sub cmdPrint1_Onclick()
If docheck = True Then
Call clearReport
'Point to the report file path
Report.ReportFileName = Reportpath & "\CustomSales\SalesbyDept.rpt"
Report.Action = 1
End If
End Sub

  #3 (permalink)  
Old May 4th, 2007, 12:16 AM
Registered User
 
Join Date: May 2007
Location: HYDERABAD, AP, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

i am using vb6,sql server 2000 and crystal report10. in the single machine every thing is running properly, but in another machine in the same exe one of the report is running properly, but another report is not running showing the message "cannot open sql server". can anybody help me to solve the problem?
thank u

  #4 (permalink)  
Old May 4th, 2007, 02:30 AM
Registered User
 
Join Date: May 2007
Location: HYDERABAD, AP, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
i am getting an unspecified error while loading a shockwaveflash player on to my form .what is the reason can anybody solve my problem.please give me the detail guidance.

thank u



Similar Threads
Thread Thread Starter Forum Replies Last Post
CrystalReport and vb6.0 MathLearner VB Components 1 July 23rd, 2007 06:33 AM
crystalreport guptamkomal ASP.NET 1.0 and 1.1 Basics 9 May 31st, 2007 12:51 AM
CrystalReport nilesh kureriha BOOK: Professional Crystal Reports for VS.NET 0 May 29th, 2007 11:53 PM
crystalreport XI guptamkomal BOOK: Professional Crystal Reports for VS.NET 0 May 10th, 2007 01:41 AM
CrystalReport .Export kathir Crystal Reports 0 January 20th, 2005 02:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.