Question alter code from a form

ccman

New member
Joined
May 5, 2009
Messages
2
Programming Experience
Beginner
Is it possible to alter or add to the VB code through a form?

I have a combobox that has a list of over 3000 vendors. The edit list that comes with combobox will only hold a little over 1700 lines, so I used the combobox1.items.add to the (form1 events - load) code. Now I have access to all 3000 + vendor names in the ComboBox1. But if I design an add vendor form, how would I code it, so the vendor would be added to the bottom of the items.add list in the code?

Thanks
 
Hello

You should rethink your application design...especially the way you're storing this list. If you have no Database (Access, OO Base, Firebird, MySQL, PostGreSQL) at hand, then at least consider using a XML file for storing this information, so that it is editable to you.

To answer your question directly, there are ways to alter code afterwards, but none which helps you (Cecil - Mono , Reflexil).

Bobby
 
Back
Top