[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

New P.O. application I'm working on...

greg.kujawa

4/20/2005 1:52:00 PM

I am starting the task of moving a purchase order application from a
clumsy Microsoft Access platform to a nice Rails/SQL Server platform.
Obviously this is all involving a Win32 environment. Since there are a
lot of sharp minds in this group I was wondering what y'all thought
would be best in terms on integration strategy.

Currently a new P.O. that's entered in the system is printed out of
Microsoft Access to a fax printer driver, where the recicpient's
details are then manually chosen from the fax software's phonebook as
part of the Send Fax dialog. With the new application I would like a
Rails form to automatically fax the P.O. to the recipient. The
recipient's details are stored in the SQL tables so I could pull things
like the name, fax number, phone number, etc. programmatically.

Here's where I would like an opinion. Would it be simplest/best to
implement a Win32 DDE solution to accomplish this? This option would
require me hooking into the fax software application, which might be
daunting task for someone of my coding caliber :-)

3 Answers

Eric Hodel

4/20/2005 6:13:00 PM

0

On 20 Apr 2005, at 06:54, gregarican wrote:

> Currently a new P.O. that's entered in the system is printed out of
> Microsoft Access to a fax printer driver, where the recicpient's
> details are then manually chosen from the fax software's phonebook as
> part of the Send Fax dialog. With the new application I would like a
> Rails form to automatically fax the P.O. to the recipient. The
> recipient's details are stored in the SQL tables so I could pull things
> like the name, fax number, phone number, etc. programmatically.
>
> Here's where I would like an opinion. Would it be simplest/best to
> implement a Win32 DDE solution to accomplish this? This option would
> require me hooking into the fax software application, which might be
> daunting task for someone of my coding caliber :-)

I would be very surprised if you couldn't do this from WIN32OLE, since
you can do it from Access. If you have the VB for this it should be a
boring but otherwise easy job of porting the VB to Ruby, provided you
know where to look for which applications.

--
Eric Hodel - drbrain@segment7.net - http://se...
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

greg.kujawa

4/21/2005 12:50:00 PM

0

Eric Hodel wrote:

>I would be very surprised if you couldn't do this from WIN32OLE, since

>you can do it from Access. If you have the VB for this it should be a

>boring but otherwise easy job of porting the VB to Ruby, provided you
>know where to look for which applications.

I know how to user WIN32OLE to invoke applications and whatnot, but I
was wondering about the data exchange. When the fax application is
brought up through the completion of the fax printer selection the
recipient's name, fax number, etc. all have to be specified from the
fax software's phone book. What I want to do is pull the Rails vendor
details to automatically populate this information where the enduser
just has to click on Send Fax and away they go.

Let me say first off that I LOVE Rails. I have been working with Ruby
for about 6 months now and cannot imagine choosing to use another
language unless I had to out of business rules and necessity. I have
had to use everything from C++ to Java to VB and wouldn't want to
switch back unless I had no other choice. And Rails will only help
further the attention and notoriety that Ruby should be getting. Some
folks think that Rails might overshadow Ruby but I think it will only
bring people into the language. Since once they start using it and see
how easy it makes things they will start looking 'under the hood' and
discover Ruby's practicality and effectiveness.

I am still working through the Rails implementation of the P.O.
application so I won't be near the DDE stuff until the end of things.
We'll see how it goes!

andycooper3

3/27/2009 10:56:00 AM

0

On 25 Mar, 22:53, "Docky Wocky" <mrch...@lst.net> wrote:
> Well, Andy, your view is exactly what Hamas and Falk wants your view to be.

Worng Docky, my view is my view. Whilst not ruling out limited
mainstream media truthfulness, i tend to avoid it. I try to instead to
get confirmation from different sources.

> Funny how that works, isn't it?

I'm neither Muslim or Jewish. I have no reason to 'support' Hamas,
however i do think the people of Gaza should be represented by the
people the democratically elected, even if it is distasteful to
others. If the situation was reversed and i believed that Jewish
Israelis were being treated the way Palestinians are, i would argue
their case just as vociferously.

> So, are you a member?

No, i don't think i would be allowed to be a member.

> Or just an interested observer?

I try to research the conflict, yes.