|
-
Jul 15th, 2000, 01:25 AM
#1
Thread Starter
Addicted Member
but it is in DOS-format!!!!!! ???? !!!!!!!
(C:\progra~1\micros~1\file~1.cra)
why?
the richtextbox isn't able to handle this type of filename...
how to convert?
-
Jul 15th, 2000, 01:27 AM
#2
Fanatic Member
tell us how you got it?
and we'll see if we can help.
-
Jul 15th, 2000, 03:39 AM
#3
Thread Starter
Addicted Member
ok...
first i added a new file type and an action
open "c:\myprogramms\editor\editor.exe" "%1"
then, in vb, i added file = command()
the original filename was "C:\programs\file1.cra"
the file-string in vb contained "C:\progra~1\file1~1.cra"
-
Jul 15th, 2000, 07:49 AM
#4
API:
Public Declare Function GetFullPathName Lib "kernel32" Alias "GetFullPathNameA" (ByVal lpFileName As String, ByVal nBufferLength As Long, ByVal lpBuffer As String, ByVal lpFilePart As String) As Long
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|