No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
-My code sutomatically adds a hyphen at certain positions in the string, but I am unable to delete the second hyphen if I want to edit what I've typed in before that. Is there a way to fix this? Private Sub txtISBN_KeyPress(sender As System.Object, e As System.Windows.Forms.KeyPressEventArgs) Handles txtISBN.KeyPress If … | |
I want to delete 2 characters at once if I hit the backspace at a certain position of the string. How can this be done? | |
-We should only be able to enter ISBN's in this format, 0-1234567-8-9 or 0-1234567-8-X. -What I have now automatically inserts hyphens at a certain text length but doesn't let me delete the hyphens that have been added (besides the last one) -So how would I be to delete the hyphens? … | |
1) Could anybody tell me why I am getting a NullReferenceException when I hit exit? 2) Also, how would I display my txtPrice in currency form ($0.00) 3) How would I disable my navigation buttons at the same time once they reach the end of the datagrid? Option Strict On … | |
I keep getting a NullReferenceException. Any help would be great! Private Sub fillpub(ByVal argPubID As Integer) Dim drpub As _books_Fall2012_A2DataSet.PublishersRow drpub = _books_Fall2012_A2DataSet.Publishers.FindByPubID(argPubID) If drpub.IsNameNull Then txtPublisher.Text = "" Else txtPublisher.Text = drpub.Name End If If drpub.IsAddressNull Then txtAddress.Text = "" Else txtAddress.Text = drpub.Address End If If drpub.IsCityNull Then … |