Displaying 20 results from an estimated 10000 matches similar to: "newbie :: Create document from database"
2007 Apr 11
2
can we use MS Word Template using Ruby
Hi all,
I am creating MS word document using ruby. can I use a "template"
document in Microsoft word with place holders for dynamic data from
database using ruby.
Like, I''ve a template, I want to fill it by data from database, using
ruby.
Please help me out.
Thanks,
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received
2007 Apr 10
5
newbie :: Convert integer to string in Ruby
Hi all,
Please anybody tell me how to Convert integer to string in Ruby and
concat it.
Suppose I''ve a string "ABC" , I want to concat it with a number say
"ABC12" .
Please help me out.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2007 Apr 10
7
Newbie :: Help !!! (database record compare)
Hi all,
I''ve a two simple table,
resource
=======
resource.id
resource.name
resource.contact
and
project
======
project.id
project.name
project.resource_id (id from resource table)
I want to display list of project that only belong to particular
resource.
my proj.rhtml is like
=====================
.
..
...
<h1>Projects</h1>
<table border="1">
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
2010 Aug 20
0
Wanted :BioInformatics Scientist - Heavy "R" focus
BioInformatics Scientist
Job Code: 10-TR25
Location: Cambridge, MA
Description
We are seeking a highly motivated, independent bioinformatics scientist
to join a group of scientists, analysts and programmers to develop tools
and methodologies for large-scale gene expression data analysis. The
group supports a variety of research projects in target and drug
discovery as well as biomarker
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
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
2009 Jun 15
2
Newbie, Question on making a PSTN call..
Hello Asterisk-users,
I am new to Asterisk. I got SIP Calls to work between two computers using a
soft phone and asterisk in the middle. Since then, I have been trying to get
my soft phone to make a PSTN call with terrible failure for about two days
now.
On Windows using asteriskwin32:
I have a soft modem (Agere HDA Modem) in my laptop. Windows' default dialer
is able to make a PSTN call by
2004 Sep 23
12
Asterisk 1.0 released
Hi,
Reporting from Astricon, Mark uploaded the 1.0 release while giving
his speech a few mintues ago..
Bring out the champagne :)
Lethol
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
2012 Nov 19
2
Performing gage R&R study in R w/more than 2 factors
Hi everyone,
I'm fairly new to R, and I don't have a background in statistics, so
please bear with me. ;-)
I'm dealing with 2^k factorial designs, and I was just wondering if
there's any way to analyze more than two factors of a gage R&R study in
R. For example, Minitab has an "expanded gage R&R" function that lets
you include up to eight additional factors
2007 Sep 10
12
mongrel_rails service on windows incompatible with recent ruby builds?
i was suffering from a massive memory leak in my application. after
searching and testing for quite a while i finally found that it wasn''t
my app that had a leak but the win32ole support that was used by the
ADO driver in sqlserver adapter.
the solution to fix the leak was to install ruby 1.8.5p52 or 1.8.6p36
but sadly as soon i install one of the fixed releases mongrel won''t
2005 May 19
1
Newbie X100P question
Hello,
I just bought a X100P from digitnetworks.
It is supposed to be a FXO card, but there are 2 rj-11 plug on the card.
One is labelled "phone" and the other "pstn". When i plug the "pstn" on
the wall and the "phone" on my analog phone, everything (incoming and
outgoing calls) works like before (without asterisk).
AFAIU, i should have an FXS card in my
2009 May 06
4
[ win32utils-Feature Requests-25792 ] Create a pure Ruby win32-ole library
Feature Requests item #25792, was opened at 2009-05-05 17:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=25792&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Create a pure Ruby win32-ole library
Initial Comment:
The current Win32OLE
2007 Nov 21
1
win32ole event handling
I''m evaluating FXRuby for my application. So far everything is going pretty
well. The news on the book is good, but I wish it were available today!
First off, I''m not much of a Windows programmer (that''s what makes FXRuby so
valuable to me). I''m using win32ole to interface to a custom ocx. Calling
methods of the ocx works fine. Now I need to receive event
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
-
2013 Sep 17
2
XP: encouraging, but not good, results.
On Sun, Sep 15, 2013 at 11:14:05PM +0300, Ady wrote:
>
> > On Sun, Sep 15, 2013 at 04:31:09PM +0300, Ady wrote:
> > >
> > > > Platform: MS XP
> > > >
> > > > 1. cfg file:
> > > > prompt 1
> > > > timeout 150
> > > > display /downloadedPrograms/syslinux/syslinux.cfg
> > > >
> > >
2004 Nov 18
2
(Analog Intercom) PagePal by ATT -- was hooked to a Merlin
I'm replacing a Merlin for a client and they have a PagePal Intercom
that I would like to reuse.
Here is what I know about it:
It has a screw-down wires that goto rj-11 (This was told to me over the
phone) that went into one of the Merlin ports.
I tried bring it up with fxo_ks and fxo_ls (assuming it was analog and
autoanswered) but no luck.
I would be happy to replace if anyone knows of
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 =>
2005 Jan 26
4
IAXy Hung, Power-cycle Required
I've got a single IAXy installed in a little office nearby and got a call
from someone on site a finew mintues ago. Apparently they couldn't make a
call on that extension. They'd pick up the phone and get nothing; no
dial-tone.
Running "iax2 show peers" showed the unit still registered and I could
ping it too. Didn't try to call it while it was doing this; sorry. The