Microsoft Scripting Runtime in Visual Basic 6 Nevada

Paul Kimmel discusses the runtime scripting engine and using it from Visual Basic.

Local Companies

Rentex Inc
(800)3044819
3585 E Patrick Ln Ste 1200
Las Vegas, NV
Check Point Software
(702) 633-7778
823 Vineyard Vine Way
North Las Vegas, NV
Intertech Computers
(702)4534433
3321 Sunrise Ave Ste 105
Las Vegas, NV
Conrad & Company
(702) 699-9034
5101 Tropical Rain St
North Las Vegas, NV
RetailSystems, Inc.
(702)6170427
346 Pleasant Summit Dr
Henderson, NV
Janalent
(888)2904870
3291 E Warm Springs Rd Ste 300
Las Vegas, NV
Sparkplug
(702)5058094
3744 Civic Center Dr
N Las Vegas, NV
IT Dev, Inc.
(888)3330477
3365 E Flamingo Rd Ste 5
Henderson, NV
Akers & Associates, Inc.
(702)8662316
720 S 4th St Ste 305
Las Vegas, NV
P.O. Interests, Inc.
(702)8963822
2628 Langford Ave
Las Vegas, NV

provided by: 
Originally published at Internet.com


The scrrun.dll defines several objects for managing files. These facilities include the FileSystemObject and TextStream classes. FileSystemObject represents your PC's file system and includes such capabilities as creating temporary files, managing directories, and managing files. The TextStream class is defined to represent files as a contiguous stream of text data and makes managing text file content much easier than using the legacy VB Open, Close, Line Input, and other such commands. In this week's article I will demonstrate several of the basic capabilities of the Microsoft Scripting Runtime.

Before we begin, as a reminder you will need to add a reference to the Scripting Runtime library in VB6 from the Project|References menu. (Check the Microsoft Scripting Runtime reference and click OK in the Add References dialog.) The examples will use early bound objects rather than late bound objects using CreateObject, but you can use CreateObject and Variant types to dynamically load external libraries at runtime.

Creating a Temporary File



Sometimes you need to create a temporary file. Perhaps you need to persist the state of an object to the user's PC or make a backup file during a save operation. This example demonstrates how to use the FileSystemObject in the Scripting Runtime library to get a unique temporary file name and copy the contents to the temporary file...

Read article at Internet.com site

Featured Local Company

Janalent

(888)2904870
3291 E Warm Springs Rd Ste 300
Las Vegas, NV

Related Local Events
Northern Nevada Regional Business & Tech Show
Dates: 10/16/2020 - 10/16/2020
Location: .A. Nugget, Sparks
Sparks, NV
View Details

2010 7th IEEE Consumer Communications and Networking Conference (CCNC)
Dates: 1/10/2010 - 1/12/2010
Location: Harrahs Las Vegas Hotel and Casino
Las Vegas, NV
View Details

POWER-GEN International 2009
Dates: 12/8/2009 - 12/10/2009
Location: Las Vegas Convention Center
Las Vegas, NV
View Details

Mobile Business Expo
Dates: 11/16/2009 - 11/20/2009
Location: Mandalay Bay Resort & Casino Convention Center
Las Vegas, NV
View Details

International Telemetering Conference
Dates: 10/26/2009 - 10/29/2009
Location: Riviera Hotel & Conference Center, Las Vegas
Las Vegas, NV
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML