I finally got it to work the way I wanted, I can connect to the database no matter were it is, even to the flash drive. Also as long as the table I am binding to is in the databse it will connect.
The trick is you have to hard code it with the "Microsoft Jet Driver" and also have the...
I think I am on the right track. At least I hope I am. I am useing the "OpenFileDialog" to start when the program first runs to find the database. But when I click on the database I get this error. Could someone Please tell me what I am doing wrong. Since this is wrong could someone let me know...
Hope this is the right form. I use the wizard to make my queris. I can edit, save and delete but can't add a new row. Could someone please help, I am going nuts with this. I want to use this for work, so that I don't have to open the database with access and then do a search in the table.
I need to know how I would setup my program so that after I make it a .exe and install it on another computer it give me the option to connect to a database on a server? Can someone guide me to a sample or a link as to how to do this.
Almost all fix, Need som help
I got it to almost run perfect for now. Just have one error comeing up that has me lost. Could someone Please help?
This is the error: "Column 'Expr1' does not allow nulls."
and it is happening on this line of code.
Could someone please help. I can't seem to get anything added to a new row. The programs builds, I can go back and forth between records but can't add to the database. This is my code. I am not sure were my problem is, this isn't for school but for work to make things a little bit easy for me...
This is what I have declare globally in the program.
Dim currManager As CurrencyManager
Dim lblPosition As Label
Dim SaveDiskName, SaveDiskID, SaveCategory, SaveQuantity As String
Dim edit As Boolean
Dim Mboxmessage As String
Maybe this pice of code I am useing in my program will help you with your problem. I was haveing a problem with adding to my database untill I found that I was missing one line of code.Hope this might help you.
PrivateSub btnAdd_Click(ByVal sender As System.Object, ByVal e As...
I don't understand why I am getting this error when I try and run the program. This is just a smiple program I am trying to do from the book, but I am useing my own database. I am getting this error when I try to use "ShowPosition()" And this is the error I get. "An unhandled exception of type...
I don't understand why I am getting this error when I try and run the program. This is just a smiple program I am trying to do from the book, but I am useing my own database. I am getting this error "An unhandled exception of type 'System.NullReferenceException' occurred in DVD Inventory.exe" If...
I now have it were I don't have any errors, I made sure the boxes are the right name. That was a problem. The problem is that I only get a value in the first box which is 180. The other 2 boxes show a zero. What could be wrong now? This is the code I now have.
Dim Declinning AsDecimal
I see your point. I am now pasteing the code I am trying to use. I get the first box to read, but the second one doesn't give a output and the last gives a zero.
Dim Declinning AsDecimal
Dim StraightLine AsDecimal
Dim SumOfYears AsDecimal
Dim DeclinningBalance AsDecimal
I have been trying stuff, and I just notice that you replied back. I got it to work to a certain part. I am haveing a problem getting TXTDeclinning.Text to declair. I am posting the code that I now have, the last line of code is rem out but that is where the problem is.
I am useing a scroolbar, not sure if that will cause a problem it shouldnt'
I am useing txt boxs for the out put and the last 3 lines of code doesn't put the output to the txt boxs. The names for the TXTBoxs are:
Every way I try...