Solved

accessing relative path

Posted on 2014-10-15
1
81 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
1 Comment
 
LVL 40

Accepted Solution

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

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

856 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