Hi Dhileepen,

Hmm.. okay... probably some kind of security sandbox is restricting the
creation of the FileSystemObject. I'll let you know if I come across some
kind of workaround for this.

Regards,
Venkat
www.venkatv.com

On Thu, Oct 9, 2008 at 10:01 AM, dhileepen chakravarthy <[EMAIL PROTECTED]
> wrote:

> Thank you Venkat.
>
> I am also using the same technique but no use for activex part.
>
> My code is
> <script language="vbscript">
> Function readtxt(v)
>       dim fso,ostream,stxt
>       MsgBox("before activex")
>       set fso1=CreateObject("Scripting.FileSystemObject")
>       MsgBox("after activex")
>       if fso1.FileExists("c:\dhileep\myfile.doc") then
>           set ostream = fso1.Opentextfile("c:\dhileep\myfile.doc",1)
>           Do until ostream.AtEndofStream
>               stxt = stxt & ostream.Readline
>
>          Loop
>          MsgBox(stxt)
>      End if
> End Function
> </script>
>
> i can able to call  the function readtxt(v) from flex using external
> interface.
>
> I can get only before activex msgbox only.
>
> I think u got my my problem...
>
> Thanks in advance,
> Dhileepen
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to