Article ID: 185373
Article Last Modified on 5/11/2006
[Add.Code] ... (other files) Myfile.txt=Myfile.txtNOTE: Myfile.txt is the name of the text file you want to download.
[Myfile.txt] file=thiscab FileVersion= DestDir=10 RegisterServer=noThe DestDir=10 entry causes the text file to be downloaded to the main Windows directory (Windows 95 and Windows NT). This is necessary so that the file is visible in the file explorer window. Otherwise, if DestDir= is used (no value after the "="), and Internet Explorer 4.0 or later is installed, the text file will not be visible to users in the Downloaded Program Files directory except when viewed in a DOS command window.
; INF file for text file download [Add.Code] Mytext.txt=Mytext.txt [Mytext.txt] file=thiscab FileVersion= DestDir=10 RegisterServer=noMyfile.txt is the name of the text file you want to download.
cabarc n mytext.cab mytext.inf mytext.txtUse the appropriate names that you chose for your .inf and text files, choosing a relevant name for the .cab file.
<HTML>
<HEAD>
<TITLE>Text file download sample</title>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
Before text cab object-->
<OBJECT ID="MyText" width=0 height=0
CLASSID="CLSID:7DA8B621-FA5A-11d0-B4D7-00AA00B92AB3"
CODEBASE="mytext.cab">
</OBJECT>
<--after text cab object
</BODY>
</HTML>
169609 How To Digitally Sign Your Visual Basic 5.0 Internet Application
Keywords: kbhowto KB185373