Forum Moderators: phranque
I have this script which works real fine but when i have my security settings on normal it stops working partially (doesn't post the info into my dbase). How can I avoid or change this so I can get my script working?
code:--------------------------------------------------------------------------------<SCRIPT LANGUAGE="VBScript">
Sub ReadFile()
'on error resume next
Dim oApp
Dim oDoc
Dim oMergedDoc
on error resume next
' Create an instance of Word.
Set oApp = CreateObject("Word.Application")
' Create our data file.
oApp.Visible = True
oApp.Documents.Open BestandsNaam.value
Set oDoc = oApp.ActiveDocument.Range(0,0)
oDoc.WholeStory
'oDoc.Text = "hallo"
TekstInput.value = oDoc.Text
oApp.ActiveDocument.close False
oApp.close false
Set oApp=Nothing
End Sub
</SCRIPT>--------------------------------------------------------------------------------
Any help?
Still searching for the right solution!