[IronPython] Hosting a python engine inside a windows form from IronPython code.

2007-10-10 Thread Tim Riley
I am looking for some direction for running a GUI based IronPython
console from IronPython code. I have found a sample of hosting
IronPython in IronPython that Mr. Foord had created but it doesn't
help me out with figuring out how to tie it to a RichTextBox. Has
anyone done this and if so do they have any pointers they are willing
to share?

Thanks,
Tim
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Hosting a python engine inside a windows form from IronPython code.

2007-10-10 Thread JoeSox
On 10/10/07, Tim Riley [EMAIL PROTECTED] wrote:
 I am looking for some direction for running a GUI based IronPython
 console from IronPython code. I have found a sample of hosting
 IronPython in IronPython that Mr. Foord had created but it doesn't
 help me out with figuring out how to tie it to a RichTextBox. Has
 anyone done this and if so do they have any pointers they are willing
 to share?


Also, I may have miss understood your question so if you are looking
at just running the IronPythonEngine in a app, feel free to download
my Visual Studio project for pswrdgeniron
The main article is here:
http://www.codeproject.com/useritems/pswrdgeniron.asp
is may be a good example you are looking for and this was developed with IP2


A direct download for the source (without a site membership) can be found here:
http://joeswammi.com/downloads/pswrdgeniron.zip

pswrdgen and pswrdgeniron main website is
http://pswrdgen.googlecode.com
-- 
Later, JoeSox
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Hosting a python engine inside a windows form from IronPython code.

2007-10-10 Thread Tim Riley
Thanks Joe. IronTextBox looks like what I'm looking for. However I
can't use it as your source code indicates the code is released under
the GPL which I don't think I can use from my MIT licensed project.
After reading Michael's tutorial on embedding IronPython in IronPython
I think I have a pretty good handle on what I need to do from my code.

Thanks again.
Tim

On 10/10/07, JoeSox [EMAIL PROTECTED] wrote:
 On 10/10/07, Tim Riley [EMAIL PROTECTED] wrote:
  I am looking for some direction for running a GUI based IronPython
  console from IronPython code. I have found a sample of hosting
  IronPython in IronPython that Mr. Foord had created but it doesn't
  help me out with figuring out how to tie it to a RichTextBox. Has
  anyone done this and if so do they have any pointers they are willing
  to share?

 I am the author of IronTextBox
 http://www.codeproject.com/useritems/irontextbox.asp
 which is currently only for IP1

 I have started an IP2 version looking at many different ways to due it
 but I have concluded to wait until IP2 is at least beta.  Even then, I
 do wish IP2 was easier to integrate with textbox and richedit
 controls.  But I really haven't invested much time into IronTextBox 2
 so I still might be able to pull something off in the next few months.
 To be honest I really haven't been using IP2 until recently.  Ideally,
 I would like as close as the Visual Studio IronPython Console as
 possible (color coding autocomplete etc.) but I was unable to find a
 hook at the time I was looking.  But then the IronTextBox user would
 have to have Visual Studio installed and that really isn't ideal.
 --
 Later, JoeSox
 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com