Coba Bisnis

Tuesday, December 30, 2008

visual basic code library

Number To Word

This code snippet convert Number to String in VB6. For instance input 100 will be return as Hundred, It converts upto Core.... (View Snippet)

Encrypt and Decrypt

This is code for Encrypt and Decrypt. this a simple logic of encryption. Please leave comment or feedback if this code helps you. Thanks. Jery. :) the encrypt function place in a module. This Code needed : 1 Module 1 combo box (For input before encryption) text1 in this program 2 label (For... (View Snippet)

StringCalc

Visal has contributed code for computing a formula. I have updated his code to reflect vb.net coding style. I have also refactored the code, so it is easier to understand. I have not checked the code. The vb.net project files are as attached. Jerry Dusing (email: jerrydusing@yahoo.com) (View Snippet)

Swap

Swaps Two Elements Of An Array (So that say, indice1's value would become indice2's value, and vice versa). Simple Code Piece Really... (View Snippet)

Getting the Regional Short Date Format

Uses the API to get the regional short date format from the PC (View Snippet)

String To Array

Another Small And Simple Function To Take Each Character of a string, and put it into an Array, This helps significantly when you need to sift through a string. This Function Uses The spush (String Push) Function, Also In Code Snippits. (View Snippet)

String Pop

The Relative of push is pop. Pop removes the last item in an Array, and returns the value into a single (scalar) variable. Again, due To VB Limitations, this one works on strings. (View Snippet)

String Push

Simple Function To Simulate The Push Command, due to VB's limitations, This one is Specific To Strings. (Simple enough to modify for integers or variants, etc) (View Snippet)

This is a visual basic 6.0 wav sound player class that plays any selected sound file in .wav format. It has the filename property to select the file and play property to play the sound file.

This is a visual basic 6.0 wav sound player class that plays any selected sound file in .wav format. It has the filename property to select the file and play property to play the sound file. Visit http://www.mycplus.com for more codes. (View Snippet)

Password protect indiviual buttons on the Access Switchboard

This is the coding needed to password any button on any switchboard from used in Access Database (View Snippet)

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Daniweb is a good website which helped me to find useful information without spending a lot of time in google search. Thanks a lot!

    ReplyDelete