Home | Advertising Info8 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, December 19, 2014  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Problem creating objects.
From: Jae Emans
Date: 5/2/2001 11:36:17 AM
IP: 63.24.52.11



 

Hello. Basically, I want to write an ASP that accepts a path to an XML file and reads it, line by line. There is a form to input the path, and if the path is not entered, the ASP script displays an input box.

Heres the code I'm having trouble with: (Pound signs delineate line breaks)

#If Request.ServerVariables ("CONTENT_LENGTH") <> 0 Then
#filePath = Trim(Request.Form("pathName"))
#Set fsObject = Server.CreateObject("Scripting.FileSystemObject")
#Set textFile = fsObject.OpenTextFile(filePath, 1, 1)

I think the probelem is actually the if statement. It seems to be accepting the form, even though it is empty. I wrote a code like this months ago, but my job doesn't allow me to work with anyone language for a very long time. Why would my if statement be falling through? This gives me the error that I cannot create an FileSystemObject.


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com