Jump to content

Question about GuiCtrlCreatePic() function


Recommended Posts

In my file, I put

GuiCtrlCreatePic("buslogo.jpg", 10, 10, 380, 70)

this function. The image file is located in the same directory as the au3 file.

Now, when I run this au3, it works fine and the image is displayed correctly.

However, If I create an exe file by pressing F7 and remove this image file, I can't see the image in the actual program.

It seems like the image file should be always go together with the program whether it is au3 or exe.

I want the exe file only... Is there a way to solve this problem?

Please help me out!

Link to comment
Share on other sites

Wow thank you so much!

IT works fine... maybe it is inevitable to avoid the new image file created after I execute the exe file. well.. that's acceptable though.

I can't believe how people are memorizing all these functions in their mind...

I envy them... :P hope I become more experienced :)

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...