|
-
April 9th, 2004, 12:33 AM
#1
How to display pictures dynamically
Hi how are you?
I want to display the pictures of employees on the basis of links I have stored in the database for each employee. I am using ms access database and I have stored the links of each pic with respect to employee. I am not using OLE object because it makes my database file heavy. I am using crystal report 9.0.
Please help me in this regard. I will be very greatful to you
Thanks
Khalid
-
April 9th, 2004, 06:21 AM
#2
Re: How to display pictures dynamically
Originally posted by khalidone
Hi how are you?
I want to display the pictures of employees on the basis of links I have stored in the database for each employee. I am using ms access database and I have stored the links of each pic with respect to employee. I am not using OLE object because it makes my database file heavy. I am using crystal report 9.0.
Please help me in this regard. I will be very greatful to you
Thanks
Khalid
Hi,
Refer the following link bellow.
http://www.codeguru.com/forum/showth...&pagenumber=32
Subject at :
View Pictures from database.Table.field contains picture filename with path.
Please avoid sending emails to my personal mail:
write your doubts as thread in Codeguru
Crystal Reports Forum.
This will help all people having similar matters, and will let people who know solutions on the specific topic
share their knowledge.
Visit my company web site (Qmax Test Equipments Private Limited)
Yours friendly,
K.Babu
-
April 10th, 2004, 12:02 AM
#3
Thanks. This code really works
Thanks alot K Babu. You have solved my problem. Your code really works
Thanks
Khalid
-
April 12th, 2004, 03:19 AM
#4
Re: Thanks. This code really works
Originally posted by khalidone
Thanks alot K Babu. You have solved my problem. Your code really works
Thanks
Khalid
Rate this thread.
Please avoid sending emails to my personal mail:
write your doubts as thread in Codeguru
Crystal Reports Forum.
This will help all people having similar matters, and will let people who know solutions on the specific topic
share their knowledge.
Visit my company web site (Qmax Test Equipments Private Limited)
Yours friendly,
K.Babu
-
November 14th, 2004, 10:17 PM
#5
Please help me this problem in ASP.Net
Hi K.Babu,
I have got this trouble in the ASP.Net. Have you got any solutions for ASP.Net?? Please help me in urgent.
Thank you in advanced for any suggestion.
-
March 9th, 2005, 04:03 AM
#6
Crystal Report 10 with Visual Basic 6 And Dynamic Pictures
Dear Mr. K Babu,
Can you please help me.
I am currently using Visual Basic 6. SQL Server 2000 and Crystal Report 10 to show reports.
Is there a way to Show pictures dynamicaly in Crystal report from File Patch mentioned in table field. (with out adding image in SQL servier 2000 fields)
The images are in a folder (C:/images/Picture1.bmp)
I want to show this picture in crystal report against picture1 in database field.
Please advise how can show specific record picture in crystal report , showing picture from Folder.
Nadeem.
Sialkot Pakistan.
-
March 9th, 2005, 04:06 AM
#7
Re: How to display pictures dynamically
 Originally Posted by K.Babu
Dear K.Babu,
I have same problem. I have downloaded your CRPhoto zip file but your project is not opening in Visual Basic 6.
Please advise me how can I use your code in Visual Basic 6 to run Crystal report for viewing pictures, where as picture path saved in database.
Please it is important.
-
March 9th, 2005, 04:13 AM
#8
Re: How to display pictures dynamically
Dear Sir,
Please advise me how to show pictures saved in a folder and folder paths are given in database fields only.
I wanted to show those pictures in crystal report 10 while using Visual Basic 6 code.
I want that crystal report show pictures from folders as per picture number mentioned in picture database table and per its folder path.
Please advise, I have tried. CRPhoto.zip but it is not opening.
-
March 15th, 2005, 05:37 AM
#9
Re: How to display pictures dynamically
Hi,
What problem you have faced in CRPhoto.zip file.
yours friendly,
K.Babu
 Originally Posted by nadeemsharifuddin
Dear Sir,
Please advise me how to show pictures saved in a folder and folder paths are given in database fields only.
I wanted to show those pictures in crystal report 10 while using Visual Basic 6 code.
I want that crystal report show pictures from folders as per picture number mentioned in picture database table and per its folder path.
Please advise, I have tried. CRPhoto.zip but it is not opening.
Please avoid sending emails to my personal mail:
write your doubts as thread in Codeguru
Crystal Reports Forum.
This will help all people having similar matters, and will let people who know solutions on the specific topic
share their knowledge.
Visit my company web site (Qmax Test Equipments Private Limited)
Yours friendly,
K.Babu
-
March 22nd, 2005, 02:52 AM
#10
Re: How to display pictures dynamically
hello there! is there a way to add .jpg images instead of .bmp?
-
April 1st, 2005, 01:01 AM
#11
Re: How to display pictures dynamically
I want to know too. And is there any way i can hide the picture filename below the picture?
-
November 27th, 2005, 06:23 AM
#12
Re: How to display pictures dynamically
I am using this code,
Private Sub cmdPrint_Click()
Dim i As Integer
Dim intRow As Integer
fraSelect.Visible = False
Set Report = Appl.OpenReport(App.Path & "\report1.rpt", 1)
Set Oparam = Report.ParameterFields
Report.PrinterSetup Me.hWnd
For intRow = 1 To fgShow.Rows - 1
If fgShow.TextMatrix(intRow, 3) = -1 Then
Text1.Text = fgShow.TextMatrix(intRow, 0)
Oparam.Item(1).AddCurrentValue (Text1.Text)
With CRViewer1
.ReportSource = Report
.ViewReport
.Zoom 100
Set CrSecPH = Report.Sections(3)
For i = 1 To CrSecPH.ReportObjects.Count
If CrSecPH.ReportObjects(i).Kind = crOleObject Then
Set Pic1 = CrSecPH.ReportObjects(i)
' Call CrSecPH_Format(CrSecPH.ReportObjects(i))
End If
Next i
Set CrSecPH = Nothing
.PrintReport
End With
End If
Next intRow
Set Oparam = Nothing
Set Report = Nothing
End Sub
Private Sub CrSecPH_Format(ByVal pFormattingInfo As Object)
Set Pic1.FormattedPicture = LoadPicture("\\server\Application\Photos\" & UCase(Trim(Text1.Text)) & ".JPG")
End Sub
But the problem is that, the image is getting loaded after the print.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|