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...
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
but it gives me whatever value it was set to on load and not the changed text.
Here is my...
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...
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).
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)...
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 :
For I as Integer = 1 To 100
TextBox1.Text &= I & VbCrLf
TextBox1.SelectionStart = TextBox.TextLength
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 :)
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...
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...