|
-
Nov 22nd, 2000, 09:43 AM
#1
Thread Starter
New Member
I have files on a CD that are hyperlinked. I am using VB as a front end to the .pdf files that I have on that CD. If the CD drive is D: , I may want to:
ShellExecute hwnd, "open", "D:\bookD.pdf", vbNullString, CurDir$, SW_SHOW
but if the CD is Z: , then I may want it to point to:
ShellExecute hwnd, "open", "Z:\bookZ.pdf", vbNullString, CurDir$, SW_SHOW
that way I get the execution of the correct set of hyperlinked files.
You get the picture....
How do I determine what the driveletter is, and then get the (say button in my form) to point to the correct file???
I don't know if I'm making this more difficult than it needs to be, but I don't know how else to do it.
HELP!!??
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
|