Displaying 20 results from an estimated 2000 matches similar to: "win32ole event handling"
2007 Apr 11
5
WIN32OLE MS Word Help
Hi all,
I am trying to create word document in ruby using WIN32OLE.
as..
require ''win32ole''
word = WIN32OLE.new("Word.Application")
word.visible = true
word.documents.add
selection = word.selection
word.Selection.TypeText "This is some text."
...
..
.
Can we set header and footer to document? I want to generate a
document such that its header contains an
2005 Jul 15
1
Win32OLE ?
Dan/Park,
What are your thoughts about implemented portion of the win32utils
family that are written in ruby utilizing WIN32OLE.
I have found myself writing decent amount of ruby code accessing the
Windows Scripting Host (WSH) object models. I have a few scripts which
could be added. I do not believe the functionality is currently
available with win32utils:
- map network drives
-
2005 Sep 12
0
WIN32OLE file context during unit test
Hello all,
I''m having trouble with the WIN32 file opening. I don''t'' know how to
tell if this is a WIN32OLE issue or an issue with the application (Adobe
Illustrator CS2)
Review the included files below, which exist within a rails application.
When IllustratorMinimalTest is run, #testFullPath succeeds,
#testFileName fails.
Thanks in advance for any advice on how to
2008 May 28
0
WIN32OLE rewrite?
Hi everyone,
So, who wants to rewrite the WIN32OLE library? I think I''ve got most
everything you''ll need in the windows-pr library, such as
Windows::COM::Automation, Windows::Error, etc. I can add anything that''s
missing.
Advantages include:
* No compiler required
* Easier to debug
* A potentially better and more flexible interface
* The current WIN32OLE library is
2006 May 06
3
[BUMP] conditional require? conditional action code?
Greetings all.
I have some controller code that uses win32ole (only available on
windows). This code is now solid, and I''d now like to resume
development on (any) other OS(grin).
But alas, the controller bails because the OS specific library can''t
be found.
Can I conditionally specify action code compilation (and a require
''win32ole'') based on OS or
2006 May 04
1
conditional require? conditional action code?
Greetings all.
I have some controller code that uses win32ole (only available on
windows). This code is now solid, and I''d now like to resume
development on (any) other OS(grin).
But alas, the controller bails because the OS specific library can''t
be found.
Can I conditionally specify action code compilation (and a require
''win32ole'') based on OS or
2009 Jun 06
2
FXRuby Installation failing
Hi
Which is the most stable version of FXRuby that can be used with ruby
1.8.7 (2008-05-31 patchlevel 0)?
I am having lots of trouble installing fxruby using gem.
root at at91sam9263ek:~$ gem install fxruby-1.6.19.gem
Building native extensions. This could take a while...
ERROR: Error installing fxruby-1.6.19.gem:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby
2009 Jan 13
1
ROR - Excel Export Example
If you are running on Windows you can use create and read speadsheets
using the ''win32ole'' require
This sample should give you the basic idea
------
def export
require ''win32ole''
@sort_by = ''last_name''
current_user = ''steve''
@records = Contact.find(
:all,
:conditions =>
2008 Aug 18
3
FXRuby FXScintilla question
Hello,
I have started learning FXRuby about 2 weeks ago. Now I''m trying to
launch the scintilla_test.rb from the fxruby-1.6 installation directory
(/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/examples) and get this
error: /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `old_initialize'': wrong number of arguments (8 for 0) (ArgumentError)
from
2008 Jul 12
4
problem
Hi -- I just got your book FXRuby and am trying to get it working on Leopard
-- I had no problems getting it to work on Vista or Ubuntu but when I tried
to follow the post on your blog for Leopard I got the following error -- I
don''t know enough about Leopard or Ruby for that matter to troubleshoot this
myself so I was hoping someone may have run into this before and can offer a
solution.
2010 Aug 04
16
Moving On
Cross-posted to the blog (at
http://lylejohnson.name/blog/2010/08/04/moving-on/):
When Jamis Buck wrote last year about ceasing development on
Capistrano, his post really struck a chord with me. If this post
reminds you of that one, it''s because I re-read it before sitting down
to compose this one. It was the next best thing to having Jamis on
hand to give me a pep talk before I had to
2005 Sep 03
3
Re: FXRuby issues
On Sep 3, 2005, at 3:58 AM, Gonzalo Garramuno wrote:
> Sorry to bother you personally, but after working with FXRuby for the
> first time on a relatively medium-sized project, I collected a list of
> things that seem to be broken in fxruby (or fox), and I thought it
> would be good for you guys to be aware of.
> Some of these things I consider them somewhat serious in term of
2008 Nov 01
2
query FXRuby by ri
Hi Don,
Thanks for the tips.
But it works on an old XP computer but NOT on the new Vista.
I also notice that I can browse the classes from Fxruby when I use fxri or ri on the old computer. I see nothing about FxRuby''s stuff when I use fxri or ri on the new Vista. But I can use gem server to see the Rdoc about FxRuby''s classes on both computers. It looks Ruby doesn''t
2006 Jun 04
1
foxGUIb v0.7 (for FXRuby 1.6)
dear (FX)Ruby hackers,
lyle has released FXRuby 1.6.0 some days ago. so it was a good
opportunity for me to fix some more bugs and release annother version
of foxGUIb which is tested against FXRuby 1.6.0.
the most interesting feature Fox1.6 brings to you is unicode support.
(see foxGUIb/test/unicode_test_japanese.rbin)
thanks for all the feedback and the bug reports.
enjoy ;)
-- henon
2007 Apr 16
4
newbie :: Running script at client side
Hi all,
I am newbie to Ruby and web programming as well.
My show.rhtml is like,
.
..
...
<% require ''win32ole'' %>
<% ie = WIN32OLE.new(''InternetExplorer.Application'') %>
<% ie.visible = true %>
<% ie.gohome %>
...
..
.
At server, when I access http://.../show it''ll open Iexplorer.exe as
expected,
but when I access same from
2008 May 23
4
problem with non-focused fxruby gui freezing or blanking out.
I find that when a running fxruby program looses focus or another window is
placed in front of it, when the fxruby window regains focus, many times the
gui is now frozen or blank.
This seems to happen especially frequently when the window covering it is a
java or fox based application.
Usually it comes back but sometimes it takes several minutes to do so.
I would really like to find someway
2009 Oct 20
8
Pre-release FXRuby binary gems for testing
All,
A couple of new build platforms have come into the picture since the
last FXRuby release and I''m trying to make sure they''re supported.
That is to say, I want to be able to provide precompiled binary gems
so that users on those platforms don''t have to build everything from
source. I think I''m there, but I could use your help testing if you
have
2009 Mar 11
5
FXRuby-1.6.19 don''t run in ruby1.9.1 on windows.
I built fxruby-1.6.19 in win32 using msys + mingw tools.
The process of doing it is ok and generate a file fox16.so in the directory
ext\fox16.
But when i require ''fox16'', it fails to work. it reports that "LoadError:
127. The specified procedure could not be found . - Init_fox16
C:/ruby_1.9.1/usr/local/lib/ruby/site_ruby/1.9.1/i386-msvcrt/fox16.so ".
how can i
2008 Apr 13
3
fxruby gem install problem
Lyle,
Following up on your suggestion...
"You might want to follow-up on the fxruby-users mailing list at some
point; sometimes FXRuby questions can get lost in the shuffle here due
to the high volume of messages on ruby-talk!''
I''ve installed libfox-1.6-dev, and after that attempted install of
fxruby, with this result:
$ sudo gem install fxruby
[sudo] password for
2012 Mar 08
5
FXRuby 1.6.23 released
Hi fxruby hackers,
new version 1.6.23 is out with the following changes. Unfortunately
the fxruby.org homepage is down and I don''t have access to it.
Therefore I''ve moved the documentation to
http://rubydoc.info/github/larskanis/fxruby/1.6/frames and converted
to yard.
Have fun!
=== 1.6.23 / 2012-03-08
* Add YARD documentation support
* Use generated Manifest.txt
* Support