J
Jo Becaus
Hi,
I have ASP site running, which has several include files.
This is include file, most used in the HTML files.
<%
Public objDict
Dim ObjFSO, objFolder
Const Folder = "C:\WWW\MRTG\Configuration\Devices\"
Set ObjDict = CreateObject("Scripting.Dictionary")
Set ObjFSO = CreateObject("Scripting.FileSystemObject")
Call ShowSubFolders (objFSO.GetFolder(Folder))
Function ShowSubFolders(Folder)
Count = 0
For Each Subfolder in Folder.SubFolders
MyFoldArray = Split(Subfolder.path,"\",-1,1)
Count = Count + 1
objDict.Add Count, MyFoldArray(5)
Next
Set objFSO = Nothing
'Set objDict = Nothing
Set FolderFile = Nothing
End Function
%>
Within the ASP file I use the objDict as reference for my needed values,
as the code above is used several times can it cause the DLLHOST.EXE to
stall?
TaskMgr shows 100% CPU usage, I know it is caching all VBscript
request/actions....
Can I prevent it or otherway to get my values past to my webpages
without using a database?
I have ASP site running, which has several include files.
This is include file, most used in the HTML files.
<%
Public objDict
Dim ObjFSO, objFolder
Const Folder = "C:\WWW\MRTG\Configuration\Devices\"
Set ObjDict = CreateObject("Scripting.Dictionary")
Set ObjFSO = CreateObject("Scripting.FileSystemObject")
Call ShowSubFolders (objFSO.GetFolder(Folder))
Function ShowSubFolders(Folder)
Count = 0
For Each Subfolder in Folder.SubFolders
MyFoldArray = Split(Subfolder.path,"\",-1,1)
Count = Count + 1
objDict.Add Count, MyFoldArray(5)
Next
Set objFSO = Nothing
'Set objDict = Nothing
Set FolderFile = Nothing
End Function
%>
Within the ASP file I use the objDict as reference for my needed values,
as the code above is used several times can it cause the DLLHOST.EXE to
stall?
TaskMgr shows 100% CPU usage, I know it is caching all VBscript
request/actions....
Can I prevent it or otherway to get my values past to my webpages
without using a database?