I'll try to be brief and yet clear about what I want to accomplish.
My aim is to have a textbox in which a page of information is already written for the user to read. This box will have a vertical scrollbar, so I can't simply superimpose a button over the textbox. What I would like is to be...
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...
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...
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...
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...
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
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...
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)...
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 & "%"...
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...
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...
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 :)
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...
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...
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...
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.