Re: [IronPython] Accesses static ResourceManager from IronPython

2006-12-19 Thread jcollett
Hi Chris, I believe there is an example in the Tutorials section in Iron Python. Jeff "Chris Stoy" <[EMAIL PROTECTED]

Re: [IronPython] Accesses static ResourceManager from IronPython

2006-12-18 Thread Dino Viehland
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

Re: [IronPython] Accesses static ResourceManager from IronPython

2006-12-18 Thread Chris Stoy
#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("

Re: [IronPython] Accesses static ResourceManager from IronPython

2006-12-18 Thread Dino Viehland
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

Re: [IronPython] Accesses static ResourceManager from IronPython

2006-12-18 Thread Dino Viehland
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

[IronPython] Accesses static ResourceManager from IronPython

2006-12-18 Thread Chris Stoy
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