Solved

accessing relative path

Posted on 2014-10-15
1
84 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 500 total points
ID: 40383448
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\Signature...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

717 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