So, how how do I get a better Exception-Handling for this Scripting-Plugin?
Reason:
here you find my rss-script a little modiefied:
http://rapidshare.de/files/2571309/RSS_Feed.zip.html
When pressing F3 I get this error:
Code: Select all
Erlaubnis verweigert
Error: 70
Source: Laufzeitfehler in Microsoft VBScript
Description: Erlaubnis verweigert
Text:
Line, Column: 20, 12
and some others Im getting:
Code: Select all
Ungültige(r) Dateiname oder -nummer
Error: 52
Source: Laufzeitfehler in Microsoft VBScript
Description: Ungültige(r) Dateiname oder -nummer
Text:
Line, Column: 20, 12
As you see the error is allways this line:
Code: Select all
Set textStream = fileSystem.CreateTextFile(LocalName, True)
Is there nothing like try...execept...end in delphi in vbscript?
After these error the only way to continue work with tc is saying no when tc ask if he should continue after the fail cuase the work in progress dialog doesnt get closed...
all in all nice try but still miles away from rss in tc
(try readeing threads with "?" in Title....)
And the Last prob:
strTest = Replace (strText, "<span style=""font-weight: bold"">", "")
strText = Replace (strText, "</span>", "")
strTest = Replace (strText, "<", "<")
strTest = Replace (strText, ">", ">")
arent executed?
@Sven: thx 4 your code...