VS 2008 Ignoring Text In A TextBox?
Oct 3, 2009How would I make the program ignore text? For example if I type in Notepad.exe the program will ignore .exe
how would I make the contents in a textbox NOT case sensative?
How would I make the program ignore text? For example if I type in Notepad.exe the program will ignore .exe
how would I make the contents in a textbox NOT case sensative?
I have some textboxes bound to a bindingsource and bindingnavigator.
I want to detect when the values have changed and prompt the users to confrim if they want to update.
When the form is first initalised and when then binding navigator moves to the next record the text_changed event fires on textbox where I have a boolean to determine if things have changed.
Is there a way to set my boolean only when valid data changes have occured or a better way to detect if things have changed
I am trying to create an applicaiton that will verify that a large text file used far a CNC machince
has all of the operations in order (someone may have edited the file by mistake) I wish to bubble
sort the lines of the file while ignroing other lines. I really stuck on how to set up and handle
this program. Here is what I have thus far (just started).[code...]
I've Googled the problem "disappearing menustrip" and have found no help.Not only is my menustrip1 disappearing when I debug, but any new buttons or changes are completely ignored by the debugger.Is there some kind of memory I have to clear?
View 5 RepliesI have a weird problem that seems to of started happening yesterday afternoon. Basically, VS seems to of decided to act as if I had set like a "On Error Resume Next" style rule where instead of telling me about exceptions it just ignores them completely.For example, I just created a fresh new project and stuck this in the form_load event:
vb.net
My.Computer.FileSystem.ReadAllText("rubbish")
So that should error and tell me that it could not find the file, but instead the form just loads and ignores that code.Obviously this isn't right..
A] Is there any way of stopping a user from entering text or changing text in a textbox without disabling it or
B] Is there a way of changing the texboxes back and fore color whilst it is disabled?
I cant seem to find any link or topic regarding my problem. I have 2 forms in a project, form one has labels and adjacent combobox while the other form (form 2)has textboxes with adjacent combobox. I am supposed to change the text property of the labels using textbox entry from form 2 and add/delete/change combobox contents in fom 1 using entries combobox at form 2.
View 13 Repliesi have 2 forms.in form1: i have 1 combobox in form2: i have 1 textbox and 1 button...I want to make in form2 when i enter some text in the textbox and press the button the text to be added in form1 combobox
View 2 RepliesIm using the following code to wrap html tags around text in a texbox and transfer the text to a single multiline textbox from form1 to form2.[code]My problem is that if for example textbox5 and textbox6 are empty i want the program to continue anyway.
View 6 RepliesHow can i make a textbox so like when a button is pressed how can i make the textbox select a random text and put it in its text box.
View 7 Repliesim trying to have the user press a button and a window pops up to select a file. then it reads the file and puts it in a text box. how could i do this?
View 1 RepliesLblPPG.Text = Val(TextBoxPP.Text) / (TextBoxQTY.Text)
This is the only way I know how to obtain the info I need for this equation but if generated again with no input from the textboxes I get an error. Is there anyway to bypass this if its generated a second time with no inputs?
In my tabcontrol I have a linklabel and textbox made through code. The goal is to open a url from the textbox by clicking the linklabel I add the linklabel and textbox:
[Code]...
I have a textbox "myTextbox" and a listbox "myList" which shows a list of strings e.g "AAA", "BBB", "CCCC".When the user clicks on an item from the listbox the text must be appended to the end of whatever is in myTextbox with a space preceeding it. e.g " AAA".The user must never be allowed to delete the added text.The user must be allowed to manually enter text in the textbox but it must always be in front of the added text. They must never be allowed to type over the added text or after the added text.I have been trying to get my head around this for a day now and cannot figure it out.
View 7 Repliesi have 2 textbox's and 1 button i have 1 big textbox that has a buch of number's in it and the number i want to delete is in the top textbox how can i delete number 2 ? from the big textbox ?
View 11 RepliesI have two text boxes with a word in each. I am trying to remove both these words from another textbox.
so say for instance
textbox1.text = helllo
textbox2.text = world
[code].....
i have a save as dialog a button and a textbox and when button is click i want it to save whatever text is in the textbox to a .txt file (I want the save as dialog to pop up so the user can choose where to save it.)
View 2 Repliesokay say i have a program that has you login to use it is there anyway that i can have it save the text in username and password so when he opens it again it will still be there ?
View 6 RepliesLet's say I paste this text in textbox1
"firstname" : john, "lastname" : smith, "country" : usa, "firstname" : billy, "lastname" : brown, "country" : canada, "firstname" : richard, "lastname" : wong, "country" : usa
How could I split up each "firstname, lastname, and country" up? And like add them to 3 listboxes?
I'm pretty much self taught visual basic, using a lot of forums and all, andwas wondering if this is possible. I normally google too but i really have no idea what query I would search (the term). Atm, I'm having troubles making a find replace replaceall thing, so I really can't see myself making something like find '"firstname" : ' and get the text after that till the coma.
What I want to know is if there is a way to insert text into a text box on another browser using visual basic...Also if there is a way to put text only into specific fields... An example...A password memory program...What I mean by this is you have a form filled up with usernames and passwords and it will insert the correct username and password for the specified site. I guess the main thing I need to know is if it is possible to make visual basic correspond with another browser instead of using the actual WebBrowser control and a place I could go to find out how.
View 1 RepliesI copied text From other program how can I paste this text to a textbox?
View 3 RepliesThis is my code that im working on
[Code]...
I want to add in textbox2.text and a button when i press button1 (it minus the number or whatever number i deside to put into textbox2.text) then the time (in textbox1.text ) goes back up to 100
I forgot, what is a command to paste/insert already
View 3 Repliesi want to seperate textbox characters every 4 characters. like this:
regular text =
1234567812345678
filtered text:
[code]....
so ive made a alarm clock, and i want you to be able to set you own time. so i have atleast 2 questions.
1. i got 1 label and 3 textboxes. in textbox1 the value is 02. t2 is 20 and t3 is 43. how do i do to make it post like this in label1? 02:20:43 i was using this
label1.text = textbox1.text ":"+ textbox2.text ":"+ textbox3.text
but that didnt work at all. and removing the "" didnt help.
2. and the second question is almost as same. how do i do to make the 02:20:43 apear in a textbox in form1 if 02:20:43 is written in form2?
So, I'm trying to make a RichTextBox which makes seperate words colored as you type them (like in Visual Studio itself ).The problem is, it's absolutely not working as I want and absolutely not the same as in Visual Studio.It's constantly running over the code each 500 milliseconds (by a timer), bugging the focus and selecting the words you want to be colored quickly.
Also, when you have something selected in the textbox,it constantly unselects when it runs over the code again (tried to fix that, but failed).So, can please someone improve this code (a lot, it's coded really bad ) so the user doesn't notice the words are getting colored?I put the words into an array with a different array containing the colors of the string array on the same index (Sorry for my "not so good" english.. But I'm sure you understand it ).
[Code]...
okay so in webbrowser1 is there any way to grab text from it's textbox like say i go to google and type something in the textbox hit send can i grab the text from that textbox ?
View 5 RepliesI'm trying to make it so when you click button1, that it will write a line of text into the textbox1. I want it so if you press it, it appears, but if you press it again, it will appear again on a new line.
View 5 Replieshow i could get a file off the internet a .txt file then it copies all that info in there then pastes it into a txtbox on the form.
View 39 RepliesI got an online txt file(url..)
I want my vb 2008 program to read all text from [url]... and put all the text there into a textbox in a vb2008 form, what code is needed to do this?