Hi Chris,
I believe there is an example in the Tutorials section in Iron Python.
Jeff
"Chris Stoy"
<[EMAIL PROTECTED]
EMAIL PROTECTED] On Behalf Of Chris Stoy
Sent: Monday, December 18, 2006 4:26 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Accesses static ResourceManager from IronPython
Thanks for the response. I tried the first option (GetDynamicTypeFromType),
but that doe
#x27;__repr__']
> x = Resources()
Cannot create instances of
> x = Resources.Open
type object 'PublicResources' has no attribute 'Open'
I can, however, access the resources using ResourceManager:
> icon = RSWE.ResourceManager.GetObject("
if the user did:
import clr
clr.AddReference('your_assembly_name')
import ...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Stoy
Sent: Monday, December 18, 2006 3:29 PM
To: users@lists.ironpython.com
Subject: [IronPython] Accesses static ResourceManager from Ir
id:
import clr
clr.AddReference('your_assembly_name')
import ...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Stoy
Sent: Monday, December 18, 2006 3:29 PM
To: users@lists.ironpython.com
Subject: [IronPython] Accesses static ResourceManager from IronPython
H
Hello all,
I'm working on embedding IronPython into a larger C# application to
allow end-users the ability to write scripts. One thing I want to do is
provide a set of icon resources in the C# code and expose them to
IronPython so a user can access them. I created a new Resource.resx
file cal