Search results for query: *

  1. A

    Why can't I access tables in a dataset by table name?

    I don't know what happened, but it has mysteriously started working again. Sheesh! Maybe it was some trailing or leading spaces somewhere. Thanx for your help!
  2. A

    Why can't I access tables in a dataset by table name?

    I get the table names, for example ContentSites, AppVars, LocalContent etc.
  3. A

    Why can't I access tables in a dataset by table name?

    Not sure what you mean by typed/untyped but I declared it originally as Public Shared GlobalDataSet As DataSet I have a function that reads a text file and creates tables and populates them and assigns them to GlobalDataSet. And I uses the following to add tables (example)...
  4. A

    Why can't I access tables in a dataset by table name?

    In my VB.Net desktop application, I have several places where I am accessing a table, both for reading and for updating. For example: Dim tempCount As Integer = Glbl.GlobalDataSet.Tables("Profiles").Rows.Count The above does not work. However, the following does: Dim tempCount As Integer =...
  5. A

    ChildForm pops Parent Main Tool strip... Help

    No it is a bug That is NOT how MDI "always works". My MDI interface worked fine and maximized fine within the container form. Only after I add a ToolStrip did I start to have the problems described by the OP. Anyone find a fix for this? Thanx, AG
  6. A

    LoadDataRow - Inserts or Updates?

    I did find one solution which is completely counter-intuitive. It says to use DataSet.AcceptChanges before doing this. The funny thing is that it appears to work. The row does update or insert correctly.
  7. A

    LoadDataRow - Inserts or Updates?

    Where does one use the LoadOption? I am not sure where this option is. I don't think I am using it. Of course there are the two option in LoadDataRow that you can see.
  8. A

    LoadDataRow - Inserts or Updates?

    The documentation says that LoadDataRow updates or inserts based upon whether the row exists or not. It does not say so in the documentation, but I figured the only way for it to know that is for it to check the Primary key. So, in my dataset, I defined a Primary key for the table, like this...
  9. A

    Image Button Problem: "SetPixel is not supported for images with indexed pixel format

    Setpixel cntinued But I am not really trying to make any changes to the image. All I am trying to do is enable and disable the control. Perhaps VB itself is changing the image (by greying it when disabled). What is the point of an Image Button if it cannot be enabled/disabled? Anil
  10. A

    Web Browser Control Exception

    I ahve embedded a WebBrowser in a Windows App and I am getting this error: WebBrowser Unable to get the window handle for the 'AxWebBrowser' Control. Windowless ActiveX controls are not supported. I searched the web and found a lot of references to the error but for the condition when the...
  11. A

    Image Button Problem: "SetPixel is not supported for images with indexed pixel format

    Image Button Problem: "SetPixel is not supported for images with indexed pixel format I am using an Image Button from Microsoft's Power Pack. When I use the .Enabled=True/False I get the following error "SetPixel is not supported for images with indexed pixel formats" I am using GIF...
Back
Top