VB6での App.Path、VB.NETではどう書く?
  いちばん簡単なのは、
  
  
Formが無い場合は、
  
System.Windows.Forms.Application.StartupPathSystem.Windows.Formsを使っているので、おそらくWindowsFormsアプリ以外は使えない
Formが無い場合は、
My.Application.Info.DirectoryPath
VisualBasic学習
 
0 件のコメント:
コメントを投稿