Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 101
  • Last Modified:

accessing relative path

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
bobnields
Asked:
bobnields
1 Solution
 
Jacques Bourgeois (James Burger)PresidentCommented:
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\Signature...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now