Solved

accessing relative path

Posted on 2014-10-15
1
77 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
A short article about a problem I had getting the GPS LocationListener working.
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now