473,394 Members | 2,031 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,394 software developers and data experts.

Images problem

Hey everybody,

I'm doing a project called Science Talent Search, where I had to
research about a topic in which I chose nuclear energy. I chose to
present this as a computer program, and I decided to use C#.

The main problem is: I'm using a bit of animation, by changing the
location of the image file.

Now, the image files are located in a certain directory (let's say
C:\Documents and Settings), so if I ran it on another computer, the
program would not be able to get the write image file, since the
computer wouldn't have the image files in C:\Documents and Settings.

This is a problem especially because on Saturday 9:30 AM Australian
Eastern Standard Time, I have to present this program to 2 judges, and
they will want to be able to run it on their computer.

Could anyone help? (Is there a better way than putting all the image
files in a certain directory, then telling the user to firstly transfer
them into the right directory, before running the program?)

Thanks if you do,

Seen Sharp

Nov 17 '05 #1
2 1096
How do you plan to deploy the program, itself to the judges? XCopy to their
computer, or have them map to a shared folder across a network? Are you
going to eMail it to them and have them copy to their local machine, perhaps
to the desktop?

If they can get to the exe (it is a Windows App - yes?), then why not have
the images deployed in the same folder as the exe? Then you can use
System.IO.Directory.GetCurrentDirectory() to programmatically determine the
exact folder in which the exe is running.... So, if you tell the judges to
copy the exe and all supporting images to one location, everything will
work.

-HTH

"Visually Seen #" <al*****************@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hey everybody,

I'm doing a project called Science Talent Search, where I had to
research about a topic in which I chose nuclear energy. I chose to
present this as a computer program, and I decided to use C#.

The main problem is: I'm using a bit of animation, by changing the
location of the image file.

Now, the image files are located in a certain directory (let's say
C:\Documents and Settings), so if I ran it on another computer, the
program would not be able to get the write image file, since the
computer wouldn't have the image files in C:\Documents and Settings.

This is a problem especially because on Saturday 9:30 AM Australian
Eastern Standard Time, I have to present this program to 2 judges, and
they will want to be able to run it on their computer.

Could anyone help? (Is there a better way than putting all the image
files in a certain directory, then telling the user to firstly transfer
them into the right directory, before running the program?)

Thanks if you do,

Seen Sharp

Nov 17 '05 #2
Dom
Are the computers on a network?
Could you put them in a network folder where everyone has access and
specify the path in UNC notation

\\<servername>\path

Otherwise, you could make a setup program and deploy the image files
together with the application (easiest would be into the application
dir).

Hope this helps.
Dom

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Anavim | last post by:
Hi, I have a really wired behavior in my asp.net application. Little background, I have a base pages which contains about 17 images lying around (create a circle) and this page contains a...
3
by: Dave | last post by:
Hi, I have an app that uses rollover images, but the images are still pulled from the web server during a mouseover instead of being pulled from memory. The code is as follows: the...
3
by: Simon | last post by:
This problem has been driving me mad for months.... Seen a few posts on forums about it but no answers... No mention on MSDN etc. XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a...
4
by: Bernie Raffe | last post by:
When I change the 'cookieless' flag in the WebConfig file to true, everything works fine on my local PC, but the images fail to appear when using the remote server. I specify my images...
5
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
10
by: Neo Geshel | last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress 2005. Why? Because I can. Because I will gain experience. The one thing that has me stumped at square one is inline images....
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
7
by: Keith Hughitt | last post by:
Hi all, I am having trouble preloading images in a javascript application, and was wondering if anyone had any suggestions. Basically I have a bunch of images stored in a database as BLOBs. At...
3
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.