TOPIC: Interesting trick: embedding Ms WORD in Suneido
#1092
Interesting trick: embedding Ms WORD in Suneido 2 Years, 6 Months ago
Hi everybody, i've found a very interesting article (www.west-wind.com/weblog/posts/1299.aspx) about embedding MsWord in other apps.
In short the trick consist in embedding the Browser wich in turn will embed Ms Word.

It can be used in suneido, as follow
Code:


/* Welcome to Suneido */
Window(Controller
    {
    Title: 'Test embedding Ms Word in Suneido'
    Xmin: 200
    Ymin: 300
    Commands:
        ((Exit, "Ctrl+X"'))
    Controls:
        (Vert
(VertSplit
(Browse 'tables')
(Browser 'c:miword.doc')        
)
            (Skip)
            (Horz
                Fill
                (Static "Hello World I'm a Suneido Static Control", font: 'Ms Sans Serif', size: 14, weight: 700, justify: 'CENTER')
                Fill
            )
        )
        
    })




The line opens a Word Document "inside" the Browser

(Browser 'c:miword.doc')

The Result of executing the previous snippet in the Workspace is


Post edited by: sanotto, at: 2008/01/30 18:22

Post edited by: sanotto, at: 2008/01/30 18:24
 
 
#1119
Re:Interesting trick: embedding Ms WORD in Suneid 2 Years, 6 Months ago
Very cool! Thanks!
 
 
andrew