Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I'm using VB.net, I have placed a picturebox on top of Crystal report viewer, instead of setting a source (.rpt file). I think that is the one reason. image is overlapping the crystal report viewer and crystal report viewer's toolbar is automatically disabled.

my requirement is
1) print the content of a tabcontrol

http://www.imagebam.com/image/b5a72d100589231



I have tried in 2 ways for the above requirement

1. taking the snapshot of that tabcontrol and then displaying on CR using dataset. it works but the problem is, quality depends on resolution of the monitor. so its not ideal solution

2. im drawing those lines on picturebox and saving it as bmp image and im inserting that image in crystal report using dataset. it works, but the problem is it shows black background, as bmp image doesn't have any background.

http://www.imagebam.com/image/d7d609100591229



im trying from last 4 days.. please help
Posted
Updated 4-Oct-10 18:41pm
v4

1 solution

Your screenshot is too small. Also you should have mentioned what language? There is not enough details. I suspect you disabled the toolbar option by using code/property. Edit your question & add enough details & also new big screenshot.

You can enable or disable ToolBar by using code as follows:
VB
CrystalReportViewer1.DisplayToolBar = False
 
Share this answer
 
Comments
Md Athaulla 4-Oct-10 6:33am    
Hey thanks for Ur reply. I'm using VB.net, I have placed a picturebox on top of Crystal report viewer, instead of
setting a source (.rpt file). I think that is the one reason. image is overlapping the crystal report viewer and crystal report viewer is automatically disabled.

my requirement is
1) print the content of a tabcontrol

please click the below link,
http://www.imagebam.com/image/b5a72d100589231

I have tried in 2 ways for the above requirement

1. taking the snapshot of that tabcontrol and then displaying on CR using dataset. it works but the problem is, quality depends on resolution of the monitor. so its not ideal solution

2. im drawing those lines on picturebox and saving it as bmp image and im inserting that image in crystal report using dataset. it works, but the problem is it shows black background, as bmp image doesn't have any background.

http://www.imagebam.com/image/d7d609100591229

im trying from last 4 days.. please help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900