Forum: VB.NET Apr 13th, 2008 |
| Replies: 6 Views: 3,052 Private Sub btnAddNewItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddNew.Click
Dim myConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data... |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 12 Views: 1,511 Hi,
When I tried to add your code, it reads an error saying 'Option strict On disallows implicit conversions from 'Integer' to 'String'. |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 12 Views: 1,511 Hi,
I have a quick question.. regarding my data.. when I make the customerID as Number in the access database, it is prompting a error 'data type mismatch in criteria expression' however, when I... |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 12 Views: 1,511 Thanks for your help!
I just thought maybe I could do it on just one button, but I guess it doesn't work... Once again, thanks for your help .. really appreciate it:) |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 12 Views: 1,511 Hi,
Then how would I go about this? See, the concept is when I do a search, the info will be populated onto all the textboxes and if I tried to add a new item after that, the data from the search... |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 12 Views: 1,511 Hi,
Well, on clicking 'add new item', it should clear the textfields, so that the user can input their new details. |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 12 Views: 1,511 Hi,
Here is the code:
Private Sub btnAddNewItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddNew.Click
Dim myConnection As New... |
Forum: VB.NET Apr 10th, 2008 |
| Replies: 6 Views: 3,052 Hi,
I am getting an error called 'Data type mismatch in criteria expression'. This only happen when I tried to add an item. Can anyone tell me what is the problem with my code? I am using... |
Forum: VB.NET Apr 9th, 2008 |
| Replies: 12 Views: 1,511 Hi,
I have a question regarding my vb.net code. I have a button called 'Add New Item', when the user clicks on that button, the text fields should be clear. I tried this code... |
Forum: VB.NET Apr 8th, 2008 |
| Replies: 6 Views: 1,594 Hi,
Thanks for all your help! It worked....:) |
Forum: VB.NET Apr 7th, 2008 |
| Replies: 6 Views: 1,594 Hi,
Here is my code to do a Select function. However, how do I modify this code to do a search function. In other words, the user has to input the customerID onto a textbox 1, which then... |
Forum: VB.NET Apr 7th, 2008 |
| Replies: 6 Views: 1,594 Hi,
Okay, If I were to search the ID, how do I go about that. Can you provide me a sample code? Thanks |
Forum: VB.NET Apr 4th, 2008 |
| Replies: 6 Views: 1,594 Hi,
I need help with importing database into form. The problem that I am having is, when a user inputs their firstname into textbox1, it should search for their name in the database (MS Access) ,... |
Forum: VB.NET Mar 26th, 2008 |
| Replies: 2 Views: 1,266 Hi,
I am using Northwind database and I am trying to delete the Products information from the Products table using SQL. However, when I tried to do that, it says that it can not be deleted... |
Forum: VB.NET Mar 25th, 2008 |
| Replies: 6 Views: 555 Hi Alekhan,
Here is the sample code:
Dim myConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\ nwind.mdb;User Id=admin;Password=;")
Dim myCmd As New... |
Forum: VB.NET Mar 25th, 2008 |
| Replies: 6 Views: 555 Hi Alekhan,
Yes, that is the issue that I am having. I am stuck pretty much there. How do I delete the relationship by using the code rather than doing it manually?
Thanks |
Forum: VB.NET Mar 25th, 2008 |
| Replies: 6 Views: 555 Hi Alekhan,
I need to delete from the table called 'Salary' in where there is a column called 'hours'. How do I do that?
Thanks |
Forum: VB.NET Mar 25th, 2008 |
| Replies: 6 Views: 555 Hi,
I have used oledb connection with sql to populate one of my listbox with data from the database. However, I have to remove. on click of a button. the information from a specific table called... |
Forum: VB.NET Mar 15th, 2008 |
| Replies: 6 Views: 3,596 Hi,
I have a quick question. I have a listbox, on click 'all' btn, it should transfer to the right listbox. So, those are working fine. However, I have to prompt an error message when the user... |
Forum: VB.NET Mar 14th, 2008 |
| Replies: 6 Views: 3,596 Hi,
I have an another quick question, since I am new to vb.net..
I got all the listbox buttons working fine now..
When a user clicks on any of the buttons without choosing an item from the... |
Forum: VB.NET Mar 14th, 2008 |
| Replies: 6 Views: 3,596 Hi,
I have an another quick question, since I am new to vb.net..
I got all the listbox buttons working fine now..
When a user clicks on any of the buttons without choosing an item from... |
Forum: VB.NET Mar 13th, 2008 |
| Replies: 6 Views: 3,596 Hi,
I need help with Listbox. I have two listboxes and when one selects from the listboxLeft it should go to listboxRight and that seems to be working fine. However, when I tried to remove the... |
Forum: VB.NET Mar 11th, 2008 |
| Replies: 3 Views: 2,079 Hi,
Can someone help me with Listbox issue in Vb.NET. I have two listboxes and I want on a click function, to transfer selected items from listbox 1 to the listbox 2. How do I go about that?
... |
Forum: VB.NET Feb 1st, 2008 |
| Replies: 22 Views: 4,601 Hi,
I have a quick question, I have this code on the combobox and I wonder how I should change this to the Select..Case format:
'If the user select a Minus sign on the combobox then
... |
Forum: VB.NET Feb 1st, 2008 |
| Replies: 22 Views: 4,601 Hi,
Thanks for that code. It worked fine. Sorry to bother again, but if I were to use a Select.. Case function, where would I implement it and how? Is it possible to implement it on the Textbox 3,... |
Forum: VB.NET Feb 1st, 2008 |
| Replies: 22 Views: 4,601 Hi,
Thanks for that code. It worked fine. Sorry to bother again, but if I were to use a Select.. Case function, where would I implement it and how? Is it possible to implement it on the... |
Forum: VB.NET Jan 31st, 2008 |
| Replies: 22 Views: 4,601 Hi,
Thanks for the quick response. Since I am totally new to VB.net, I have so many questions in my mind. First of all, if I were to restrict the user from tying an alphabet characters, how... |
Forum: VB.NET Jan 31st, 2008 |
| Replies: 22 Views: 4,601 Hello,
I have four textboxes in my calculator. Textbox 1, Textbox 2, Textbox 3 (acts for the Operand) and Textbox 4 (the result).
I have a button called Result and when clicked, I want the... |