Search results

  1. W

    On The Right Track [RESOLVED]

    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...
  2. W

    On The Right Track [RESOLVED]

    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...
  3. W

    Can't add Row

    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. Here...
  4. W

    How To Connect to Database after Deployment

    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. Thank You WackoWolf
  5. W

    Can't add Row

    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. DsNetwork1.tblFreeIP.Rows.Add(newrow)...
  6. W

    Can't Add Row

    The SQL was done with the Wizard. Can anyone help me as to why I can't add a new row in the data table? I can edit a row and save it but can't add a row. Thank You WackoWolf
  7. W

    Can't Add Row

    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...
  8. W

    Why This Error

    Now I really feel dumb for the way I did this thing, keep saying to myself that it needed a lable to work. I will try that now. Thanks WackoWolf
  9. W

    Why This Error

    Thank You, I am sorry for the way I first posted the question, I now understand that I need to post in the right form. WackoWolf
  10. W

    Why This Error

    How would I go about Adding it to the form in design time? Or is there a way to fix it to work with the way I have it now? Thank You WackoWolf
  11. W

    Why This Error

    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
  12. W

    Need a little more help but getting closer

    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...
  13. W

    Why This Error

    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...
  14. W

    Auto Number

    I didn't know about MSDE, is it easy to use. I will try it. The Program is for me and not a school project. You say it came with Studio, how do I go about accessing it? Thank You WackoWolf
  15. W

    Auto Number

    Is there a way to have auto number active for a field like Disk ID? or do I have to have it turn on with access?
  16. W

    Why This Error

    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...
  17. W

    Need help with Calculation

    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 Dim...
  18. W

    Need help with Calculation

    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 Dim ItemCost...
  19. W

    Need help with Calculation

    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. [code] Dim Declinning...
  20. W

    Need help with Calculation

    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: 1. TXTDepreciation 2. TXTStraightLine 3. TXTDeclinningBalance Every way I try...
Top Bottom