I am new to programming. Is there a way to eliminate the border around a combo box? I'm looking for a list of property commands for various different properties for controls.
Thanks.
I have a text box that automatically puts a bullet and space (- ) at the beginning of the next line when the user hits enter. It works fine, but now I discovered that if the user inputs many lines of data, then decides to add some data in the middle of all that data and the cursor is placed at...
I found the OnClosing event in the Overrides section of the form (I'm assuming that's right). Here's the code I put in it:
vb/
Protected Overrides Sub OnClosing(ByVal e As System.ComponentModel.CancelEventArgs)
If MsgBox("Are you sure you want to exit?", MsgBoxStyle.YesNo Or...
I am new to programming. Where can I program the X (close) button on a form? I just want to put in a dialog box asking if the user is really sure they want to exit the program.
Thanks for any help.
I am new to programming. The "Select All" hot key (CTRL + A) does not work in any of my text boxes. Do I need to program it to work in a text box? How should I do that?
Thanks for any help.
I am new to programming. I have a form with two columns of textboxes. I anchored the left column to top-left and the right column to top-right. When I maximize the form, it works; however, I want the two textboxes to expand horizontally and maintain the same distance from each other in the...
I am new to programming. I declared a variable and then multiplied the number in a textbox by another decimal number. My result shows in a label, but to 6 decimal places. I just want it to output to 2 decimal places and rounding appropriately.
Thanks for any help.
It seems like that should work, but it doesn't put the string from the text box in the "File Name" box of the SaveFileDialog box.
Any other ideas?
Should the line look like this?
RichTextBox1.SaveFile(SaveFileDialog1.FileName = TextBox3.Text, RichTextBoxStreamType.PlainText)
I want my SaveFileDialog to put the string from a text box as the name to save the file as. For example: the user enters "My File Name" in a text box. I want "My File Name" to show up in the SaveFileDialog Box as the file name to save as.
Here is my code for the button click:
vb/
Private Sub...
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.