Computing.Net > Forums > Programming > CRviewer control in VB 6

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

CRviewer control in VB 6

Reply to Message Icon

Name: Annar
Date: January 21, 2002 at 02:40:56 Pacific
Comment:

I try to use a crviewer control in one of my forms, but i dont know anything about that control and my help says that no help is aviable. How does it work? I put it in but nothing shows.



Sponsored Link
Ads by Google

Response Number 1
Name: Anbu
Date: March 4, 2002 at 13:29:51 Pacific
Reply:


Private Sub Form_Load()
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
'webSource.URL = "http://1.6.7.9/rasora/schedrptfiles/D202797oefe.rpt"
webSource.URL = "file:///C:/vb/1.rpt"
webSource.PromptOnRefresh = False
webSouce.AddParameter "user0
CR.ReportSource = webSource
CR.ViewReport

End Sub



0

Response Number 2
Name: Anbu
Date: March 4, 2002 at 13:30:26 Pacific
Reply:


Private Sub Form_Load()
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "http://1.6.7.9/rasora/schedrptfiles/D202797oefe.rpt"
webSource.PromptOnRefresh = False
webSouce.AddParameter "user0
CR.ReportSource = webSource
CR.ViewReport

End Sub



0

Response Number 3
Name: Anbu
Date: March 4, 2002 at 13:31:19 Pacific
Reply:

-------Source Code Starts--------------------
Private Sub Form_Load()
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "http://1.6.7.9/rasora/schedrptfiles/D202797oefe.rpt"
webSource.PromptOnRefresh = False
webSouce.AddParameter "user0
CR.ReportSource = webSource
CR.ViewReport

End Sub

-------Source Code Ends--------------------


0

Response Number 4
Name: Justin
Date: March 25, 2002 at 20:00:07 Pacific
Reply:

Then how u do clear the display of the CrViewer?
I tried using the discardsaveddata method but it still remain there.
Please help!
Urgent!


0

Response Number 5
Name: Asif Ali
Date: May 8, 2002 at 05:21:47 Pacific
Reply:

Sir,
I am new student in VB. And i want to use CRviewer in my database programe. so if u have a time then please tell me all about CRviewer. How i can use it with my database. i want to display all my records on it. if u help me in two days then i am so thankfull to you.
Make me sure that You are a good friend of New Programmer.

Asif Ali


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: CRviewer control in VB 6

Declaring Variables in VB 6.0 www.computing.net/answers/programming/declaring-variables-in-vb-60/9957.html

Function in VB 6 www.computing.net/answers/programming/function-in-vb-6/9626.html

ADO Control in VB 6.0 www.computing.net/answers/programming/ado-control-in-vb-60/11361.html