Skip to main content

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Duncan,
Check out this thread on the forum: ActiveX-control for scaling bitmap?

One caveat is that it will only work with windows local drives and network shares, so you would have to have a way to setup your unix image folder as a windows share(samba for instance), or temporarily copy them to the pc.

6.x does sound like a better alternative in my opinion.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Dan,

Does your program/control work with the thin client using image files on a unix server? The files on the server are not available directly on the client.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
One caveat is that it will only work with windows local drives and network shares, so you would have to have a way to setup your unix image folder as a windows share(samba for instance), or temporarily copy them to the pc.

6.x does sound like a better alternative in my opinion.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
One caveat is that it will only work with windows local drives and network shares, so you would have to have a way to setup your unix image folder as a windows share(samba for instance), or temporarily copy them to the pc.

6.x does sound like a better alternative in my opinion.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
One caveat is that it will only work with windows local drives and network shares, so you would have to have a way to setup your unix image folder as a windows share(samba for instance), or temporarily copy them to the pc.

6.x does sound like a better alternative in my opinion.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Sorry Dan, I clicked the reply button too early before reading your whole message.

Our Unix servers are kept fairly closed for security reasons, so the network drive thing isn't a go-er.

Do you know of any examples that use the ImageList collection and a control similar to your example?

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
It shouldn't be difficult to add an imagelist and image index property to the control. Do you have Visual Basic 6.0? Are you comfortable doing this with the vb source? If not let me know.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
We do have VB 6.0 lying about here somewhere, but my knowledge is limited. Give me Java anyday!

If you have nothing better to do, feel free to experiment. Unfortunately I have no way of showing my gratitude. But judging by your other posts, you appear to enjoy these little challenges. A man after my own heart! Now if I could only get some of my own work done! :)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
We do have VB 6.0 lying about here somewhere, but my knowledge is limited. Give me Java anyday!

If you have nothing better to do, feel free to experiment. Unfortunately I have no way of showing my gratitude. But judging by your other posts, you appear to enjoy these little challenges. A man after my own heart! Now if I could only get some of my own work done! :)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
We do have VB 6.0 lying about here somewhere, but my knowledge is limited. Give me Java anyday!

If you have nothing better to do, feel free to experiment. Unfortunately I have no way of showing my gratitude. But judging by your other posts, you appear to enjoy these little challenges. A man after my own heart! Now if I could only get some of my own work done! :)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Well Duncan, I made the change, but W$BITMAP does not want to play nice. :(
In my control I have to pass in the ImageList as a Variant type, but when I pass the bitmap handle for the imagelist, my control doesn't like it. When I do the same test for a VB program calling my image control, it works fine, the vb imagelist passes correctly.
I've tried converting the bitmap handle to a variant first and passing, but still doesn't work. I made sure the width of my .bmp file were correct and that I was specifying the correct width when calling W$BITMAP using the WBITMAP-LOAD-IMAGELIST op-code. I'm not sure where the problem lies, but another option is to use 6.2 and create an ms activex imagelist that you can load from w$bitmap, and then pass it to the image control. I don't have 6.2 to try this though.
I've attached the code in case you or anyone wants to experiment and can maybe tell me how to get it working! ImageListCtl.cbl is the sample.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Hi Dan!

Thanks for all your effort.

I'll have a look at the code and see if we can find a 6.2 version to try it. We're on the beta program, so we might have a beta version somewhere around here.

I'll let you (or rather, this thread) know.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Duncan,
Forget to mention, I was using version 6.1, but you probably figured that out already. ;)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Duncan,
Forget to mention, I was using version 6.1, but you probably figured that out already. ;)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Duncan,
Forget to mention, I was using version 6.1, but you probably figured that out already. ;)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Hmmm. I see one problem with all this. The ImageList control requires you to know what width the image is.

Unfortunately we will not know the size of these images (that's why we need to scale them).

Looks like this is not possible in Acucobol, which is really annoying as it makes the difference between a good user interface and one that looks like crap.

I hope Acu are working on a way to scale images, because this is on the "show-stopper" list for us.

(By the way, PerCobol does this with a simple 'SCALED' keyword on the BITMAP control)

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Unfortunately we will not know the size of these images (that's why we need to scale them).


In version 7.0, there is support for the Picture object which we know well from VB samples. E.g. WBITMAP-LOAD-PICTURE, which will accept a filename and give you a handle to a picture object in return. This object, in addition to give you the size of the image also is accepted with all ActiveX expecting a Picture (IPicture) object.

(By the way, PerCobol does this with a simple 'SCALED' keyword on the BITMAP control)


Good idea, please report this to Acu support as an enhancement request.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Gisle,

I actually asked this question about scaling bitmaps to our local support over in Australia. That was last month. At that stage I was told there was an incident # 99-024125 which was to do with changing W$BITMAP to do scaling.

However, I don't believe it should be a function of W$BITMAP (except perhaps the display option) but should be a simple keyword on both BITMAP and PUSH-BUTTON controls. That way, you do the normal LOAD using W$BITMAP and then decide how to view it .

I was also told at that time that it could be done with ActiveX controls.

Of course, one of the disadvantages with the Acucobol approach to GUI controls (i.e. using Common Dialog controls) is that it is limited to the functionality of those controls.

Unfortunately, too, the ActiveX approach does not suit everyone. One of our biggest customers in Australia (with 5 sites and a total of almost 200 user licenses) runs purely with XWindows terminals connecting to SUN Sparc servers. As they have just thrown out all their Windows Clients, I don't think they would appreciate us telling them to get some PCs.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Gisle,

I actually asked this question about scaling bitmaps to our local support over in Australia. That was last month. At that stage I was told there was an incident # 99-024125 which was to do with changing W$BITMAP to do scaling.

However, I don't believe it should be a function of W$BITMAP (except perhaps the display option) but should be a simple keyword on both BITMAP and PUSH-BUTTON controls. That way, you do the normal LOAD using W$BITMAP and then decide how to view it .

I was also told at that time that it could be done with ActiveX controls.

Of course, one of the disadvantages with the Acucobol approach to GUI controls (i.e. using Common Dialog controls) is that it is limited to the functionality of those controls.

Unfortunately, too, the ActiveX approach does not suit everyone. One of our biggest customers in Australia (with 5 sites and a total of almost 200 user licenses) runs purely with XWindows terminals connecting to SUN Sparc servers. As they have just thrown out all their Windows Clients, I don't think they would appreciate us telling them to get some PCs.

[Migrated content. Thread originally posted on 18 November 2004]

Hi folks,

Does anyone know of a simple, royalty-free ActiveX control that can be used to scale bitmap images to a certain size?

The control has to work with the Thin Client with image files stored on the connected unix server.

I read about the ImageList control stuff in the version 6.0 W$BITMAP routine, but unfortunately our customer is using version 5.2.1.1.

However, if it can only be done in version 6.x, then we could probably persuade the customer to upgrade.

Any pointers would be greatly appreciated.
Gisle,

I actually asked this question about scaling bitmaps to our local support over in Australia. That was last month. At that stage I was told there was an incident # 99-024125 which was to do with changing W$BITMAP to do scaling.

However, I don't believe it should be a function of W$BITMAP (except perhaps the display option) but should be a simple keyword on both BITMAP and PUSH-BUTTON controls. That way, you do the normal LOAD using W$BITMAP and then decide how to view it .

I was also told at that time that it could be done with ActiveX controls.

Of course, one of the disadvantages with the Acucobol approach to GUI controls (i.e. using Common Dialog controls) is that it is limited to the functionality of those controls.

Unfortunately, too, the ActiveX approach does not suit everyone. One of our biggest customers in Australia (with 5 sites and a total of almost 200 user licenses) runs purely with XWindows terminals connecting to SUN Sparc servers. As they have just thrown out all their Windows Clients, I don't think they would appreciate us telling them to get some PCs.