Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Loading images into an image control
Mark Hanford
Posts: 131
 
Loading images into an image controlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Nov 09 7:25 AM
Hello,

I'm currently using the following to load an image into an image control.

uxChartImage.OpenPictureFromFile "file.bmp", False, False

What are the valid image formats supported? So far it seems only .bmp is supported, but this means my image store (generated charts for a contact) will be in the region of 1+ Gigagbytes for BMPs, instead of 40Mb for PNG/GIF!

How do I load GIF's or PNG's into an image control from a file?

Thanks

Mark
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Loading images into an image controlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Nov 09 3:31 PM
I think you are GeSchrooooot...
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Loading images into an image controlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 09 2:57 AM
Well, how about using a Browser control?

Then just write HTML code:

Dim strHTML
strHTML = "<html><body><img src="YOUR FILE PATH" style="SET ANY STYLES YOU WANT"></body></html>
BrowserControl.HTML = strHTML



[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: Loading images into an image controlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 09 3:22 AM
Oh.

Haha.

How simple.

Damn these boxes I think in...
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: Loading images into an image controlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 09 3:25 AM
Quote:
Originally posted by RJ Samp

I think you are GeSchrooooot...
Heh, okay, I've seen this on SLX forums a couple of times, but not anywhere else.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 9:16:17 AM