Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tekrobg

  1. tekrobg

    ComboBox Properties, Borders, etc.

    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.
  2. tekrobg

    Insert line where cursor is, not at bottom

    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...
  3. tekrobg

    Convert an rtf File to an html File?

    The text box will have only plain text and bold text.
  4. tekrobg

    Convert an rtf File to an html File?

    Is it possible to convert an rtf file, like one from an rtf text box, to an html file? Thanks.
  5. tekrobg

    Programming the X (close) button on a form

    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...
  6. tekrobg

    CTRL + A Hot Key Not Working in Text Box

    korach: Thanks for the help, and thanks for the added tip about the beep - I didn't even think of that.
  7. tekrobg

    Programming the X (close) button on a form

    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.
  8. tekrobg

    CTRL + A Hot Key Not Working in Text Box

    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.
  9. tekrobg

    Anchor and Maximize Problem

    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...
  10. tekrobg

    Limiting a Result to Two Decimal Places

    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.
  11. tekrobg

    Saving File Name as a String from a Text Box

    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)
  12. tekrobg

    Saving File Name as a String from a Text Box

    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...
  13. tekrobg

    Save Text Box to a Text File

    Actually, I need some boxes to save as a txt file and some others to be rtf files. Can someone elaborate on the rtf save method as well?
  14. tekrobg

    Save Text Box to a Text File

    How would I save the contents of a multi-line text box to a text file?
  15. tekrobg

    From TextBox to WordPad

    Is there a way to take text from a textbox, put it into WordPad, and save it as a file? All of this when the user clicks a button on my form.

Part and Inventory Search

Back
Top