Skip to main content

[archive] IPicture API call in ACUCOBOL

  • November 7, 2007
  • 3 replies
  • 0 views

[Migrated content. Thread originally posted on 07 November 2007]

Has anyone got some code that calls IPicture API funtion in ACU?

I am aware that a VB equivalent of LoadPicture is available from v7 onwards but we are stuck with 6.2.1 (EDIT: sorry my mistake its 6.1.0) for the time being.

I need to load images in an image object for my ActiveX control to use. I am lead to believe IPicture would do the same but I have not got a clue where to start.

Any help would be appreciated. Some code to start it off would be great.

Thanks

SR

3 replies

[Migrated content. Thread originally posted on 07 November 2007]

Has anyone got some code that calls IPicture API funtion in ACU?

I am aware that a VB equivalent of LoadPicture is available from v7 onwards but we are stuck with 6.2.1 (EDIT: sorry my mistake its 6.1.0) for the time being.

I need to load images in an image object for my ActiveX control to use. I am lead to believe IPicture would do the same but I have not got a clue where to start.

Any help would be appreciated. Some code to start it off would be great.

Thanks

SR
I placed an attachment showing the ecn where IPicture is available. You'll see that using your current version you will need to use the Win32 API directly and the Developer notes that that process would be dificult.

[Migrated content. Thread originally posted on 07 November 2007]

Has anyone got some code that calls IPicture API funtion in ACU?

I am aware that a VB equivalent of LoadPicture is available from v7 onwards but we are stuck with 6.2.1 (EDIT: sorry my mistake its 6.1.0) for the time being.

I need to load images in an image object for my ActiveX control to use. I am lead to believe IPicture would do the same but I have not got a clue where to start.

Any help would be appreciated. Some code to start it off would be great.

Thanks

SR
I placed an attachment showing the ecn where IPicture is available. You'll see that using your current version you will need to use the Win32 API directly and the Developer notes that that process would be dificult.

[Migrated content. Thread originally posted on 07 November 2007]

Has anyone got some code that calls IPicture API funtion in ACU?

I am aware that a VB equivalent of LoadPicture is available from v7 onwards but we are stuck with 6.2.1 (EDIT: sorry my mistake its 6.1.0) for the time being.

I need to load images in an image object for my ActiveX control to use. I am lead to believe IPicture would do the same but I have not got a clue where to start.

Any help would be appreciated. Some code to start it off would be great.

Thanks

SR
I placed an attachment showing the ecn where IPicture is available. You'll see that using your current version you will need to use the Win32 API directly and the Developer notes that that process would be dificult.