Hey, I personally would eliminate the variable f and do the following
my db contains the locations of a load of files used in my project (all files are *.dat)
however i need to set it so that the user can delete the file from browser
my current script will delete the db record of the file, but...
Yeah, I just realised that it's almost the same, I wrote that from scratch (Ignore my comment from the last post about the textstream, I forgot to re-read your code, I thought that's what you wre using).
I don't know what the problem is with the original code. However, I believe your original...
I just ran this and it works, it doesn't use the textstream though, let me know if it helps.
Sub DumpToFile2(strOut)
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set f =...
Hey, I'm actually working on this type of thing at the moment, I can't see anything wrong at the moment really except that the line
Set fso = CreateObject("Scripting.FileSystemObject")
Should be
Set fso = Server.CreateObject("Scripting.FileSystemObject")
This post is best...
You aren't trying URLEncode on the HTML page are you?
Also, you say that you're using a HTML source, so why does that mean you can't use forms ?
This post is best viewed at 1024 x 768
I've known of people downloading CDONTS for XP and it not having the cdonts.dll in it for some reason :S
See if you have this :
C:\windows\SYSTEM32\cdonts.dll
If not, here's a link to donwload it :
http://dll.yaroslavl.ru/index.php3?lng=&in_char=C
then run this line :
regsvr32...
i'm no SQL expert, so I can't really explain it too well. But, when you do a SELECT DISTINCT in the way that you are doing it, since you are including all the other fields you are asking for ALL records where "IPAddress, LogID, Domain, Browser, WebAddress, PageLoaded, Parameters...
Hmm, I'm having a similar problem, is there anything that can prevent this from working (assuming spelling and file locations are correct) other than the server not supporting SSI ?
This post is best viewed at 1024 x 768
Don't know if this is what you're looking for, but I whipped this up some time ago when I was bored :
<%@ Language="VBScript" %>
<%
Sub folderDetails(folderName, indent)
Dim fSystem, fObject, fFolder, fFiles, fIndent, newIndent
fIndent = ""
newIndent...
You could also use XML. I guess I'm suggesting this cos I've been using it so much lately and have learnt to like it. It eliminates the need for a database, and in my opinion is easier than using a text file. However it still requires the use of ADO.
I apologise that I can't think of any links...
Doh, I use fSystem.FileExists in so many other places I don't know why I didn't think of it :(
A star for you for the UCase too, I'll still need to use that. Thanks :)
Hey all, I have a dilemma.
I have a system the uses XML files, but, of course, no two files can have the same name. Firstly, each 'case' is given a name when it is submitted and put into a database, at this point, I don't want any cases to be submitted that have the same name as either an...
Hmm, I'd have to look into that one about further, or maybe someone else could help. Seems that it if you have focus on a combo/select box, when you hit enter it wont submit (just tested it myself.).
No probs helping you, but I'm sorry I can't help with the next bit :(
I guess you could have something like this:
<form id="frmHouseHold" name="frmHouseHold" method="post" onSubmit="fSubmit">
Then, to have an image for submission:
<input type="image" value="Submit" src="imagePath">
Let me...
Well, thanks Genimuse, I never knew how to iterate through that, I've tested it seperately, and it works great, answered both my questions (about the iteration and the dumping). But, unfortunately, it didn't work.
I couldn't find the doc for the ASP uploader, but I tried it's method of getting...
Thanks phuctran, I will look into that right now, i was just thinking that I would have to use the method for the uploader in all the other pages. i'm not sure if we have the manual or documentation anymore, it's just an ASP page with classes in VB, not COM.
I'll have to download it agian and...
Thanks for your quick response Genimuse, I've tried Request() instead of Request.Form(), but to no avail.
I was wondering, how do you iterate through the collection. Also, on another note, is there any quick command you can use in ASP that does a dump (and writes it) off all the data posted to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.