visual basic, vb, vbscript
Quick Search for:  in language:    
visual basic, vb, vbscript,tutorial, newbie, beginner, how, to, how to program, help
   Code/Articles ╗ |  Newest/Best ╗ |  Community ╗ |  Jobs ╗ |  Other ╗ |  Goto ╗ | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 2,996,572. lines
 Jobs: 115. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Updated RSA key maker
By Taltan on 6/21

(Screen Shot)

Click here to see a screenshot of this code!Cool Snake Game
By Michel Hartog on 6/21

(Screen Shot)

Scare your Dutch friends with this program!
By Michel Hartog on 6/21


Code Genius
By Code Star on 6/21


Click here to see a screenshot of this code![~~ RGB Example ~~]
By Siebe Tolsma on 6/21

(Screen Shot)

Click here to see a screenshot of this code![A cool version of Nibbles!]
By Jason Liang on 6/21

(Screen Shot)

Unroll.
By Cyber Chris on 6/21


Click here to see a screenshot of this code!GIF (animated) viewer - user control
By Carles P.V. on 6/21

(Screen Shot)

Click here to see a screenshot of this code!Learn Your Astrological Sign
By Eren Okka on 6/21

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 

Articles and Tutorials

Most Popular  
The articles and tutorials other users have found the most useful.  Broken out by beginner, intermediate and advanced level.
 
Newest  
Stay up to date with the latest and greatest!
 
To access the entire archive of articles and tutorials simply use the 'Browse All Categories' and 'Search' menu items in the drop-down hot menu at the top of the screen.

Most Popular

Beginner

Intermediate

Advanced

Venting frustrations
by Syllva Tech Software
Language: Visual Basic

I'm sorry this is not code, but I guess I'll be speaking for a lot of serious programmers just by venting a few frustrations...

An Introduction To DirectX 8 - And More!!!
by Simon Price
Language: Visual Basic

Learn every aspect of DirectX8 now!

This HUGE tutorial covers DirectX 8, DirectSound8, DirectInput8, Direct3D8. It includes everything - from knowing nothing to having a good grasp of DirectX 8 with Visual Basic. It even goes beyond that and explains the logic needed to create 3D geometry and animation. There is a fully documented sample program too! And a glossary of terms - not just DirectX terms - but general p ... (see entry for full description)

HTML Help and VB
by Almar Joling
Language: Visual Basic

This tutorial will learn you how to combine HTML Help with VB, so your applications can easily have functions like "Whats this help" and "context sensitive help". This tutorial is fully illustrated, (17 images), everything done nicely step by step. VB6 is REQUIRED. This will not work with older versions.

api for beginners
by sherif rofael
Language: Visual Basic

if you are a beginner or an intermediate who is hearing about API , this program is a good deal , u can learn APi very easily with this tutorial , This may be considred as a libraray for API ( Application Programming Interface) . It contains more than 30 declaration and functions that do the following: 1) shut down/restart / log off ur windows. 2) show/hide curor , 3) open web browser . (http://www.cnn.com) 4) empty your recycle bin. 5) toogle the caps lock . 6) make the desktop's ... (see entry for full description)

Game Programming in Visual Basic - Lesson Two
by Gregory English
Language: Visual Basic

This article is lesson two in my mini-series of "Game Programming in Visual Basic". If you like it or even dislike please tell me what was wrong and what was good. PLEASE EVERYONE VOTE, IT ONLY TAKES A FEW SECONDS!!!!

ADO Tutorial For Absolute Beginners
by Jerry Barnes
Language: Visual Basic

This is an ADO DB tutorial for programmers who know nothing about ADO. It is a good template to following when making your own project. I hope that it helps.

Optimizing your VB code even more
by Almar Joling
Language: Visual Basic

This article shows various speed increasing methods, I've done tests myself, you can see the performance difference in a graph and in a table. This article is really worth your time. For example, it shows how one simple "\" instead of "/" will speed up your app with more than 400% percent!

A tip to make life easier
by John Edward Colman
Language: Visual Basic

Get rid of that design time syntax error message box.

Hey, did you know? VERY Useful TIP
by Jeff D
Language: Visual Basic

Hey everyone. A great TIP here! I don't know if this has been brought up before (did a search but found nothing) it may even be in VB books - but some of you may not know this... Did you know that (in the code) you can right-mouse click over a particular procedure, function, word, method, event, any declared variable, etc... Then choosing "DEFINITION" from the menu selection will jump you to where it was declared or the code for it?! See screen shot for example of this. Then after ... (see entry for full description)

Create a Truly NON-TASK-ENDABLE, Unendable, Non-Task-Endable PROCESS in Win2k and XP
by Brian Payne
Language: Visual Basic

This AWESOME LITTLE TRICK will make ANY VB .exe TRULY non-task-endable under Windows NT, most specifically Windows 2000 and Windows XP... What this means is that users will NOT be able to use the Windows Task Manager to SHUT DOWN your program, it will be impossible. As a matter of FACT, you yourself won't be able to end it unless you create some Inter-Process Communications code that ends it or you tie a Dir() loop looking for a file on the HD that instructs your app to end.. Th ... (see entry for full description)

VBMagic - A tutorial to teach you everything about mixing VB and Flash, to do Magic!!
by Anoop Madhusudanan
Language: Visual Basic

This tutorial (with source) is for you, just if you need to add a new dimension to your VB Skills. Break out from those old looking forms and sleepy dialogs, mix VB with Flash to create wonders. Vote for me just if you find this one useful (you will :)). Most of these concepts are from my own experiments and experience. Create great looking skin able apps (with remote interfaces), cool e cards, presentations, and you name it :). See the screenshot below, and download the code. Comme ... (see entry for full description)

cTreeView Class wrapper v02.03.00 (**Updated 16/8 - Animated Graphic TreeBack Demo - UNIQUE!**)
by Slider
Language: Visual Basic

** Release 6 ** Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independantly of the Nodes therefore Nodes maintain their original colors! No other VB code does this - enjoy! ** Release 5 - 26 New Features, 2 new Tutorials ** Now boasts 75 Properties & Meth ... (see entry for full description)

__Direct3D Tutorial [Updated]__
by Matt Carpenter
Language: Visual Basic

A Tutorial on how to do Direct3D7 Retained Mode Graphics! HTML file and an example! Every line of code is commented and easy to understand. Begin making 3D Games with this article! I WORKED A LONG TIME ON THIS ARTICLE! If you like it, PLEASE VOTE FOR ME on PSC :) I am also planning on putting out a 3D flight simulator soon so keep lookin-

DoEvents evolution; the API approach. (Method for 100% optimized loops)
by John Galanopoulos
Language: Visual Basic

Do you want to make your loops 100% faster? Here's how : Many of us have used several times DoEvents, to supply a bit of air to our App, on Heavy-Duty times such as loops for updates or inserts on recordsets etc. As we most know, DoEvents processes Windows messages currently in the message queue. But what if we wanted to execute DoEvents only in times, when we want to allow user (Keyboard and Mouse) input? ( A special "thank you" to all of you who rated this article)

Tutorial On Application Severs: Develop Killer Web Applications In VB..
by Anoop Madhusudanan
Language: Visual Basic

This Tutorial will teach you the Ins and outs of creating custom Application Servers. Get the power to make true killer VB web applications, and give more scalability to your existing applications.

If you are new to the term 'Application Server', just consider that it is an application that runs between a thin front end (in this case the web browser) and back end servers: After reading this article, you can

(a) Understand what is an 'Application Server'

(b) Create an ... (see entry for full description)

__Simple Winsock Tutorial__
by Matt Carpenter
Language: Visual Basic

This tutorial will teach you the basics of winsock (the winsock OCX control). How to connect to computers, how to be a server, sending and getting data. If you like this, Please vote for me ;)

_ TUTORIAL: BitBlt & GDI32 for the Thick-Headed: BitBlt explained, + Load Sprites, Double Buffering!
by (Tim Miron) yar-interactive software
Language: Visual Basic

"BitBlt [and GDI32] for the Thick Headed" is an in-depth, plain-english, streight-forward tutorial that teaches everything there is to know about BitBlt, and some related API. It covers everything from loading bitmap files into memory (no more picture boxes) to double-buffering (say goodbye to the SLOW 'AutoRedraw'!) to Explaining the BitBlt API in PLAIN ENGLISH. PLUS the tutorial only takes about 15 to 20 minutes to complete! (A completed version of the example project is also incl ... (see entry for full description)

Talk To Your Computer
by MTGiga
Language: Visual Basic

Learn how to talk to your computer, and have it respond! You even have a nice little robot buddy to talk to!

API - Simulate multithreading with WaitForMultipleObjects (eg. How ICQ monitors connection state)
by John Galanopoulos
Language: Visual Basic

In this article, we are going to see how to use WaitForSingleObject, WaitForMultipleObjects, RasConnectionNotification and many other commands with Visual Basic. We are also going to see how to monitor multiple events without the need of multithreading. I have included two examples : how to monitor when a shelled application has ended and how ICQ monitors connection state (that little flower that gets green when we dial-up and establish a connection). If you like it, post a comment. ... (see entry for full description)

Windows Messages and Subclassing
by Coding Genius
Language: Visual Basic

Subclassing ofers great advantages to VB programmres. This article should teach you all about the message system Windows Uses, and how to implement it into your Visual Basic Programs.

MThreadVB - The Generic Multithreader For VB
by Srideep Prasad
Language: Visual Basic

Learn how to multithread easily and effectively with this powerful award winning component. With a host of intuitive functions and powerful ActiveX(tm) events ! To find out more, download now !!!

Forget Controls MultiMedia. Now By API Support DVD Video Version 6.1
by Abdullah Al-Ahdal
Language: Visual Basic

(New version, now version 6.1 with control volume channels audio) Hello, You can here make Controls for audio,video and midi files just by pure Windows API. you can open,play,pause,resume,stop,close,make control for audio channels,Get Progress,Get Total Time,Get Total frames,Get Number frames per second,SetAutoRepeat,GetCurrent frame (Get current position),Get cuurent time,Get Actual size,Get Current Size,resize the movie,SetDefaultDevice,let you at the end of file..for all types Mu ... (see entry for full description)

Multithreading with multi-instancing and inter-thread communication support
by Srideep Prasad
Language: Visual Basic

This article teaches how to multithread safely and effectively using pure VB. No need to use C/C++ or the infamous CreateThread API notorious for its instability with VB 6. Simple and effective code complete with a HTML article documenting the various aspects of Multithreading are included to help you get started right away ! What's more, multiple-app instances are also now supported ! So say goodbye to Timers, crashes, threading API's and "freezing" forms. And if you find this code ... (see entry for full description)

Easy COM based Multichannel Dynamic Data Exchange (DDE) Between Apps - With InterCommVB II (Updated)
by Srideep Prasad
Language: Visual Basic

Learn a new method of dynamically exchanging data between apps - with InterCommVB II. With unparalled power and ease of use, InterCommVB truly allows you to get the max output from minimum code. So you no longer need to tamper around with DDE APIs and other hard Win32 APIs. InterCommVB truely makes implementing DDE a breeze - even a beginner could be implementing DDE with this component. The package also includes an HTML file to help you understand the concepts better, in case you a ... (see entry for full description)

Multithreading in VB!!! (updated)
by Philipp E. Weidmann
Language: Visual Basic

Finally it is there!
The first multithreading example on PSC. About half a year ago, I looked on PSC for some multithreading stuff and found nothing. Then when I had improved my skills, I finally made my own multithreading code.
Now have fun with this and vote for me!!!
Updates:
-Fixed the bug that the program didn┤t exit properly
-Added code in the multithreading class that prevents a thread from being created twice
-Fixed the bug in the PropertyLet procedure Prio ... (see entry for full description)


Learn How To Make VB Handle Strings As Fast As C
by Chris Lucas
Language: Visual Basic

If you want your strings routines to be as fast as possible, learn C. If you don't want to learn C use string mapping, its nearly as fast and pure VB. In this article I give you the silver bullet for strings. If strings are bottlenecking your code, I'm your new best friend. I've included a project that attempts to visualize the string for you. It also contains a word count comparision which uses four methods string mapping being the fastest by far (compiled).

A Complete Guide to Web Based Email Systems
by BrainSoft

Language: Visual Basic

in this tutorial of 100+ pages, you can get every thing which is mainly related to build a complete web based email system. this artical will cover everthing of SMTP, POP3, MIME and HTTP. you can get a lot of material regarding to different Coding and encoding methods like BASE64 & Quoted Printable. a far better option to read this tutorial instead of reading RFCs. The next sequel of this tutorial will be comming in few weeks. see ya: ... (see entry for full description)

A-lphasoft:Page Creator 2! The biggest WYSIWYG HTML Editor, with great User Interface!!!
by Kenny Lai, Lai Ho Wa
Language: Visual Basic

Page Creator 2 is no longer here. I am developing a completely new Page Creator 3. see it at

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=30120&lngWId;=1



A REAL Operating System - NOT A shell
by Coding Genius
Language: Visual Basic

This is not a shell! It is a real OS that will boot from a floppy disk! It is not written in Visual Basic but it does clear up all the mystery that ''newbies'' seem to have with Shell's and Operating Systems - yes you've all seen those ''not really an OS but a shell - OS'' submissions. Anyway, it's a good article I think. I spent a bit of time on it, and I hope you enjoy it :)

Hack a box
by Cakkie
Language: Visual Basic

No, we are not going to do anything illegal here. We are going to hack the MsgBox and InputBox. Let me start by saying that this is !NOT! one of those custom messagebox classes, but this uses the real MsgBox and InputBox functions from VB.

 



Newest Tutorials

editable Auto Incremental Field Function
by Said Sowiny
6/21/2003 6:18:45 AM

Language: Visual Basic

this is a simulation of the auto incremtal field but there is a feature it is editable that allowing you to enter then value your self or let then function do so. a nother one is when you delete a record you can enter the deleted value again.

Easy Time functions
by Powerbytes
6/21/2003 3:29:57 AM

Language: Visual Basic

Some quick ways to get the time w/ out using "format"

IsExist Function
by Said Sowiny
6/20/2003 4:24:00 PM

Language: Visual Basic

hi,.. if you want to check out an existance of a value in a table field or recordset to determine the acceptance of a new value and want to not dupplicate the value in the field ,.. here what you seek for.

Windows API --- Part-III
by Deepanjan Datta
6/20/2003 4:10:29 AM

Language: Visual Basic

This the last tutorial in the Windows API and DLLs tutorial series. Part III covers the API Viewer. Part I and II on PSC. Check them out!!! Vote for all of them!!!

CoolFTP Client v1.0.017
by Amphibious Entertainment
6/19/2003 1:25:25 PM

Language: Visual Basic

"CoolFTP Client" is a complete ftp tool that allows you to connect to an ftp server and delete, rename, create, chmod, download, and upload. Also supports anonymous connections.

Windows API and DLLs --- Part-II
by Deepanjan Datta
6/19/2003 7:46:39 AM

Language: Visual Basic

Covers nature of DLLs and API data types!!! API viewer in part III (coming soon)!!! Part I on PSC

Switching to .NET
by Danny J
6/18/2003 1:21:23 PM

Language: Visual Basic

Hello all. You really need to read this if your not switching to .NET. For the people who know, dont bother.

Static Arrays as Return Values (Reformatted)
by Sudif
6/16/2003 11:44:01 PM

Language: Visual Basic

Tip about a flaw in VB concerning static arrays as return values from function calls.

It turns out that the original submission was almost illegible. Actually, it was nicely formatted when I pasted it into the submission form; I didn't know it would look that ghastly in a web page. Hope it'll be better this time around.



I need someones help
by Recon Sniper
6/16/2003 7:56:25 PM

Language: Visual Basic

I need help with Putting an Picture in a listbox any ideas??

Replace the Microsoft Custom Control
by Jarry Claessen
6/16/2003 7:52:16 AM

Language: Visual Basic

Trying to get other people to help replacing the microsoft custom controls


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyrightę 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.