Results 1 to 3 of 3

Thread: Right() [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member GSIV's Avatar
    Join Date
    Jun 2002
    Location
    Texas, USA
    Posts
    213

    Question Right() [RESOLVED]

    I'm getting an error with this code that states the Right command is looking for an integer. What am I doing wrong?

    Code:
            Dim strPath As String = Application.StartupPath
            If Right(strPath, 1) <> "\" Then
                strPath = strPath & "\"
            End If
    Last edited by GSIV; Dec 17th, 2003 at 03:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width