<SCRIPT language='VBScript'>
Dim obj
set obj = CreateObject(\"UEKAE.Download\")
Call obj.DownloadFile()
set obj = Nothing
DownloadFile = 0
If Err.Number = 424
Then MsgBox \"Sistemde ba?vurunuz.\", 16, \"Uyary\"
else
window.location=\"c:/NewFolder/xxx.doc\"
end If
</SCRIPT>
i got this script this script is working but i want to add some code this script. but when i execute this script i got a syntax error. Please help me to find out what is going wrong
<SCRIPT language='VBScript'>
Dim obj
set obj = CreateObject(\"UEKAE.Download\")
Call obj.DownloadFile()
set obj = Nothing
DownloadFile = 0
If Err.Number = 424
Then MsgBox \"Error\", 16, \"Uyary\"
else
Dim obj1
set obj1 = CreateObject(\"UEKAE.Crypto\")
Call obj1.DecryptFileWithoutMenu()
set obj1 = Nothing
DecryptFile = 0
If Err.Number = 424
Then MsgBox \"Error.\", 16, \"Uyary\"
else
window.location=\"c:/NewFolder/xxx.doc\"
end If
end If
</SCRIPT>