Visual Basic 6.0
Visual Basic 6.0
Example: Http.GetCacheRoot method
Demonstrates theGetCacheRoot method.
Chilkat Visual Basic 6.0 Downloads
Dim http As New ChilkatHttp
' Establish 2 cache root directories.
http.AddCacheRoot "c:/example/httpCacheA/"
http.AddCacheRoot "c:/example/httpCacheB/"
Debug.Print "Number of cache roots: " & http.NumCacheRoots
Debug.Print "1st cache root: " & http.GetCacheRoot(0)
Debug.Print "2nd cache root: " & http.GetCacheRoot(1)
' Output:
' Number of cache roots: 2
' 1st cache root: c:/example/httpCacheA/
' 2nd cache root: c:/example/httpCacheB/