Can anyone tell me the method to open a microsft word document using
flex or Action script.
Thanking you in advance
Waiting for reply.
If you are looking at ways of opening MS Office documents like word,
excel etc in Flex, then you can use Microsoft Office Web
Components" (OWC). But using OWC requires the client to have MS Office
installed on his machine. A similar question of opening an excel sheet
was discussed earlier in this group and a possible alternate for using
OWC is also discussed. You can check the below thread for more
detailed information.
http://groups.google.com/group/flex_india/browse_thread/thread/e615010d8260e149/e87bb5bff53ddd50?lnk=gst&q=owc&rnum=1#e87bb5bff53ddd50
Hope it helps you....
regards,
-Anish Kumar
On Jul 20, 9:59 am, karan <karan.pra...@gmail.com> wrote:
> Oviyan,
> I think he wants to open a word document from the browser. MDM Zinc is
> for creating desktop applications.
>
> On 7/20/07, oviya selvan <srioviy...@gmail.com> wrote:
>
>
>
>
>
> > Hi,
>
> > To interact with OS file system you can use MDM Zinc.
>
> > For example to open notepad using zinc,you can use following command
>
> > mdm.System.exec ("Notepad.exe");
>
var u:URLRequest = new URLRequest("http://localhost/flex/
microsoft.doc");
navigateToURL(u,"_blank");
Hope this helps
Vijay Khambalkar
vijayk.wordpress.com
On Jul 20, 10:40 am, "oviya selvan" <srioviy...@gmail.com> wrote:
> Hi,
>
> Ohh..Thanks karan.
>
> If he wants to open the word document from browser, he can use
> javascript to create the Microsoft word object then can pass the file name
> using External interface and open the file. The syntax is here
>
> var oApplication=new ActiveXObject("Word.Application");
> oApplication.Documents.Open("myfilename");
>
> On 7/20/07, karan <karan.pra...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Oviyan,
> > I think he wants to open a word document from the browser. MDM Zinc is
> > for creating desktop applications.
>
> > On 7/20/07, oviya selvan < srioviy...@gmail.com> wrote:
>
> > > Hi,
>
> > > To interact with OS file system you can use MDM Zinc.
>
> > > For example to open notepad using zinc,you can use following command
>
> > > mdm.System.exec ("Notepad.exe");
>
> > > On 7/19/07, blpancholi < blpanch...@gmail.com> wrote:
>
> > > > DEar all,
>
> > > > Can anyone tell me the method to open a microsft word document using
> > > > flex or Action script.
>
> > > > Thanking you in advance
>
> > > > Waiting for reply.
>
> > > --
> > > Regards,
> > > Oviyan
>
> > > Blog : http://www.oviyas.blogspot.com/
> > > contact : +919841141729
>
> > --
> > regards
> > karan
> > mindrulers.blogspot.com
>
> --
> Regards,
> Oviyan
>
> Blog : http://www.oviyas.blogspot.com/
> contact : +919841141729- Hide quoted text -
>
> - Show quoted text -
> > Waiting for reply.- Hide quoted text -
I think this question is more related to JavaServlet/Hybernate than
Flex.
I assume your current work flow is that you make a request to
Javaservlet from Flex and then Javaservlet fetches the word doc frm
MYSQL and stores in an temp directory which is later fed to Flex. If
this is the case, then I think you can bypass the temp directory by
making a HTTPRequest to the Javaservlet and make the JavaServlet
return the word document from MYSQL in a POST/GET variable to Flex.
Then may be Flex can process the word document which you would have
stored in a String var in Flex. (This holds good provided the blob you
are fetching from mysql is an exact copy of the word document)
hope this helps.
regards,
-Anish Kumar
hoping for more mutual relationship in future.
with kind regards,
> > > - Show quoted text -- Hide quoted text -
I got a doubt here. May be you are getting bytes from MYSQL, but at
the end when you feeding those bytes to a temp file, you must be
capturing it in some variable which is constantly updated with new
bytes that comes from MYSQL may be thru a "for/while" loop. And
finally when you are about to write to the temp file, i think you must
be having the entire word doc in a variable inside a JavaServlet file.
If thats the case I am not sure what is the problem you are facing in
dealing with that variable to be fed directly to flex instead of it
going to a temp file and then back to Flex.
May be its time now that you should explain in more detail how you
capture data from mysql and feeding to your temp file. (i mean i want
to know the logic only..not the code...i dont understand Java :-( )
regards,
-Anish Kumar
On Jul 24, 10:39 am, "oviya selvan" <srioviy...@gmail.com> wrote:
> Hi,
>
> You can use varchar as a data type then you can go with anish idea..
>
var u:URLRequest = new URLRequest("http://localhost/application/
servlet:?id="+id);
navigateToURL(u,"_blank");
but thanx for responding my mail,
BL Pancholi
> > contact : +919841141729- Hide quoted text -
anyways if that solves your problem...cheers :-)
-Anish Kumar