How to change control's default value programmatically? (1 Viewer)

Dezirous

Rafi Ahmed
Local time
Today, 19:41
Joined
Jul 8, 2009
Messages
71
In VB6, we can assign value in textbox or Listbox or combobox as a default value, and whenever we run our program, it shows the same value we provided during design time.

My question is that, can we assign different default values during runtime?

Purpose: I have a txt file with some values like this;
Apple
Banana
Orange

When my form loads, it loads these data into a list box. Then I use these data or modify these data and save to the same txt file.​
I want to get rid of this txt file or any database to save these little data.
Please suggest!
 

Users who are viewing this thread

Top Bottom