| | | Forum Newbie
       
Group: Forum Members Last Login: 4/7/2010 2:52:10 AM Posts: 1, Visits: 2 |
| | hi i have made a listbox in which u can add a number.but what happens if i add a something else in the listbox accept number than whole programme shut down .i want my list box make in such a order that u can only enter number or . nothing else please if somebody solve my query it would be better. thanking u
rahul |
| | | | Forum Member
       
Group: Forum Members Last Login: 4/12/2010 10:24:58 AM Posts: 35, Visits: 70 |
| | | | | 
Forum God
       
Group: Forum Members Last Login: 6/30/2010 9:01:29 PM Posts: 503, Visits: 2,337 |
| | | | | 
Forum God
       
Group: Forum Members Last Login: Today @ 11:19:17 AM Posts: 1,795, Visits: 4,572 |
| Welcome to A1vbcode rahul.  rahul_x2001 (3/20/2010)
hi i have made a listbox in which u can add a number.but what happens if i add a something else in the listbox accept number than whole programme shut down .i want my list box make in such a order that u can only enter number or . nothing else please if somebody solve my query it would be better. I'm just wondering why you need to add numbers to a ListBox? As you add a number then you add another number the second number will go on a new line unless you remember the text then Clear the ListBox and add the second number to the original numbers. The program shouldn't shutdown what ever you're adding to the ListBox. There is something in your code thats making it shutdown. Please post your code inside Mark's Syntax.zip What are you trying to achieve exactly? 
Keith http://www.martin2k.co.uk/forums/index.php?act=idx I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
| |
|
|