cancel
Showing results for 
Search instead for 
Did you mean: 

MSComctlLib.TreeView from Sample UI 16.ActiveX

Former Member
0 Kudos

Hi to evrybody,

i tried to customize the treeview either in vb.net and c# , (visual studio 2008 , XP sp 3 )

my big trouble is to set the icon to tree view....

somebody can help me ?!

This is the last version of my code....

I can't' add image to imageList1 object....


object oImage; 
oImage = Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPictureDisp(System.Drawing.Image.FromFile("C:\\openfold.ico"));

      imageList1.ListImages.Add(ref Key, ref Key, ref oImage);

Somebody can Help me?

best regards

Alessandro

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I use tha active-x in sap b1 form,

it's works fine but my trouble is with the object

the versione of the Active-x used in the Sample is old and i can't' find any help in

internet...

the new versione of treeView (that i can find at the link) dosen't work into B1,insn't true ?

A big hello

Alessandro

Former Member
0 Kudos

Hey Allesandro,

If your create a windows form, you can see this image?

I think this is an .net issue and NOT an SDK. I think you have more succes on a .net forum or msdn.

[http://msdn.microsoft.com/en-us/library/system.windows.controls.treeview_properties.aspx]

If it works in a windows form it should work (if it's activeX) in SBO.

I always tried avoid use activeX in SBO, is my experience...

HTH

Regards Teun