Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
RealBasic アプリのリソース ディレクトリにデータ ファイルを保存しています。しかし、プログラムでそれを見つけるにはどうすればよいでしょうか?
SpecialFolder クラスを調べましたが、有用なものは何も見つかりませんでした。
アプリは OS X のみなので、マルチプラットフォームの問題に対処する必要はありません。
ありがとう!
イヴァン
app.executablefile.parent.parent.child( "Resources")を試してください
MonkeyBreadソフトウェアプラグインをお持ちの場合は、次を使用できます。
dim f as FolderItem f = app.BundleResourceFolderMBS
これははるかに理解しやすいと思います。