|
-
Mar 11th, 2000, 12:50 AM
#1
Thread Starter
New Member
I created a simple program with the code I learned in class.
It works fine except when I compile it as a .exe it still points to the path on the local drive for the pictures. How do I get the compile to include the pictures?
-
Mar 11th, 2000, 01:03 AM
#2
Member
App.Path can be used as a constant to describe the path to your application as in
set picture1.picture = App.Path & "\yourfile"
or, you can either include the picture as a part of the form, or in an imagelist the compile will then include the image.
For instance if you include the image in an imagelist control, you can add it to an image control like:
set Image1.Picture = objects.ListImages(22).Picture
hope that helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|