I have a WinForm that I do not want the use to resize. I don't see a Resizable property that I can set to false. So I enforced it by setting the maximum and minimum size of the form to the same.
First of all, is there a better way to do that? Secondly, I don't want the cursor changing when...
I have a list of items to display to users in a VB.NET WinForm app. The list will be mostly plain text, with some hyperlinks sprinkled in, as well. I don't want the text to be edited. (Probably not relevent, but the text is coming from a stored procedure, one "item"/line per row of the...
I have a ListView with several ListViewItems, each ListViewItem has an item and 4 SubItems. My ListView has a bunch of empty ListViewItems that I need to remove from the ListView.
Could someone please help me with a little sub into which I could pass a ListView and it will remove all but 5...
I have a form with two buttons in the lower-right hand corner that I've anchored with the Designer to the top-left. My form's Minimum, Maximum, and starting size are all fixed at the same size, i.e. it won't be resized. At one point in my app, there is more stuff than fits on the form...
I have a sub that changes the cursor using:
Cursor = Cursors.WaitCursor
Later in the code, I use:
Cursor = Cursors.Default
to change it back. But the cursor switches back to Default prematurely - before that line is actually executed (as observed when stepping through with the...
Big,
That is terrific!!! As far as what you wrote:
I don't understand why - but it's getting handled with exactly what you wrote...
Thanks so much - it's great!
(star)
Dot
Linney, I tried promoting the user to admin - but still was not able to change the default printers. Could you please clarify this:
I looked for that by right-clicking on My Computer | Manage - but couldn't find those options. Could you please be very specific - i.e. pretend you're explaining...
TipGiver,
Of course I tried it before replying... :-) But, as I said, if they check a ListViewItem, it actually doesn't dis/able the buttons until they move their mouse. This is a behavior that I've observed when trying your code. For some reason, however, it works just fine if they...
Well, I don't really think MouseUp is the right event. If a user just un/checks a checkbox, nothing happens until they move the mouse. Isn't there a way to use ItemCheck (which would seem to be the right event) to get it to do what I'd like it to do?
Thanks,
Dot
I have the following event handler: Private Sub lvwRequests_auth_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles lvwRequests_auth.ItemCheck
If lvwRequests_auth.CheckedItems.Count = 0 Then
btnApprove_auth.Enabled = False
btnView_auth.Enabled =...
Linney, thanks for the ideas!
Regarding the first idea, will promoting and then re-demoting them possibly cause any unwanted changed - like unexpected rights to folders that I've locked them out of, or administrative rights that might linger - or should that be 100% clean?
Thanks,
Dot
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.