Category Archives: Microsoft

API File Copy Demo

API Sample that demonstrates how to use the windows Shell to select any file, then select a directory, then use the shell to copy the file from one location to another, displaying the Shell Copy Progress Box.  A professional way of doing things. Form Code Private Sub Command1_Click(Index As Integer)    On Error Resume Next    Dim i As Integer    Select Case Index        Case… Read More »

Bytes -> Megabytes Converter Function

Converts a figure represented in bytes to the corresponding figure in megabytes, formatted to two decimal places. With a little modification, this could also be converted into a multi-value converter for kilobytes, gigabytes, terabytes, petabytes, etc. Public Function BytesToMegabytes(Bytes As Double) As Double   ‘This function gives an estimate to two decimal   ‘places.  For a more precise answer, format… Read More »

Use Google Maps in your VB App

This project demonstrates a quick and easy way to add mapping to a windows desktop application (with an available internet connection) using Google Maps as the basis and source for the map. The demonstration application will map a point by either its physical address or its latitude and longitude. Building the application does not require any sort of… Read More »

Create 3D Terrain with no API

Without using any API at all, this app shows how to create a simple 3D terrain using simple mathematics and some basic graphics commands and controls. Attachments File Uploaded Size 929-20180204-074831-3dterrain.zip 2/4/2018 7:48:31 AM 21018

Access Database Code Generator

This utility generates code that you can use inside your apps to create an Access database With ADO. You select the database and it generates the code to create a database with the same name and structure. Attachments File Uploaded Size 928-20180204-071857-adocodegen.zip 2/4/2018 7:18:57 AM 34784

Reading and writing text

These two snippets of code demonstrate how to read a file, as well as how to save a file. For both of these, the code is shown as it would appear in the click event of a button. However, you can trigger this with anything, such as a timer or a condition changing state. In the first snippet,… Read More »

Accounting Application

A complete accounting application, geared towards providers of temporary labor. The app allows you to create items, job cards, invoices, reports, backup the database, and a variety of other tools. To login for the first time, use admin for the user name and password. Attachments File Uploaded Size 926-20180127-160418-MKS.zip 1/27/2018 4:04:18 PM 436557

Complete billing system

This is a complete billing system written in Visual Basic 6. To login, use the username Admin, with a password of Admin. Attachments File Uploaded Size 926-20180127-155035-billingsystem.zip 1/27/2018 3:50:35 PM 574370

Employee Timekeeping System

And here we have an employee time keeping system that allows users to clock in and clock out. Also provides the ability for administrators to build reports, etc. For admin login:user type : Admininitial username: ainitial password: a Attachments File Uploaded Size 926-20180127-155425-log.zip 1/27/2018 3:54:25 PM 65119

Simple Calculator

Features store/recall/exchange, undo/redo, copy/paste, all vb math operators and vb math functions. The math engine/expression evaluator come from the MS knowledge base article Q86688. Also features tray icon on minimize, drag and drop of form without caption bar, popup options menu with usage info, undo/redo history to twenty levels, auto clear when new expression, always-on-top option and more.… Read More »