Important alert: (current site time 7/15/2013 7:43:10 AM EDT)
 

winzip icon

a few listbox examples

Email
Submitted on: 9/24/2002 6:31:39 AM
By: Stefan, Moo i am a cow 
Level: Beginner
User Rating: By 10 Users
Compatibility: VB.NET
Views: 27772
author picture
(About the author)
 
     here are just a few basic things that a listbox can do, i am new to thsi code and this is basicly what i can do! :P i am new to VB.NET ( been going for 3 days now!!! ) and i think what i have lernt is blood good! please leave me comments so i can see how i am going, and a few tips ( i still don't know how to open a new form within a form!! or how to access a form via another form, for example, add a item from a listbox in form2 to the listbox1 in form1,) if somone could help that would be spanking!

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :a few listbox examples
//**************************************
i am GOD!
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.

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.

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/25/2002 3:47:05 AM

Opening a Form from a diferent form, Dim Frm as new FormName
Frm.Show - (Non Modal)
frm.ShowDialog - (Modal Form)

To be able to access a list box in form1 from form2, you have to declare a variable of type listbox as public,
Public Lb1 as listboxName

And call it: formName.lb1.additem

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

 
9/25/2002 4:12:36 AM

thanks alot man! your a great help!
(If this comment was disrespectful, please report it.)

 
12/21/2002 9:07:57 AMtHe_cLeanER

stefan is a sex god!

(dont ask me how i know...) nice job.. 5 from me
(If this comment was disrespectful, please report it.)

 
12/7/2003 9:04:32 PMhungheykwun

this taught me a lot.thx
(If this comment was disrespectful, please report it.)

 
8/4/2005 7:00:22 AMRagupathi

this web site is very useful for develop a programming concept area. i like it .

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

 
8/30/2005 2:15:40 PMMartin

This is Useless!!
(If this comment was disrespectful, please report it.)

 
10/6/2005 3:23:37 AMHenry

i think your code is good for noobs
(If this comment was disrespectful, please report it.)

 
5/24/2006 7:27:14 PMDave

This wasn't very good.
(If this comment was disrespectful, please report it.)

 
1/31/2007 1:48:15 AMJ

its good for people new to vb.net, I learned the same thing in the same day, but before I read his code. its too simple
(If this comment was disrespectful, please report it.)

 
9/24/2009 1:50:40 AMtim

already proud for what you have done?
Bogus
(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.