Search results for query: *

  1. D

    A couple of questions about the Entity Data Model Designer

    I recently started playing around with the EDM Designer in VS 2010. The database I am using has some rather complex associations built into it. For example: I have three tables of reference data; RAddress, RParcel, and ROwner. The addresses, parcels, and owners contained in these tables each...
  2. D

    Custom Tables

    I'm working on a project to view data in a particular database we have (the database's associated software has a disorganized UI). One of the features in the db software package is that it allows for a large amount of customization. Everything from custom fields to custom tables. I have the...
  3. D

    Resolved Problem removing certain tabpages from tabcontrols

    Thanks for pointing that out. I have updated the code to dispose of the tp, and it seems to work a bit smoother now. No, I am no longer using 2.0. My current project was started in VS 2008 with the target framework being 3.5, but it has been converted to a VS 2010 project (still 3.5 for target...
  4. D

    Resolved Problem removing certain tabpages from tabcontrols

    In my application, I am using several tabcontrols. Some of the tabpages are created during runtime, and I keep a list of these for the purpose of going back and deleting those tabpages. The code I use for this is: For Each cntrl As Control In root.Controls clearcontrols(cntrl...
  5. D

    SQL Insert problem

    OK, it gets even more confusing. After analyzing with a profiler, I've found that the second statement actually does execute, and is no different from the first one. A glance at the database shows that the row does get added. So, where am I getting the exception from?
  6. D

    SQL Insert problem

    It should also be noted that the primary key is not Computername, but a TicketID field set to identity. That part seems to be working fine.
  7. D

    SQL Insert problem

    I'm having an odd problem. I built a simple interface for a database, with a dialog box to add new records. The first time I add a new record, everything works fine. The second time, though, I'm getting an error about a particular field not allowing NULLs. Take a look at the code : Public Class...
  8. D

    How To Debug Designer Code

    In the Solution Explorer, there is a button up top that pops up with a tooltip reading "Show All Files". If you click that, you'll be able to browse all of the files where generated code is stored. The code generated by the Dataset is listed in a file that will be named something like...
  9. D

    Confused about the for/loop statement.

    And a better way to say it would be : For labelCounter = 20 to 25 print labelCounter Next
  10. D

    Code to get computer 's info

    Also look into WMI. It contains info on almost anything you want to know.
  11. D

    passing info between forms?

    Try form1.glbVar = result
  12. D

    Copying new files

    What do you mean by "didn't work"? Did it still overwrite the files, or did it throw an exception? Anyhow, there's a much easier way of doing this : Imports System.IO ... Private Sub cmdCopy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCopy.Click Dim...
  13. D

    File Not Found error when file actually exists

    With Windows Embedded, I think you are limited to the Compact Framework. Are you using this?
  14. D

    Question Intepret Bytes Recieved over network.

    If you would rather write your own, you'll have to reference a 3rd party library such as WinPcap.
  15. D

    Question Forms .vb?

    ...they just changed the extension. Why is this a problem?
  16. D

    Searching through a datagridview with a textbox

    The form I used contained a textbox and a combobox. The cbox was used to select the column, and, as the user typed in the tbox, the matches were filtered as they typed. The code I used for this is listed below. Private Sub TBCHSearch_TextChanged(ByVal sender As System.Object, ByVal e As...
  17. D

    Why do I get 'object could not be found' or 'invalid object name'?

    It would be helpful to see the code that is giving you this error
  18. D

    test for existence of MS Office

    WMI will give you a list of installed apps. I guess you could just parse that and compare.
  19. D

    Question Connection timing out?

    *slaps forehead* Leave it to me to make it more complicated than it needed to be. It appears to be working now, with the code you provided. If there are any other obvious problems you see in the code, please let me know. This is my first full program utilizing LINQ. Also, would I be correct in...
Back
Top