![]() |
Welcome to the new Soft As It Gets Forums. You can get assistance here for our new product Surfulater, and for ED for Windows |
|
#1
|
||||
|
||||
|
Neville originally directed me to This Site as a possability of generating the SurfuLater TreeView and Articles. I did some work on it then got busy doing other stuff...
So I decided to clean up what I'd done so far and let people see. Edit: Didn't clean up enough (unfortunately) and a call to UserAccounts.CommonDialog crashed the script, as did security issues. So, I've re-done it as a HTA, which tests OK on my security overkilled work computer. This aint all that fancy and it doesn't do very much except load a read-only version of the SuL KnowledgeBase: but the TreeView works and the Articles display (somewhat like what they do in SurfuLater). Instructions:
Last edited by pmowbray : 18th September 2006 at 07:30 AM. Reason: HTMLview update: new version (1.2) |
|
#2
|
||||
|
||||
|
Hi Perry,
This sounds very interesting. I haven't had time to go near this stuff, as much as I've wanted to. I'm getting various errors: Line 17, Char 1 Error ActiveX Component can't create object: 'Scripting.FileSystemObject' Code: 0 The the page loads ok, but there is an error symbol at the left of the status bar. Clciking on that displays the above error. "Load File:" gives "Error on Page" on the status bar. Double click on status bar symbol shows: Line 254, Char 3 Error: ActiveX component can't create object" 'UserAccounts.CommonDialog' Code 0. Over to you. |
|
#3
|
||||
|
||||
|
Hi Neville:
Ah, the joys of Client Side Scripting!! Quote:
The other issue is with the UserAccounts.CommonDialog. Apparently it's only available when VS is installed (which creates a licence). The Scripting.FileSystemObject should not be an issue as it's usually installed with Windows. |
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
Quote:
And I've re-written it as an HTA which not only works on my XP machine but also on my W98 (which the other one didn't), but just to make sure I'll take it to work and see there (if it works there it should work anywhere!). - Perry |
|
#6
|
||||
|
||||
|
OK, the new HTA version works at my work, which I hope will mean it works most places.
Please let me know if that is not the case. - Perry |
|
#7
|
||||
|
||||
|
I'm getting further this time. I've tried about 5 KB's and each one gives an
error Line 331, Char 3 Permission Denied. FYI I'm using a different PC as I'm out of the office this week. |
|
#8
|
||||
|
||||
|
Quote:
I've added an error handler to that function: Let me know if that's not it. - Perry |
|
#9
|
||||
|
||||
|
Nope. Surfulater wasn't running at the time. I'll check the new version.
|
|
#10
|
||||
|
||||
|
Quote:
You're not running from within the archive? No odd permissions where a VBScript can't create a file??? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|