Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Components
Password Reminder
Register
| FAQ | Members List | 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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 18th, 2007, 06:45 AM
Authorized User
 
Join Date: May 2007
Location: Chennai, Tamilnadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MathLearner
Default CrystalReport and vb6.0

HI all
      I am having a problem in connecting crystal report.
in local machine it is running correctly.

Public mApp As New CRAXDRT.Application
Public mRep As New CRAXDRT.Report
Public dbt As CRAXDRT.DatabaseTable
Public dbts As CRAXDRT.DatabaseTables
                   we are using this object CRAXDRT.. but it is not supporting to acess the other machine..

                 so we try to use

Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
Dim myLogin As CrystalDecisions.Shared.TableLogOnInfo
For Each myTable In Rport.Database.Tables
myLogin = myTable.LogOnInfo
myLogin.ConnectionInfo.ServerName = ServerName
myLogin.ConnectionInfo.DatabaseName = DatabaseName
myLogin.ConnectionInfo.Password = Password
myLogin.ConnectionInfo.UserID = UserName
myTable.ApplyLogOnInfo(myLogin)
Next
   here the error is userdefined type not defined for the declaration statements..
  that is
      Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
      Dim myLogin As CrystalDecisions.Shared.TableLogOnInfo
                  pls help us to solve this error..
                                  help us..



Reply With Quote
  #2 (permalink)  
Old July 23rd, 2007, 06:33 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: India.
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

hv u included all the required Namespaces???


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
vb6 and crystalreport safvb VB Components 3 May 4th, 2007 02:30 AM
CrystalReport .Export kathir Crystal Reports 0 January 20th, 2005 02:00 AM



All times are GMT -4. The time now is 04:07 PM.


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