?
Solved

accessing relative path

Posted on 2014-10-15
1
Medium Priority
?
91 Views
Last Modified: 2014-11-17
I have an application that where I save a signature jpg.  
This issue is I am saving this using the following path;

'Sign1.SignatureBitmap.Save(("C:\Users\DeBra-Kuempel\Desktop\DKupload\Signature" & intRSOID & "_" & strdate & ".Gif"), System.Drawing.Imaging.ImageFormat.Gif)

however, my client has informed me that some computers won't be set up this way...meaning it won't be users\debra-kuempel.

is there a way to access the desktop without specifying C:\Users\DeBra-Kuempel??

I just want \desktop\dkupload\signature.......

It seems this should be easy...but I can't get it to work.
0
Comment
Question by:bobnields
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 40383448
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\Signature...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Progress
Introduction to Processes
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question