Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT: Need help in changing the orientation of the report

Status
Not open for further replies.

anilsantoshs

Programmer
Sep 16, 2003
18
FR
Hi,

I need help in changing the orientation of the Report at design or Run-Time.

NOTE: i'm using Data Report available with VB.

Thanks,

Anil Santosh. S
 
Thanks for ur immediate respone.

But, i'm not able get any properties as u mentioned. I'm using Datareports not the crystal reports.

Thanks
Anil Santosh. S
 
The .Orientation property IS for VB reports. Have you got a reference to the MSDataReportLib (MSDBRPTR.DLL, Microsoft Data Report Designer 6.0) library?

Pete Vickerstaff - Hedra Software
 
anilsantoshs

I think the reason why you can't get the orientation property is because of the service pack you have installed in your developing machine. The Orientation property is avaviable in the VB6 with the Service Pack 5, I'm not sure which file exactly it changes, maybe you can figure it out and have change just that file to make the orientation property to work, or you can download and install the service pack.

You can find it at Microsoft's site in the downloads section with a quick search for Visual Basic 6 - Service Pack.

Hope this helps.

David.
 
Pete,
When I had that problem in the past, I installed SP5, didnt make any other adjustment, and it did work fine.

The MSDBRPTR.DLL(Microsoft Data Report Designer 6.0) or the MSSTDFMT.DLL(Microsoft Data Formatting Object Library 6.0) are both used when you add a DataReport, but if you check in the Proyect->Component->Designer you will notice another file used by the DataReport, MSDBRPT.DLL(Microsoft Data Report ActiveX Designer DLL 6.0). My point is, there is more than one file that the SP replaces.

But anyway, I'm not a VB guru so my guess is as good as yours.

Anil
If you still have the problem you should check which Service Pack do you have. And give us more information to work with.

David.
 
Service packs are free! Use the latest one, available from
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top