1. P

    Question changing font on a text box

    hello all... I am writing a program in vb.net 2008 ... I want the user to be able to change the font on a different form, however any code that I try and write comes up with the error code property is read only.. I hope I have given sufficient detail... oh one more thing I am trying to use...
  2. A

    text box in Grid View footer row not giving correct text.

    Hi Guys, I am having a problem getting some text from a textbox inside the footerrow of a gridview if it is changed. I can get the actual text box using gridview1.footerrow.findcontrol("control name") but it gives me whatever value it was set to on load and not the changed text. Here is my...
  3. korenani

    Creating Paragraph Styles of text in window forms text controls ?

    Hi, I am really at lost here. I am trying to build a NOTEPAD/WORDPAD like application with vb.net on visual studio 2008. I need an option to define and choose (MsWord, or CSS like) paragraphs styles, such as: "heading1", "green quotes", etc. I've been looking everywhere for examples and...
  4. A

    Maximum Row number in multiline textbox

    Hello all, i am trying to put a maximum row number of lines in a multiline textbox. What i want is to achieve something like a console, with a maximum number of rows, with the top rows to dissappear and to keep always the last i.e. 500 rows. Thank you in advance! a note: for the textbox...
  5. D

    Question Having Displaymember and Valumember for TextBox

    Can we have a Displaymember and Valuemember property (like combobox) for a TextBox so that if i user types a string value in the textbox, its Text Property will have the string and Value property will have its ID (Primary Key value). Please help! Regards
  6. M

    Question Progressbar help

    Hi, for my school project I have to make a ordering form similar to that of McDonalds using visual basic. I have just added a progress bar and programmed it to start when I click the checkout button after choosing everything you would like to order and am just wondering how i could possible add...
  7. P

    Save textbox to textfile with proper vbNewLine

    I noticed a lot of queries / searches regarding saving text to a file and about formatting, but not the proper answer... when you have a textbox and you save the contents to a file : My.Computer.FileSystem.WriteAllText(SaveFileDialog1.FileName, TextBox1.Text, False, System.Text.Encoding.ASCII)...
  8. C

    Question Text inside ProgressBar's Problem.

    Hi, This is my code : Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Gr As Graphics = ProgressBar1.CreateGraphics Dim Percent As String = "" For I As Integer = 0 To 100 Percent = I & "%"...
  9. C

    Question How to focus on the very last word in the TextBox ?

    I make the TextBox1 properties become multiline and has vertical scroll. This is my code : Button1_Click : For I as Integer = 1 To 100 TextBox1.Text &= I & VbCrLf TextBox1.SelectionStart = TextBox.TextLength TextBox1.ScrollToCaret() TextBox1.Refresh() Threading.Thread.Sleep(1) Next I...
  10. G

    Question Grabbing info from listbox into textboxes.

    Hey guys, i am currently working on a form that looks like this: When i click on any textboxes under Plan Code, the plan form will pop up. When i click on a field in lbType, field will appear in my lbCode. When i click on a field lbCode, i want to be able to insert information into the...
  11. D

    Question I need help Validating my textboxes

    Hi, i'm a beginner programmer and I have designed a form with textboxes for numerical entry. I need to validate each textbox so the number entered is an integer, and is between 0-1000. I am struggling to find how to validate the data entry. Thanks :)
  12. R

    Resolved save text box info into sql database?

    Hi everyone i am trying to save the data from the text boxes on my form to my sql database but im not having any luck please can someone help me? ive simply got 4 text boxes and a save button the code for my save button is as follows. Private Sub btnSave_Click(ByVal sender As System.Object...
  13. T

    how to disable the 50 textboxs in one line coding

    any one can have a clue to disable many textbox in one line coding
  14. A

    How do you align text in textboxes (left, center, right)

    Hi all, I am using Visual Basic 2008 Express Edition. I have completed a small Windows app. On the way I noticed that I couldn't find a way of aligning the text in my text boxes (in Office VBA, which I know quite well, this would be the TextAlign property, with values TextAlignLeft...
  15. M

    Question Replace a letter in a textbox with another letter

    Im making a program in vb.net 2008. You can open txt files and type in a textbox (so far like microsoft word, almost). But the thing is you can save in a diefferent fileending (my own) and I want to cryptonize it, ( not sure thats how you say in english but hope u get it) Like if you type in...
Top Bottom