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
-~----------~----~----~----~------~----~------~--~---