I am looking at the possibility of using Vruby/Swin instead
of VisualBasic to develop a small (commercial) application on
Windows. This application has
to:
Have native (Windows) look and feel
I think Vruby/Swin will give you that from what I’ve read. I haven’t
actually tried it. I’m a bit concerned that the author says his
development environment is Windows 98, but perhaps it’s a non-issue.
Interface with MS Access (possibly with MS SQL Server2K in
future)
I thought you could use ODBC to interface with MS Access, but I’m not
positive. Otherwise, it ought to be possible via OLE (right?). There’s
no specific DBD for either Access or SQL Server that I know of.
Print reports in landscape and portrait mode
Eek - now you’re talking hardware interfaces - way out of my realm.
Run only on one machine (no networking etc)
Simple enough - don’t create any sockets or pipes that would allow
networking.
With Steve Tuckner, Dan Berger, Park Heesob and many other
Win / Ruby experts on my side, I feel like taking the risk
What do Rubyists have to say ? Any gotchas I need to be aware of ?
I think Vruby/Swin will give you that from what I’ve read. I haven’t
actually tried it. I’m a bit concerned that the author says his
development environment is Windows 98, but perhaps it’s a non-issue.
Yes, Vruby/swin gives that , and Win 98 is a non-issue (yet).
Interface with MS Access (possibly with MS SQL Server2K in
future)
I thought you could use ODBC to interface with MS Access, but I’m not
positive. Otherwise, it ought to be possible via OLE (right?). There’s
no specific DBD for either Access or SQL Server that I know of.
Yes, I will use ODBC (or OLEDB, whichever turns out to be easier ;-)).
ODBC Performance is not a big issue yet since the database is very small.
Print reports in landscape and portrait mode
Eek - now you’re talking hardware interfaces - way out of my realm.
Interface with MS Access (possibly with MS SQL Server2K in
future)
I used ODBC with free download of Microsoft Data Access Components
(mdac_typ.exe) and I was able to create/update/select Access tables,
even though I don’t have Access installed.
PrtDevMode property - [Orientation] member (amongst others)
An Integer that specifies the orientation of the paper.
It can be either 1 (portrait) or 2 (landscape).