Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Access files locally
Topic Started: Oct 13 2011, 04:33 PM (198 Views)
The_AwaKening
Member
[ * ]
Is there a way to access a file locally after uploading it to my forum?

This is the link it gives me to the file: http://z5.ifrm.com/5901/46/0/f5030985/dictionary.txt

Using vbs and filesystemobject, I can't get it to open. I've tried it several ways. Here's the small portion access it.


Code:
 

Set fso = Creatobject("Scripting.FileSystemObject")
Set file = fso.OpenTextFile("//z5.ifrm.com/5901/46/0/f5030985/dictionary.txt", 1, False)

Call LoadDictionary(file.ReadAll)


I've had success this way whenever I load from a drive EG: "C:\dictionary.txt", but I can't figure out how to do it on here.

Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply