VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Make a long file name from a short. This snippet remplace other code from this site (origin Microso

by Bernt Figaro (8 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Thu 6th January 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Make a long file name from a short. This snippet remplace other code from this site (origin Microsoft example do'nt works at all)

API Declarations


DefInt A-Z
REM Subject: Code Snippet
REM Date: Thu, 1 Jun 2000 15:55:41 -0400
REM From: [email protected]
REM To: <VbCode.com>
Rem ©® The Hook Software
Rem ®© [email protected]
REM Task: Get a long file name from a short file name
REM Author: Bernt Figaro
REM Author's email:[email protected]
REM Date Submitted: 6/2/2000
REM Compatibility: VB 6,VB 5
REM
REM Variables

REM Code:
REM Remplace Microsoft Knowledgebase Article ID: Q163227
REM This code above do'nt works




Rate Make a long file name from a short. This snippet remplace other code from this site (origin Microso



DefInt A-Z
REM Subject: Code Snippet
REM Variables
Dim Path As String

Private Function GetLongFilename(ByVal sShortName As String) As String
Path=App.Path
If Right$(Path,1)<>"\" then path=path+"\"
GetLongFilename = Dir(Path & sShortName)
REM This code works
End Function



Download this snippet    Add to My Saved Code

Make a long file name from a short. This snippet remplace other code from this site (origin Microso Comments

No comments have been posted about Make a long file name from a short. This snippet remplace other code from this site (origin Microso. Why not be the first to post a comment about Make a long file name from a short. This snippet remplace other code from this site (origin Microso.

Post your comment

Subject:
Message:
0/1000 characters