José M. Guisado
2/21/2006 9:56:00 AM
It works, thanks a lot ;-)
"David Pokluda" <dpokluda@discussions.microsoft.com> escribió en el mensaje
news:ei1GDOyMGHA.2276@TK2MSFTNGP15.phx.gbl...
> This is the method I am using for this:
>
> public static Image getImageFromResource(str _name)
> {
> ResourceNode resourceNode = SysResource::getResourceNode(_name);
> container nodeData;
> ;
> if (resourceNode == null)
> return null;
>
> resourceNode.AOTload();
> nodeData = SysResource::getResourceNodeData(resourceNode);
>
> return new Image(nodeData);
> }
>
> Regards,
> David.
>
> "JMG" <jmglozano@terra.es> wrote in message
> news:OG5W8txMGHA.3460@TK2MSFTNGP15.phx.gbl...
>> Hi all,
>>
>> Does anybody know how can I obtain a "Bitmap" container from an image
>> stored as a resource?
>>
>> Any help would be really appreciated, thanks in advance!!
>>
>> Jose
>>
>
>