Important alert: (current site time 7/16/2013 12:38:19 AM EDT)
 

winzip icon

__** Learn Anything About VB **__

Email
Submitted on: 9/2/2001 12:05:03 PM
By: ZEO 
Level: Beginner
User Rating: By 361 Users
Compatibility: VB 6.0
Views: 83063
author picture
(About the author)
 
     Learn anything you want about Visual Basic.

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :__**Learn Anything About VB**__
'**************************************
In the code
*************************************************
*************************************************
Please vote, You know it helped you when you downloaded it
**************************************************************************************************
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

9/2/2001 12:56:58 PMZoe

Well done Zoe this is excellent, this is very useful I’ll spend a lot time playing with this! You certainly get my vote…. EXCELLENT.

Hope to see more of you hard work

(If this comment was disrespectful, please report it.)

 
9/3/2001 3:31:11 PMjohnjr

excellent.......just what us newbies need.how about a more complex version.i will be first in queue for a copy
(If this comment was disrespectful, please report it.)

 
9/3/2001 6:09:49 PMMark

Excellent work.....keep it up
(If this comment was disrespectful, please report it.)

 
9/4/2001 12:04:49 AMrevX

Excellent code and help for newbies. A lot of what you have included is what I've needed. Thanks again and alright already, I'll vote!! ;) ***** for you!
I agree with the other comment. Make a more complex one and That would be great!
(If this comment was disrespectful, please report it.)

 
9/4/2001 5:31:39 AMPaul

Found this a great help into them more advanced little extras. Thanks
(If this comment was disrespectful, please report it.)

 
9/4/2001 4:00:03 PMLima

Error handling please!
(Died when you try to bug people in to voting for you...Check for the 'start.exe' file, win2k doesnt have it...)
(If this comment was disrespectful, please report it.)

 
9/5/2001 2:36:11 AMGremio

lol nice program helpfull too
and also very well commented for the part I looked at :)

i like how it opens up the browser to vote and only once I guess i will vote since it doesn't open it every time :)
(If this comment was disrespectful, please report it.)

 
10/27/2001 5:40:47 AMBrian

I think your code is good but, I'm a newbie I don't know what a .dll file is or what it is for. if you know of any good tutorials on my levle please email them to me at EBrian15205@aol.com

Thanks, Brian
(If this comment was disrespectful, please report it.)

 
10/31/2001 9:29:05 PMSalil Shukla

Hey
This code was helpful for me to learn the listbox and other controls(I am learning Visual Basic). Well I didnt understand how a word can be attached to a string.
Like I have a string and one No
and I want them to be joined without the space, usually string generates a space
Well mail me at salilshukla@hotmail.com
Thanks
Cheers


(If this comment was disrespectful, please report it.)

 
10/31/2001 9:30:21 PMSalil Shukla

Please solve my problem , I am tired of working on that
Well I have a string and want to attach a number to it, however when i do this, a space is created between them
Please tell me how to get rid of that space
Regards
(If this comment was disrespectful, please report it.)

 
11/4/2001 6:25:41 PMMike Q.

Zoe, excellent job, I can't wait to see your next release, a must have for beginners.

Cheers, and thank you so much.

Mike Q.
csyscom@hotmail.com
(If this comment was disrespectful, please report it.)

 
11/4/2001 6:34:36 PMCsyscom Inc.

Zoe, a compiled version of all these goodies would be a great idea to see then in a real life situation.

Keep up the good work.

Best Regards,

(If this comment was disrespectful, please report it.)

 
11/8/2001 4:23:53 AMEoin Armstrong

This is one of the best posts I have seen for newbies. I'll refer to it often, I imagine. Excellent work - keep it up please!
(If this comment was disrespectful, please report it.)

 
11/8/2001 5:00:28 AMNico Ecke

Are that all topics u know? what about ADO, Winsock, INet, recursive-loops, ...

I'm most interested in storing BLOBs to Access/SQL-Server...
(If this comment was disrespectful, please report it.)

 
11/8/2001 8:33:50 AMLarry Myers

Salil: If you attach a number to a string using the str$(number) function it will attach the space. if you don't like the space the best way to remove it is by string=right$(str$(number),len(string)-1) basically just stripping the leftmost character, I know there are other ways to do it but this one is the easiest to understand. ZEO: great Idea! later
(If this comment was disrespectful, please report it.)

 
11/8/2001 11:07:13 PMMark Lu

Taught somebody I like VB. Very easy. The person I liked that learned VB from this started from a perosn that is below-average at computers!
(If this comment was disrespectful, please report it.)

 
11/13/2001 9:44:41 PMTrevor

do I have to install this, I can't read any of the files in the zip even after I extraxt all the files to a folder. please email me at ckyweriga@shaw.ca
(If this comment was disrespectful, please report it.)

 
11/16/2001 9:25:50 PMTrevor

Can you please help me????
(If this comment was disrespectful, please report it.)

 
12/6/2001 4:35:05 AMjaknine

Salil,

Try:
Trim(Str$(number)))

jaknine
(If this comment was disrespectful, please report it.)

 
12/12/2001 5:30:59 PMOxidising

Wicked prog
(If this comment was disrespectful, please report it.)

 
12/15/2001 1:33:55 PMDeAtH RyDeR

This will help me 100% on my latest project, add me to your MSN at this e-mail T_R_I_C_K_S_T_E_R12@hotmail.com
(If this comment was disrespectful, please report it.)

 
1/3/2002 3:01:07 AMJB

Very good work!!!!
(If this comment was disrespectful, please report it.)

 
1/6/2002 2:48:01 PMcharlie

Great stuff for all us newbies
(If this comment was disrespectful, please report it.)

 
1/21/2002 3:53:25 PMLCensoni

Great Program!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5
globes, because i'm not allowed to give more
(If this comment was disrespectful, please report it.)

 
1/23/2002 9:20:07 PMRobert

Very good job
Thanks!!
(If this comment was disrespectful, please report it.)

 
2/3/2002 5:05:22 PMJoE

Well ive started Vb at the university I am from South Africa and i Thought it was brilliant Im doing a project for my introduction to visual basic and this is just the help I need to get good marks my project is 75% complete but there is one thing I know how to add node to a treeview but how do you delete them and is it possible to connect a treeview to a database???
(If this comment was disrespectful, please report it.)

 
2/12/2002 9:40:25 PMNiño Amores

I'm a Filipino, Just started learning visual basic. Great, this program is a great help for me.
(If this comment was disrespectful, please report it.)

 
3/6/2002 5:43:31 PMGedM

You obviously put a lot of time and effort into this - especially the detailed comments. Thanks.
(If this comment was disrespectful, please report it.)

 
4/19/2002 9:41:47 AMBHamm

I can't get the program to run (I voted anyway...).
(If this comment was disrespectful, please report it.)

 
5/2/2002 11:30:19 AMJan Richard Bodin

One word: EXCELLENT!
(If this comment was disrespectful, please report it.)

 
5/2/2002 11:21:53 PMShivanHellkite

Holla back at ya programming skillz. Nice Program, teaches me more than my Comp Sci 1 class.
(If this comment was disrespectful, please report it.)

 
5/13/2002 5:40:57 AMpatrick

Great Stuff!
(If this comment was disrespectful, please report it.)

 
5/15/2002 9:24:33 AMJohn Lumby

Just what I need - but unfortunately your code will not load under Win2k.

So I'm unhapy about that.

(If this comment was disrespectful, please report it.)

 
5/31/2002 10:32:06 AMvbnerd

true to its name. helpful not just to beginners too.
(If this comment was disrespectful, please report it.)

 
6/9/2002 12:30:49 AMAHahaz

Rollz, this program does
(If this comment was disrespectful, please report it.)

 
6/9/2002 12:32:38 AMAhahaz

Rockz, dis prog doez
(If this comment was disrespectful, please report it.)

 
6/18/2002 12:56:48 PMriver

thanks

i learn't a lot from it

river
(If this comment was disrespectful, please report it.)

 
6/18/2002 6:46:09 PMWazerface

I see you used my API code from CompControls. Although you left in the Private Sub UserControl_Resize() when you pasted it into the module... haha. Its cool you found use in my code, id be cooler still if you threw my name in there ;-) hahaha...
(If this comment was disrespectful, please report it.)

 
7/1/2002 1:35:02 PMAlvaro Tejada

I havent read your code, but what the f**k, i rated excellent. -:)
Visit http://go.to/singlepathpe
Good Luck!!!
(If this comment was disrespectful, please report it.)

 
7/12/2002 7:04:39 PMChris Richardson

I find the code to be of a great deal of help, however I seem to have just one problem. I am trying to write code that checks to see if a file exist and if not, create the file. I found your kill file form useful execpt it does nt actually ceate the file. It thinks i did, but when I tell it to delete the file, I get a file not found error and the program closes. Can you please help.

thanks,
Chris Richardon
atlind@cox.net
(If this comment was disrespectful, please report it.)

 
8/5/2002 12:14:05 AMZEO

**************************************************************************************** **************************************************************************************************** *******
If
I rebuilt, re-programmed, re-made the entire program and added more complex issues of VB to my Program, would anyone PURCHASE a copy if i markete it? PLEASE RESPONDED BY FEEDBACK IF I GET COMMENTS I WOULD CONSIDER PUTTING A YEAR A SIDE TO REMAKE THIS IN VERSION 1.940
******************************************************************************* **************************************************************************************************** *******************************************************
Thankz,
ZEO, From ZEO Interprise
(If this comment was disrespectful, please report it.)

 
8/5/2002 7:32:52 AMVlad Vissoultchev

forget about it. VB is dead! better concentrate yourself on .Net

just my $0.02

</wqw>
(If this comment was disrespectful, please report it.)

 
8/6/2002 9:28:47 AMJames Young

Very nicely done. I especially like the API stuff. 5 *s from me!
(If this comment was disrespectful, please report it.)

 
8/14/2002 1:19:29 PMto

EXCELLENT
thank you
thank you
thank you
thank you


(If this comment was disrespectful, please report it.)

 
8/31/2002 3:14:16 PM

Great Job! One stop learning is great!
(If this comment was disrespectful, please report it.)

 
10/6/2002 8:28:30 PM

Nice work! This may help many beginners too
(If this comment was disrespectful, please report it.)

 
10/10/2002 8:46:35 AMEvil Flid

Great job dude!
Keep up the good work!
Good idea to teach people how to use VB using VB, lol!
(If this comment was disrespectful, please report it.)

 
10/12/2002 3:50:28 AM

how to open binary file in richtextbox which is stored through ole msword
(If this comment was disrespectful, please report it.)

 
12/3/2002 8:47:35 AM

Thanks so much for making such a good works of yours availble for people like us to aid us in learning. More grease to your elbow please keep it up
(If this comment was disrespectful, please report it.)

 
12/3/2002 8:53:57 AM

The is very excellect code. Thank so much for making this your excellent code available for people like us to learn from. more grease to your elbow, And if you don't mind to be your friend becouse i will like to share an ideal with such great person like you.
(If this comment was disrespectful, please report it.)

 
12/11/2002 4:10:23 AM

Nice , how about more advance one or even better a dat abase one.
(If this comment was disrespectful, please report it.)

 
1/7/2003 4:15:06 AM

excellente!
(If this comment was disrespectful, please report it.)

 
1/20/2003 9:43:27 PM

Looking for Start in W2K. Please send me the fix.
(If this comment was disrespectful, please report it.)

 
2/28/2003 3:26:38 AM

After searching and searching i fianlly found something i can really use.
I am a new at VB and this is going to help me huge. I am a Perl / Php programmer and am looking to learn VB now so i dont need beginner tutorials to teach me about variables etc.. i just needed something i can read code with to help me understand it more and this is the perfect project for me to hack around with. Thanks a buch.. You saved me hours of searching on the net for some good stuff. Keep up the good work.
L8s.
Drew
(If this comment was disrespectful, please report it.)

 
3/10/2003 7:28:16 AM

Hi,
Am from Cambodian. Thank for ur good sence that had provided me a great opportunities to learn more about V.B. This is a great code that help me and other beginners also. It helps me more with my school works.
I had benn searching more about V.B, Am very happy when i saw this.
Beginner student.

(If this comment was disrespectful, please report it.)

 
4/1/2003 12:50:52 PM

Ok I am a real newbee, how do I get all your files setup into a database?

Please help
(If this comment was disrespectful, please report it.)

 
5/10/2003 6:02:18 PM

I just want to run the program, but it will not get past start up.
I cant get past your voting initiation code.
HERE IS THE PROBLEM:
Call Shell("Start.exe " & "http://www.planet-source-code.com/xq/ASP/txtCodeId.26899/lngWId.1/qx/vb/scripts/ShowCod e.htm", 0)
what can i do to make it right for my system?
thank you
peace
(If this comment was disrespectful, please report it.)

 
6/13/2003 1:38:23 PMJohn Weir

Well done very good in fact Brilliant 10 out of 10 Cooool. Im a college student learning Procedural C++ and have dabbled in VB found you're program very helpfull. The vote part was not good as it ran an error on start up but i managed to take that out and enjoyed you're application very much and used some of the code in my own VB programs. I did however go to the website and give you my vote.

Also if this program had more complex features in it i would pay for a copy of it as long as it had the code for it.
(If this comment was disrespectful, please report it.)

 
7/21/2003 8:16:20 PM

well you can always use

Dim strReplace as String
Dim strTest as String
strTest = Replace(strReplace," ", "")

(If this comment was disrespectful, please report it.)

 
8/19/2003 2:22:18 AM

Good
(If this comment was disrespectful, please report it.)

 
10/13/2003 4:31:41 AM

hore, this is i needed, thanks ..!
(If this comment was disrespectful, please report it.)

 
12/8/2003 12:11:58 AMZEO Interprise

Sorry about the start-up voting procedure, the procedure was written for Windows 9X, and not 2000 and XP. If anyone has problems just delete the entire voting procedure and it should work just fine.
(If this comment was disrespectful, please report it.)

 
12/27/2003 2:30:10 AM

This is exactly the spirit and kind of tool that makes the PSC society great. Keep up the good work.

And yes, I would be more than interested in a comercial version'
(If this comment was disrespectful, please report it.)

 
1/2/2004 2:02:31 AM

this is cool
(If this comment was disrespectful, please report it.)

 
1/22/2004 2:19:33 PM

err, i needed the C++ to VB tutorial to understand that one
(If this comment was disrespectful, please report it.)

 
2/5/2004 5:45:23 PM

Thanks Very nice program indeed.
Keep up the good work.
5*
(If this comment was disrespectful, please report it.)

 
2/23/2004 7:34:28 AM

lots of effort,but not much in detail.
love the mike myers though!
thank you fro your time and energy,especially your imagination!

(If this comment was disrespectful, please report it.)

 
3/10/2004 3:11:11 PMBryant Zadegan

Unfortunately, I gave you a 1. why? in NO application should a coder force some1 to vote. so, here I am, i gave you a 1. however, it likely wont afffect you...
(If this comment was disrespectful, please report it.)

 
3/12/2004 8:33:18 PM

You're my hero!!!! 18 globes!!!
(If this comment was disrespectful, please report it.)

 
3/24/2004 2:59:44 AMRicardo Jacobs

You are going great!
(If this comment was disrespectful, please report it.)

 
4/4/2004 9:14:37 AMPRoPHEZZoR

Wow!, Now how do I run this?
(If this comment was disrespectful, please report it.)

 
5/4/2004 1:39:06 PM__Salman__

Just Amazing!!!
(If this comment was disrespectful, please report it.)

 
7/1/2004 11:00:21 AM

First peace out much to all vb programming..
i need ur help ...
i've design program with sql server..
the data source of OLE is an excel sheet that i save in sql .. i want to ask u how to print an excel sheet in OLE ... i need a source code for it..
thanks before..
(If this comment was disrespectful, please report it.)

 
9/18/2004 6:34:37 AM

excellente!
thank you
(If this comment was disrespectful, please report it.)

 
10/15/2004 1:24:38 PM

Well Done Mate... I am a novice but you've just solved all my VB6 probs
(If this comment was disrespectful, please report it.)

 
1/2/2005 2:10:56 PM

The code to vote does not work. Has the url changed?
Otherwise great program. I've been scouring the web for this kind of stuff. Great!
(If this comment was disrespectful, please report it.)

 
4/3/2005 4:23:10 PM

this is a gr8 prog,it will help me loads! if icould id give u like 27 g`s but ill give ya 5!
(If this comment was disrespectful, please report it.)

 
4/9/2005 2:56:04 AM

I' am new in this site but everytime i log in i make it assure that i visit this site. this is fun, exciting and totally interesting.

more power
(If this comment was disrespectful, please report it.)

 
8/4/2005 4:23:26 AMJase Ong

y i vote u still cannot excute the program successfully?
(If this comment was disrespectful, please report it.)

 
8/10/2005 7:17:21 PMR

Spelt Through
(If this comment was disrespectful, please report it.)

 
8/14/2005 8:23:25 AM__

5
(If this comment was disrespectful, please report it.)

 
8/31/2005 9:36:49 AMhery

yeh yeah... ok..
(If this comment was disrespectful, please report it.)

 
9/9/2006 2:00:44 AMzahirullah

Nice Good Job ....its best yar..... welldone
(If this comment was disrespectful, please report it.)

 
6/3/2007 11:34:31 PMrycen116

cool a must have
(If this comment was disrespectful, please report it.)

 
11/16/2007 1:19:15 PMhosein pourakbar

this is 2 nice for education of elementaries. tnx

(If this comment was disrespectful, please report it.)

 
5/1/2008 11:09:06 PMeman

nice one dude

(If this comment was disrespectful, please report it.)

 
8/17/2008 2:02:38 PMBalvant

thanks for all please send him good comment
(If this comment was disrespectful, please report it.)

 
2/1/2009 3:18:55 AMsaeed

its awsome man
thnx

(If this comment was disrespectful, please report it.)

 
4/23/2009 6:18:15 PMAlok

Nice program buddy
(If this comment was disrespectful, please report it.)

 
11/21/2009 10:31:55 AMMrNewbie

Excellent ideal for newbies
(If this comment was disrespectful, please report it.)

 
6/14/2010 11:10:44 AMRon

Thank you!
(If this comment was disrespectful, please report it.)

 
9/2/2010 3:09:21 PMLeo

I got error message:

Run-time error '53':

File not found

Can anyone help me, coz I need this Code.

Thanks
(If this comment was disrespectful, please report it.)

 
3/2/2011 1:22:47 AMJeffrey Dela Cruz aka JDC_Beniz

..this is good for newbies like me,, good WORK!
(If this comment was disrespectful, please report it.)

 
8/15/2012 6:52:41 AMhariharan

i voted already with excellent. Really ur code is very useful to us
(If this comment was disrespectful, please report it.)

 
4/4/2013 3:16:05 AMZEO Interprise

$hit. I just remembered I posted this when I was like 16. Cool to read all the comments over the years.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.