You're here: Snippet Directory » Visual Basic (78)
Language:

Snippet Directory - Visual Basic 

Snippets

AIM text sender

sends text to the active aol instant messenger window.

Language: English | Programming Language: Visual Basic | Author: krazygamer [not registered]

Atn2

This vb function calculates the inverse tangent and returns an angle between 0 and 2pi. It avoids the problems of y/zero and not knowing whether x or y is negative if y/x is negative when using the built in Atn function.

Language: English | Programming Language: Visual Basic | Author: jdp [not registered]

CD-DRIVE TRAY OUT/IN

This is a small and simple but very useful progy to use if you make a program that requires a CD. You can check if the CD in the drive is the one you want. If not you can throw it out to the user to give you the correct one. Cool!Good ...

Language: English | Programming Language: Visual Basic | Author: romeo_77p [not registered]

Change Hex to String

This function takes a given list of hexidecimal numbers (in groups of 2 hex numbers) and changes them into their corresponding base10 number. Then that number is changed into its corresponding ascii character.Good ...

Language: English | Programming Language: Visual Basic | Author: slate2001 [not registered]

Change String to Hex

This function changes every character in a string into its corresponding ascii value. Then the ascii value is changed into its hexidecimal equivalent.

Language: English | Programming Language: Visual Basic | Author: slate2001 [not registered]

Compute ModBus LRC

Computes the LRC checksum used by the modbus protocol.

Language: English | Programming Language: Visual Basic | Author: rsukach [not registered]

Convert Local Time to UTC (GMT) time

I was looking for an API/function/snippet that could convert a given local time to UTC (formerly known as GMT), but could only find an API that was only available in Windows XP. Therefore I looked into combining some other APIs. I created ...

Language: English | Programming Language: Visual Basic | Author: echten [not registered]

D Conversion

This program converts Binary to Number and Number to Binary. And it has very good help artical by Snals! Also it looks for the .wav file in same fold as .exe file is stored and it plays the .wav file upon calling about box.

Language: English | Programming Language: Visual Basic | Author: dishil [not registered]

declaring and manipulating var's with separate functions

You can declare variables in a form, and then call a Function to modify them and then return the new variable and display it in a lable.

Language: English | Programming Language: Visual Basic | Author: eleet2k2 [not registered]

DirExists

Check if a directory exists and return true/false

Language: English | Programming Language: Visual Basic | Author: slate2001 [not registered]
RSS