Forum: Ruby viewIcons.rb example

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dedb38b3571b323b77bc9b221e940172?d=identicon&s=25 ruby talk (Guest)
on 2006-01-12 15:47
(Received via mailing list)
Hello,
i am programming tk and want to creat and icon on the taskbar. I think
this
is the library i am looking for but the examples do not work. I am
running
windows xp pro, and the newest version of the one click installer
1.8.2.15?
i get this error
c:/ruby/lib/ruby/1.8/tk/package.rb:86:in `require': TkPackage can't find
package icons (RuntimeError)
    from c:/ruby/lib/ruby/1.8/tkextlib/ICONS/icons.rb:15
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
    from c:/ruby/lib/ruby/1.8/tkextlib/ICONS.rb:13
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
    from viewIcons.rb:11


none of  the examples in c:\ruby\samples\tk\tkextlib work, but the
regular
tk examples work.

Any idea?
Becker
This topic is locked and can not be replied to.