Jump to content

Quick Splash Question


Recommended Posts

Hey, I am trying to put a splash image in my program. How do I make it so that the program finds the image in the same folder as the .exe file no matter what computer it is on. Like if I have it in a folder on my desktop, but I give it to somebody and they have it in a folder on their documents. How can I make it so that it looks in the local folder, not the specific path. Thanks.

Link to comment
Share on other sites

You might want to give FileInstall() a look as well. Using that, you can just pack the image file (and any other file) with the executable and unpack it at runtime to a dir of your choosing (for instance you might want to write to the desktop dir or My Documents or something due to file write permissions). There are also more advanced options... #AutoIt3Wrapper_res_file_add

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...