.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 23rd, 2003, 01:03 AM
vikram_slayer vikram_slayer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 18 vikram_slayer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to vikram_slayer
VB.net question

hi,

I basically am creating an application for creating a wordlist and modifying it for later usage.

my problem is the following..

from within form2..
ComboBox1.Items.Add(Form4.tbox1.Text)
ComboBox2.Items.Add(Form4.tbox1.Text)
ComboBox3.Items.Add(Form4.tbox1.Text)

i am accesing a textbox contents in another form in this form. The item gets added to the combo box collection , but when i exit the current form and come back to this form later ...the added items are not permanently updated in the combobox. I find an empty combo box.

Could someone kindly tell me what exactly i need to do..such that the contents i add to the combobox exist permanently(even if i close the app and startup preferably)

Thanks

Reply With Quote
  #2  
Old January 18th, 2004, 08:58 AM
nomi007 nomi007 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Pakistan
Posts: 8 nomi007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
As you are getting values from Form1 for the combobox so when u closes the Form1 values automatically disappears from comboBox. Save the values of Form1 in some array or Strings then add those Strings or array in the comboBox. Or instead of destroying Form1 just make it hide.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > VB.net question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT