Thread View: fj.lang.visualbasic
3 messages
3 total messages
Started by 椎名正昭
Fri, 20 Feb 1998 00:00
短いファイル名の取得
Author: 椎名正昭
Date: Fri, 20 Feb 1998 00:00
Date: Fri, 20 Feb 1998 00:00
9 lines
955 bytes
955 bytes
椎名と申します。 VB5を使用して開発をしているのですが、VB上からロングファイルネームの ファイルの8.3形式の短いファイル名(DOS窓で表示されるような)を取得する にはどうしたら良いのでしょうか? 一通りVBの関数やVCのヘルプを調べたのですが、どうすればいいのか 分かりません。 どなたかご存知の方教えていただけませんか。
Re: 短いファイル名の取得
Author: Takeshi Shigihara
Date: Fri, 20 Feb 1998 00:00
Date: Fri, 20 Feb 1998 00:00
20 lines
1441 bytes
1441 bytes
DWORD GetShortPathName(
LPCTSTR lpszLongPath, // pointer to a null-terminated path string
LPTSTR lpszShortPath, // pointer to a buffer to receive the
// null-terminated short form of the path
DWORD cchBuffer // specifies the size of the buffer pointed
// to by lpszShortPath
);
椎名正昭 wrote:
> VB5を使用して開発をしているのですが、VB上からロングファイルネームの
> ファイルの8.3形式の短いファイル名(DOS窓で表示されるような)を取得する
> にはどうしたら良いのでしょうか?
> 一通りVBの関数やVCのヘルプを調べたのですが、どうすればいいのか
> 分かりません。
----- Takeshi Shigihara
Office cygnus@masternet.or.jp
Home cygnus@po.jah.ne.jp -----
ありがとうございました
Author: 椎名正昭
Date: Fri, 20 Feb 1998 00:00
Date: Fri, 20 Feb 1998 00:00
26 lines
1721 bytes
1721 bytes
早速のレス、ありがとうございました。 なんとか問題が解決しました。 また何か質問させていただくかもしれませんが、その時には よろしくお願いします。 Takeshi Shigihara wrote in message <34ECF290.3145FC9@masternet.or.jp>... >DWORD GetShortPathName( > LPCTSTR lpszLongPath, // pointer to a null-terminated path string > LPTSTR lpszShortPath, // pointer to a buffer to receive the > // null-terminated short form of the path > DWORD cchBuffer // specifies the size of the buffer pointed > // to by lpszShortPath >); > > >椎名正昭 wrote: >> VB5を使用して開発をしているのですが、VB上からロングファイルネームの >> ファイルの8.3形式の短いファイル名(DOS窓で表示されるような)を取得する >> にはどうしたら良いのでしょうか? >> 一通りVBの関数やVCのヘルプを調べたのですが、どうすればいいのか >> 分かりません。 > >----- Takeshi Shigihara > Office cygnus@masternet.or.jp > Home cygnus@po.jah.ne.jp -----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads