Visual Basic #1:App.Pathを取得するには?


Visual Basic:App.Pathを取得するには?

VB6での App.Path、VB.NETではどう書く?

いちばん簡単なのは、
System.Windows.Forms.Application.StartupPath
System.Windows.Formsを使っているので、おそらくWindowsFormsアプリ以外は使えない

Formが無い場合は、
My.Application.Info.DirectoryPath

Visual Basic
VB6
2026.04.09 11:19
2020.08.03 10:09

0 件のコメント:

その他の記事