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!
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)...
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 =...
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
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.
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.
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...
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.