Opening an image from its location (1 Viewer)

lessthanme5

Registered User.
Local time
Today, 07:34
Joined
Mar 7, 2006
Messages
43
Hi,

I have been trying to get an image to open from its location.... but it keeps trying to open "C:\C:\example.bmp" instead of "C:\example.bmp" does anyone know how to take out the first directory location tag automatically?

Any help will be great!

Thanks.
 

ghudson

Registered User.
Local time
Today, 02:34
Joined
Jun 8, 2002
Messages
6,195
Not sure how you are storing the location "string" of the files.

Check out my Browse [Find a directory or file] sample on how to open a file using the ShellExecute method and also how to "parse" out the location string values.

Searching the forum is a great way to discover and learn the answers to your Access programming questions.
 

lessthanme5

Registered User.
Local time
Today, 07:34
Joined
Mar 7, 2006
Messages
43
Thanks... it helped alot
 

Users who are viewing this thread

Top Bottom