File system object example

This tutorial will explain how to create a file system object in visual basic

Related Topics
Ads:

Objects
Since VB4, Microsoft has been promoting the "object-oriented" aspects of Visual Basic. It seems like everything you read is object-this and object-that! So what is the real story about objects? Who needs them, and why? How do you use them and when are they overkill? Can you use them without having to be an expert in all aspects of objects?.


File Handling
If you want to be an expert VB programmer then you'll need to know a lot about how VB handles files - what is possible and what is not, plus how to do something in the smallest code or in the least amount of time. To do this you need to understand the file handling features which VB offers.


Developing Applications in Windows CE
Windows CE is simply a 32-bit, non-PC operating system. You might have seen Windows CE devices, such as the handheld PC (HPC) or the palm-sized PC, these are just some of the many applications run by the Windows CE operating system.This tutorial devotes much time to writing applications for the HPC, it is important to realize that these devices are only a small subset of Windows CE applications.


Creating and sending HTML email in Visual Basic - Part 2
This tutorial briefly explains how to import HTML file into the message body and automatically attach pictures and other objects this HTML file depends on.


How to Create a File Browser
This tutorial will show how to create an application that is used to browse your computer for files and output if the file still exists or not. This application will use a text box, button and an instance of the OpenFileDialog class.


Class Construction and Destruction
It should appear to us clearly by now that inheritance is useful by allowing us to use an object that was already created but "upgrade" it with new features that were not available when the original object was born. In most cases, when creating a class, you may not thing that other classes would be inherited from it. In fact, this will usually not be your concern: you simply create a class and use it as needed. In some other cases, rather as you build your experience with Visual Basic. You may create a class that, although useful at the time, you may already think of other classes that would be based on it. This means that, at the time you are creating such a class, you would already keep inheritance in mind. Visual Basic provides various features that can assist you with creating and implementing class with different goals in mind.


check whether a file exists
In this tutorial we are going to learn how to check whether a file exists


Software Testing
Software development projects come in all shapes and sizes, and they also vary in their nature. In terms of business applications, a standalone telephone directory system for a medium-sized company probably exists at the "relatively simple" end of the spectrum.


Internet Programming
In this tutorial I will cover how to perform file transfers between your PC and a web server.


Dynamic Usage of Event Handlers in VB.NET
With Events and Handles clause requires form us to declare the object variable and the event handler as we write our code, so linkage is created upon compilation. On the other hand, with AddHandler and RemoveHandler, linkage is created and removed at runtime, which is more flexible.


Business Objects
This tutorial presents a design pattern for developing solid, scalable, robust business objects, designed for (and from) real-life distributed enterprise applications. The architecture we propose at The Mandelbrot Set (International) Limited (TMS) for building distributed business object-based applications breaks down into various layers of functionality.


Creating Multimedia Applications-Part II
Now, with some modifications, we will transform the CD player into an audio file player. This player will be created in such a way that it could search for wave and midi files in your drives and play them.


Getting Started With Visual Basic 6.0
Visual Basic is an object-oriented programming language that uses the Microsoft Windows platform. The programs that are created using Visual Basic will look and act like standard Windows programs. Visual Basic provides one the tools to create windows with elements such as menus, text boxes, command buttons, option buttons, list boxes and scroll bars.


Projects
A typical VB application might consist of more than one forms, each of which may have multiple controls. In VB, the information about each form (it's own properties as well as those of the controls that are on the form) is saved into it's own file.


Macronimous- Developing Windows Smartphone Applications using .NET CE framework
A Pocket PC (PPC) is a handheld-sized computer that runs a specific version of the Windows CE operating system. It has many of the capabilities of modern desktop PCs. Some of these devices also include mobile phone features. Pocket PCs can also be used with many other add-ons like GPS receivers, barcode readers, RFID readers, and cameras. PPC are enhanced to Smart phones using Windows Mobile v5.0 operating systems.


Command Descriptions
In the earlier lesson you were introduced to coding, and reviewed a chart which groups VB commands into useful categories. In this section of the tutorial, I take each one of the commands and provide the syntax and a brief description of what the command does. For details, you can turn to the VB HELP file. My intent is to allow you to skim quickly over the commands to determine which one can help out in your situation.


Command Summary
Fact is, that few of the VB commands stand alone. More often than not, a command supports only one aspect of a topic. For example, the OPEN command opens a file so you can read it, whereas the LINE INPUT command reads one line of data at a time. And so it is in all of the areas of capability which VB supports. This page provides my own interpretation of VB command grouping.


Ping an ip address remotely
This VBScript provides the functionality for ping an ip address remotely by an IIS server. This file require IIS to access the ping.exe.


Playing WAV Sound Files in Visual Basic
Have you ever wanted to play a WAV file from your Visual Basic applicaiton? Here's the API call you need to use to play WAV files.


Learning the basics of programming
ACCESS provides two ways of interacting with the VBA language. The most useful of the two is saved modules that contain VBA procedures. Procedures are batches of programming commands that can be executed to do interesting things like process transactions against master tables, provide sophisticated error checking, and so on. The second way to interact with VBA is directly through the interpreter. When you type a
statement into the interpreter, it is executed immediately. Although there is little business use for this feature, it does making learning the language and testing new statements easier. (pdf file, install Acrobat Reader to read this tutorial)