Re: Picture Control (Solution)


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jeff Cinelli on November 04, 2018 at 12:22:35:

In Reply to: Re: Picture Control posted by Barbara Brazil on November 03, 2018 at 16:07:19:

I was able to identify and correct the problem. Here's what was going on. The bitmaps in the DLL need to be stored in names surrounded by double quotes to be used with the Comet COS.LoadButtonPic routine. In Visual Studio 2017, my bitmap was called "JOIN", and it looked good. However, when I built the solution, and opened the DLL alone (and not part of the VS solution), it was called 103. Opening the DLL as part of the VS solution, it was still called "JOIN". I could not figure out why it was changing on me. After doing some research, I found someone with a similar problem. The solution was to delete the bitmap from Visual Studio, and add it back in using the "Add Resource/Bitmap/Import" command. When I did that, it named it IDB_BITMAP1. When I renamed it to "JOIN", and built the solution, it kept my name, and the picture pushbutton control now displays and functions properly in my Comet program.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]