r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Windows/COM Support]

Benjamin
20-Oct-2005
[50]
i've found a nasty bug on the rebol code, it avoided objects to be 
passed now looks much nicer and works... im working on some pritty 
examples WORD EXEL and more just the one's you can see on MSDN for 
VBS but workin in REBOL !!! wow comming soon ! you cant imagine all 
things you can do with this baby apart from crashing the system :-)
Graham
20-Oct-2005
[51]
Ahh ... can't wait to try this all out :)
Benjamin
20-Oct-2005
[52]
did the printing code worked graham ?
Graham
20-Oct-2005
[53]
I won't have a chance to try it out till tomorrow when I get a printer 
attached.
Benjamin
20-Oct-2005
[54x3]
examples are ready let me upload them
All in one zip: (MS word only untill now incude some bug fixes)
• Add a Formatted Table to a Word Document.
• Add a Picture to a Microsoft Word Document.
• Add Formatted Text to a Word Document.
• Append Text to a Word Document.
• Apply a Style to a Table in a Word Document.
• Create a New Word Document.
• Create and Save a Word Document.
• Open and Print a Word Document.
• Save a Microsoft Word Document as an HTML File.
Download from:
http://www.geocities.com/benjaminmaggi/data/COMLib_Word_exmp.zip
i've download abiword because my office don't have the engish dictionary 
:) i corrected some errors http://www.geocities.com/benjaminmaggi/doc/comlib.html

and the plain text version is here http://www.geocities.com/benjaminmaggi/doc/com4rebol.txt
Graham
20-Oct-2005
[57x2]
exaptionThrown -< exceptionThrown
retriveObject -> retrieveObject 

that is. if you wish to use the correct spelling.
Benjamin
20-Oct-2005
[59]
yes i've to change all that in the examples, it will take some time 
... :(  and it will generate some erros im shure
Graham
20-Oct-2005
[60]
better to get it all right now ...
Benjamin
20-Oct-2005
[61]
yes
Benjamin
21-Oct-2005
[62x2]
Today's roadmap: make an exel example, almost done, not using safearray 
:( 

WMI, i need to write a couple of function in the C source, also i 
need to make a "foreach" custom function in order to work with collections 
a bit hard i any one have some ideas....
I found some problems when i try to use windows WMI so i added a 
couple of functions and update the wrapper, exel examples are now 
working well the source is http://www.geocities.com/benjaminmaggi/data/COMLib_Exel_exmp.zip
Benjamin
22-Oct-2005
[64]
Tested some WMI found some leacks but the thing worked well, 2 new 
functions added enumerate (start a collection) and enumNextObject 
to retrieve net object in a collection (Many COM object uses collection 
so it whas a top ten upgrade) im uploading the new sources soon i 
need to upgrade the doc too !
Graham
22-Oct-2005
[65x2]
That's very impressive Benjamin.
You should announce this project on the mailing list as well .. I'm 
sure that there will be a lot of interest.  This channel isn't web-public.
Benjamin
22-Oct-2005
[67]
on rebol.org ?
Graham
22-Oct-2005
[68]
no, the mailing list.
Davide
22-Oct-2005
[69]
this is a G R E A T lib !!!! ^________^
Benjamin
23-Oct-2005
[70]
thanks, im now working on the documentation the other big half missing 
:)
Benjamin
29-Oct-2005
[71]
tutorial: using word tables: http://www.geocities.com/benjaminmaggi/doc/word_tables.htm

also im thinking about XPCOM i found it to be a more open technology 
approved by many companies and products, adding support for this 
technlogy would be great and the sources are out there for free.
Graham
29-Oct-2005
[72x3]
where's docs on xpcom?
Ahh.. so this would be cross platform?
So, xpcom can be used to control mozilla.
Benjamin
30-Oct-2005
[75]
yes in a sense,  pekr i think pointed out this article http://www-128.ibm.com/developerworks/webservices/library/co-xpcom.html
a good read !
Robert
30-Oct-2005
[76x2]
BTW: I'm currently the excel dialect Gregg and I made to COMLib. 
Works good so far.
currently = currently porting
Benjamin
30-Oct-2005
[78]
those are good news, btw im going to make a program for those who 
dont have rebol/pro, using a TCP port, just like i've see in other 
projects, if any one can point me to some sources it would be great.
Volker
30-Oct-2005
[79x2]
You could do the tcp it in /pro? encap what you have know, together 
with handling of tcp? Then free rebols can contact.
Job for rugby or beer.
Benjamin
30-Oct-2005
[81]
most rebol users have the plain rebol/view it would be nice to offer 
this lib to them too the best solution i found is to create a program 
to serve the comlib function via tcp
Volker
30-Oct-2005
[82]
if any one can point me to some sources it would be great.

 what sources? i thought you wanted to write the proxy in another 
 language.
Benjamin
30-Oct-2005
[83]
i have to do it that whay
Volker
30-Oct-2005
[84]
But thinking more, i guess you planned to offer an encapped rebol-proxy.
Benjamin
30-Oct-2005
[85]
i dont have the sdk :(
Volker
30-Oct-2005
[86]
Oh. a real plain /pro? But sure somebody else can encap? Just build 
a tcp-proxy and they encap it?
Benjamin
30-Oct-2005
[87]
i saw some examples using this technique R2Win  - version 1.5.1  
J. Colineau used for topwindows.r
Volker
30-Oct-2005
[88]
(dont have all that office-stuff for testing. Hmm, are there fre 
programms which i could use?
Benjamin
30-Oct-2005
[89]
i think Graham encap it
Volker
30-Oct-2005
[90]
R2Win Colineau
 gives some googles, but all links are death. cache too.
Benjamin
30-Oct-2005
[91x3]
yes links are dead :(
well im going to start by scrach
i whant to finish the doc first
DideC
31-Oct-2005
[94]
I can ask Jocko (Joseph Colineau) for its R2Win stuff, if you like 
?
Robert
31-Oct-2005
[95]
IMO if people really have a use for this COM stuff (which is by using 
dialects on top of it), I think it's OK for them to get a /Pro version. 
If it's of value than $99 isn't that much.
Maarten
31-Oct-2005
[96]
I have rhe SDK and Rugby: want me to build it for you?
Robert
31-Oct-2005
[97]
The available format specifies should be added to the docs.
Benjamin
31-Oct-2005
[98]
the sources are in the links, it would be great to have it encaped
Henrik
1-Nov-2005
[99]
how about a free encap service? :-)