Skip to content

Tag Archives: ASP-Methods

The ASP File.Delete Method is used to delete a particular file or folder from a system.  Syntax  For file object: FileObject.Delete[(force)] For folder object:  FileObject.Delete[(force)]… Read More
The ASP Dictionary.Remove Method is used to remove specified key-value pairs from a Dictionary Object.  Syntax: DictionaryObject.Remove(key) Parameter Value: Key: It is a required attribute.… Read More
The ASP Dictionary.RemoveAll Method is used to remove all the key-value pairs from a Dictionary Object.  Syntax: DictionaryObject.RemoveAll Example Code: Below code demonstrates the ASP… Read More
The ASP Dictionary.Keys Method is used for returning an array of all the keys in a Dictionary Object.  Syntax: DictionaryObject.Keys Example Code: Below code demonstrates… Read More
The ASP CreateTextFile Method is used to create a new text file in the current folder or directory. It returns a TextStream object that can… Read More
The ASP Move Method is used to move the specified file or folder to the given destination. Syntax: For File object: FileObject.Move(destination) For Folder object:… Read More
The ASP Copy Method is used to copying one specified file or folder from one place to another place. The overwrite attribute can be specified… Read More
The ASP Dictionary.Add Method is used to add a new key-value pair to the Dictionary Object. Syntax: DictionaryObject.Add(key, item) Parameters: This method has two parameters… Read More
The ASP Exists Method is used to return a Boolean value that returns true if the specified key exists, otherwise it returns false. Syntax: DictionaryObject.Exists(key)… Read More
The ASP OpenAsTextStream Method is used to return a TextStream object by opening a specified file. It can be used to perform certain operations on… Read More
The ASP OpenTextFile Method is used to open a specified file. It returns a TextStream object that can be used to read, write and append… Read More
The ASP Items Method is used to return an array of all the items currently in a Dictionary object. Syntax: DictionaryObject.Items Example: The below code… Read More
The ASP ShareName Property is used to return the network share name of the specified drive. Syntax: DriveObject.ShareName Example: The below code demonstrates the ASP… Read More
The ASP ReadLine Method is used to read one line from a Text file. It does not include newline characters. It is a predefined method… Read More
The MapPath method is used to define a relative virtual path for a physical directory on the server.        Note: This method cannot… Read More