Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Win32::GUI - error adding a bitmap in button

by Anonymous Monk
on Jun 21, 2017 at 18:26 UTC ( [id://1193226]=note: print w/replies, xml ) Need Help??


in reply to Win32::GUI - error adding a bitmap in button

Where are you getting this error from?

Try using an absolute path in $path1 instead of just the filename

Also, $path1 is better written as $reloadPage or $reload_button_file or ...

Not sure I see any connection between the bitmap and the button

  • Comment on Re: Win32::GUI - error adding a bitmap in button

Replies are listed 'Best First'.
Re^2: Win32::GUI - error adding a bitmap in button
by levW (Beadle) on Jun 22, 2017 at 05:00 UTC

    Thanks,

    will comply with formatting in future - I'm new to this forum.

    Tried using the absolute path - still the same error from cmd, when the program starts .

      I think your problem is you're trying to load a .jpg and not a .bmp

        Thanks, this was exactly it !

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1193226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-18 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found