Oldsoftboss
AWF VIP
- Local time
- Today, 17:45
- Joined
- Oct 28, 2001
- Messages
- 2,499
I've seen it here somewhere, but after searching for an hour, reluctantly decided to post.
I am using the FormIcon function on some of my forms.
In the Form - Load Event SetFormIcon Me.hWnd, "C:\Program Files\My App\myicon.ico" 'Location of icon file
This works fine when the icon is in this directory, but what if it is moved?
If the Icons are always located in the same directory as the .mdb can I use code to do the following:
SetFormIcon Me.hWnd, "Current Access Path - myicon.ico somehow.
I saw some code here recently that picked the current path to something but can't for the life of me find it.
Dave
I am using the FormIcon function on some of my forms.
In the Form - Load Event SetFormIcon Me.hWnd, "C:\Program Files\My App\myicon.ico" 'Location of icon file
This works fine when the icon is in this directory, but what if it is moved?
If the Icons are always located in the same directory as the .mdb can I use code to do the following:
SetFormIcon Me.hWnd, "Current Access Path - myicon.ico somehow.
I saw some code here recently that picked the current path to something but can't for the life of me find it.
Dave