Getting Filename, not whole path

Discussion in 'Questions (Windows Mobile)' started by Basseman, Feb 6, 2009.

  1. Basseman

    Basseman Member Licensed User

    Hi, im using the opendialog and want to show in a label the name of the file i have opend.

    Label1.text = Opendialog.File shows the entire path

    Label1.text= Opendialog.Text doesnt show anything.

    How to do ??

  2. digitaldon37

    digitaldon37 Active Member Licensed User


    Returns the file name without the path.
    Syntax: FileName (File)
    Example: Name = FileName (OpenDialog1.File)
  3. Basseman

    Basseman Member Licensed User

    Thanx alot...

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice