ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
View previous topic :: View next topic
Author
Message
paul مهمون يكي دو روزه Joined: 14 May 2005 Posts: 9
Posted: Mon May 30, 2005 8:14 am Post subject: پیدا کردن مسیر فایل اجرایی
برای این کار لازم است تنها کد زیر را در formload بنویسید:
a=curdir
me.caption=a
سپس مسیر ی را که فایل exe در آن قرار دارد را می اندازد
Back to top
unknown مدير بخش ويژوال بيسيك Joined: 05 Dec 2004 Posts: 439 Location: Tehran
Posted: Mon May 30, 2005 5:18 pm Post subject:
یه راه راحت دیگه استفاده از تابع App می باشد
App.path
Me.Caption = App.Path & "\" & App.EXEName
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
s
Powered by phpBB © 2001, 2010 phpBB Group
آمار