473,386 Members | 1,668 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.

Picture

Hello! For my database report, I have to include different pictures for each page and when I first opened the database, it had c:\pictures\two.jpg. When I first ran the report, the image frame was left blank and it did not work. Then I had to go back and change the url to C:\Users\Abby\Pictures\two.jpg. When I ran the report for the second time, it works. So my question is, if I run the report on another computer, will the pictures come up on the image frame? If not, how do I get the pictures to where they will show up on the report on all different computers? Thanks!
May 13 '18 #1
4 1053
twinnyfo
3,653 Expert Mod 2GB
Disneygirl25,

The “short” answer is that you should have your DB back end and all supporting images that you might use in a shared network environment. Thus, whenever anyone is accessing the two.jpg image, it is from a shared, known location, such as “\\ServerName\Folder\Images\two.jpg”.

There are different ways to do this. Let us know if you need further guidance.

Hope that hepps!
May 13 '18 #2
NeoPa
32,556 Expert Mod 16PB
Hi Abby?

This all depends a great deal on exactly what you're trying to achieve. Unfortunately your question is a bit short on information.

If the picture is a standard one and everyone should be able to access it then it should either be on the network accessible by all users the same way (Many ways to handle this depending on variables we know nothing of.) or copies of it could be made accessible on all machines expected to run the project.

On the other hand, if you're talking about different pictures being used for each record then we have a totally different situation. That one would require a file address (again must work regardless of which machine it's run from) to be stored in each record and that address being set to the Image Control's .Picture property in the Section's Format() event procedure.
May 13 '18 #3
NeoPa, it’s four different pictures for each record
May 13 '18 #4
NeoPa
32,556 Expert Mod 16PB
In that case you'll need four separate controls on your report and four separate fields in your table to hold where these pictures are loaded from. The files must still be in such a place as to be accessible - in exactly the same way - from anywhere the project is run.
May 13 '18 #5

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

Similar topics

4
by: Chris | last post by:
Hi, I am trying to set the position of a picture inside a picturebox with the folowing code: pctOutput.Picture = LoadPicture(App.Path & "\picture.bmp", , , , ) I didn't know what to fill...
10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
2
by: Sandra Setz | last post by:
Hi, I was wondering if someone could explain to me what the difference is between the width propery of the picture property of an image and the width property of the image itself. I would...
3
by: Sandra Setz | last post by:
Hi, Is it possible to assign the Picture property of a picturebox to the Picture property of an image control? I use an invisble picturebox to make some changes to a picture, but I want to...
2
by: Lyn | last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph) with the following code which is based on MS article http://support.microsoft.com/?id=158941: strPathname =...
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
4
by: NASAdude | last post by:
I'm working on distributing a database using VS Tools for Office, and am having trouble with linked images on forms/reports. The image objects have a default path\file set on the .Picture property,...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
3
by: raghunadhs | last post by:
hi all! i have a picture box, in that picture box, there is a picture asume it as "pic1.bmp".. now i have made some changes in that picture. Now i want to load a picture to a image( my form...
1
by: orson4music | last post by:
I have two picture boxes on my form. One on top of the other. The top most picture box's movement is restricted within the picture box below making it look like the top most picture box is contained...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.