サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
デスク環境を整える
rubyonwindows.blogspot.com
On using the Ruby programming language on the Microsoft Windows platform In an earlier post, we looked at using Windows Management Instrumentation (WMI) to determine if a "USB Mass Storage Device" is inserted. Today we'll use WMI to get information about the Win32 processes being run. WMI is installed and already running on all recent versions of Windows, so we'll connect to it using the win32ole
In a previous article, I discussed a method for inserting images into an Excel worksheet. It seems that the Worksheet.Pictures.Insert() method that I demonstrated in that article, though frequently used, is not actually officially documented in the Excel Object Model Reference. An astute reader has called my attention to this fact and, in reply, I hereby present the officially documented---and pro
Microsoft Word uses the Styles model to apply a set of pre-defined formatting to text. Styles can also serve a second purpose, to tag sections of the document as normal, title, headings and such. You can then, for example, create a Table of Contents in Word based on the text that is formatted with the Heading styles. Naturally, you can do all this with code (otherwise, I wouldn't be wasting your t
I recently mentioned the fact that RubyScript2Exe 0.5.3 doesn't play well with recent versions of RubyGems. At the end of that post I mentioned that there are alternatives emerging for creating executables from your Ruby code, including Lars Christensen's OCRA, the One-Click Ruby Application Builder. I've had a chance to take OCRA for a short test drive and it looks promising. Like Erik Veenstra's
On using the Ruby programming language on the Microsoft Windows platform I've written before about using Ruby with Microsoft's ADO technology to query Excel workbooks as databases. This works well---most of the time. But you may occasionally bump into data type issues, where you find that Excel/ADO treat a specific column as a different data type than you expected. For this reason, I recommend usi
On using the Ruby programming language on the Microsoft Windows platform Many readers have asked "What is the best GUI toolkit?". There is no single answer to this question, and I won't try to lobby for my GUI of choice. Use whatever works best for you and your users. I use the wxRuby library. It's cross-platform, provides a native look-and-feel, and is easy to install (via a gem) and distribute w
On using the Ruby programming language on the Microsoft Windows platform We've spent a lot of time on this blog looking at how to get work done with Ruby and Microsoft Office (Excel, Word, Access, Outlook). Let's take a break and go play... with iTunes. Apple's popular iTunes application for Windows includes a COM interface. This allows you to automate and manage iTunes with Ruby. You can launch t
On using the Ruby programming language on the Microsoft Windows platform Have you ever thought about including sounds in your Ruby application? Used sparingly, sound may enhance your applications by adding audio cues or a custom touch. You could, for example, play a beep or chime that announces the completion of a lengthy process. Perhaps a humorous sound to accompany an error message . The win32-
このページを最初にブックマークしてみませんか?
『Ruby on Windows』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く