Forum: VB.NET May 15th, 2009 |
| Replies: 4 Views: 840 Do you think there are users of your application out there who want to search through a 45000+ lines combobox to find the city they want? |
Forum: VB.NET May 11th, 2009 |
| Replies: 6 Views: 1,325 What is wrong with the following in btnAdd_Click ?
Dim total As Double = CDbl(txtNum1.Text) + CDbl(txtNum2.Text)
That way you don't need number1 and number2.
Now convert total back to text and... |
Forum: VB.NET May 6th, 2009 |
| Replies: 10 Views: 2,105 Use a custom format:
Like so :
dateTimePicker1.Format = DateTimePickerFormat.Custom;
dateTimePicker1.CustomFormat = "HH:mm";
HH meaning 24 hour with 2 digits
mm meaning the minutes. |
Forum: VB.NET May 6th, 2009 |
| Replies: 10 Views: 2,105 How would you enter time in a textbox? Which format would you use? How would you validate the input of the user?
I would consider a DateTimePicker control for that. |
Forum: VB.NET Mar 22nd, 2009 |
| Replies: 3 Views: 326 Dim rnd As New Random()
R = ListBox1.Items.Count - 1 ---> R = ArraList1.Count
ListBox1.SelectedIndex = Rnd() * R ---> int SelectedIndex =rnd.Next(0,R)... |
Forum: VB.NET Mar 22nd, 2009 |
| Replies: 3 Views: 326 Change ListBoxN.Items to ArrayList |
Forum: VB.NET Feb 18th, 2009 |
| Replies: 3 Views: 711 NewcomplaintForm.vb ----> Visual Basic? ----> VB.NET |
Forum: VB.NET Feb 16th, 2009 |
| Replies: 16 Views: 1,398 Handle the KeyDown and KeyPress events of a textbox.
Check if every key pressed is numeric. |
Forum: VB.NET Feb 16th, 2009 |
| Replies: 1 Views: 268 Don't annoy a user.
When the action is save, save and nothing else.
Why not show him the latest Bond film after he did a save?
But if you really must : the last line in your save method, should be... |
Forum: VB.NET Feb 12th, 2009 |
| Replies: 2 Views: 859 Are we talking about a DataGrid or a DataGridView here? |
Forum: VB.NET Jan 23rd, 2009 |
| Replies: 1 Views: 318 If I had an easy to sold application developed why would I tell you about it?
As an example : I can download almost 10000 applications on my iPhone for free or for a few dollars, look them up,... |
Forum: VB.NET Jan 12th, 2009 |
| Replies: 5 Views: 718 My.Computer?
Where is the code where you try to use My.Computer?
Which error message do you get?
This is the same as telling me: "My car won't start, start it." |
Forum: VB.NET Jan 12th, 2009 |
| Replies: 9 Views: 3,526 Teme64 points you to a thread where a question is asked some code is given and what was already done.
What you are saying Eyo is : "I HAVE AN ERROR, SOLVE IT!" That's why I came up with the car... |
Forum: VB.NET Jan 11th, 2009 |
| Replies: 9 Views: 3,526 My car won't start!!! Help plz.
Which car?
What are the circumstances in which it won't start?
etc.
etc.
Please refrase your question. |
Forum: VB.NET Jan 5th, 2009 |
| Replies: 1 Views: 284 Look at http://www.microsoft.com/express/
Find Visual Basic, download is free. |
Forum: VB.NET Jan 4th, 2009 |
| Replies: 4 Views: 1,981 I think you need to check out the DropDownStyle property.
Set it to DropDownList. |
Forum: VB.NET Jan 4th, 2009 |
| Replies: 4 Views: 1,981 A ComboBox, as it's name implies is a combination of a TextBox and a ListControl.
If you type an 'a' into the "TextBox" you will see that the ComboBox.Text property contains an 'a'. To put that 'a'... |