Posted by Ralph Vince on December 04, 2000 at 15:42:55:
With Build 38 of Virtual Distributor, and INSTRUX code which is being migrated to Virtual Distributor now needs NO modification to run on the web.
Previously, the FILETEXT command in INSTRUX, which reads and displays an ASCII text file at a specified location on the display screen, would find such a file on the local drive. The web analog to this was the SERVERFILETEXT command, which would find an ASCII file on the web server and display it at a specified location on the display screen.
Fow, when the FILETEXT command is encountered, if the DocPath property of the control has HTTP: as its first 5 characters, and the text file sought is not on the local file system, it will then search the web site specified by the DocPath property for such a file.
Also, in the INI command, under build 38, if the ini file being sought is called work.ini the program wil search for the file company.ini where company is the company name (this conforms to the 8.3 format, so company names longer than 8 characters are truncated to the first 8 characters.
These changes allow old INSTRUX code to be migrated to Virtual Distributor without any modification whatsoever.