473,386 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

List of employees with images

2
I want create an employee information report that shows all details and photo of each employee. The data was stored in MS Access database and the path for the photo. I am using VB 6 and VB Data Report for reporting. I can view the employees details on the report even the image path but i have failed to load the photo for each employee. please help. The following codes are only able to load only one image throughout the list but i want each record with its image.my codes are as follows:

Expand|Select|Wrap|Line Numbers
  1. DataEnvironment1.listofemployees
  2. rptemployees.Refresh
  3. rptemployees.Show
  4. Unload DataEnvironment1
  5.  
  6. Dim pPic As RptImage
  7. Set pPic = rptrptemployees.Sections("Section1").Controls("image1")
  8.         Sum = Me.lblpath
  9.             Set pPic.Picture = LoadPicture(Sum)
  10.             rptemployees.Refresh
Jan 23 '13 #1
0 1363

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Daniel | last post by:
I am new to python and am trying to make a front end for an emulator. I am using python, livewires and pygame. I am able to do everything I want except createa list box. I have a background...
7
by: JP SIngh | last post by:
Hi All I have a table which stores the employee details. The format of the table is below EmpNo _ Integer FirstName - Text Lastname - Text ManagerNo - Integer
1
by: John | last post by:
Hi, we have the following problem: in our application v1.0 we have static html pages (+ some javascript). With a CMS (a Content Management System) some "mortal" people can add or expand the...
6
by: Nish | last post by:
I want to down load all images kept under particular URL. Here is the example..... www.my1111site.com/images/1234.jpg www.my1111site.com/images/1234.jpg I only know the url upto...
1
by: John | last post by:
Hi I would like to allow users to add images to a list on form by browsing and selecting images from the disk. What would be a good mechanism to do this? Thanks Regards
0
by: James L | last post by:
I have 2 different forms that contain treeviews and listviews. The former is used to populate the latter. For some reason the control randomly lose the images. So you cannot tell in the...
7
by: Brian | last post by:
First off, I am sorry for cluttering this group with my inept questions, but I am stuck again despite a few hours of hair pulling. I have a function (below) that takes a list of html pages that...
5
by: =?iso-8859-1?B?QW5kcukgSORuc2Vs?= | last post by:
Hi, this is another problem that tempts me to use tables but before I do that I'm going to ask you. Sounds simple: A list of images with a description to their right. Illustration:...
1
by: Jeff | last post by:
hi asp.net 2.0 On my webpage I want to display a list of images. Most proparly display the list horizontal Sometimes I want only one image to be displayed and sometimes maybe 10 images....
6
by: Ha Nguyen | last post by:
Hi all, Eg: I have a list which contains 4 images (this list is got from database), I want to display them in 2 columns (1 image/col and only 2 columns/row): Img1 | Img2 Img3 | Img4 And if...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.