Display A Textbox But Not Allow The User To Edit The Content?
Mar 30, 2011I want to be able to display a textbox but not allow the user to edit the content.
View 4 RepliesI want to be able to display a textbox but not allow the user to edit the content.
View 4 RepliesI would like some info on how to do a procedure. In my program when a user hits the Edit Command button I would like for the program to display a popup Textbox where he/she can input data and store it. Then the data will be linked to the comments box, once the user hits the save button. Also the popup textbox disappears after the user is done entering the data.
View 8 Repliesi need code for chose any txt file and opening it from open file dialog (if thr user click in open button)and display the content of chosen txt file in textbox
View 2 RepliesI want to detect when the user has changed the content of a Textbox.
The following does not work for me, because: When the user navigates through the database (using my navigation buttons), the textbox is also changed, but NOT by the user making input. I would only like to know when the user EDITED the Textbox.
Private Sub mskStudentNumber_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles mskStudentNumber.TextChanged
If Not Movement Then '' If not navigation
[Code]....
I'm trying to do the following: Store items from ComboBox in My.Settings (datatype doesn't matter). Retrieve these items to populate a ComboBox on formload. Also display these items (1 item per line) in TextBox, where I can edit and save the edits to both My.Settings and the ComboBox.
[Code]...
In my form, I have textbox + combobox to enter datas which are saved to ms access. I have search option too. Also i have DataGrid to show the result of the search. What I want now is, 1. To show the search result in the textbox/combox as well (I already am able to make the result show on datagrid)2. When there are multiple result showing on DataGrid, if i click on a particular result on DataGrid, let the textbox/combobox automatically loads the details of the one i clicked.
View 6 Repliesloop through a textbox control content and extract specific content from it
View 20 Repliesi have 4 text box how can i display a messagebox that will prompt the user if theres any duplicate text on the four Textbox. Main idea: i just want everything that the user typed in each 4 textbox to be unique."i tried coding at the textbox that if the text box is change, that if theres another textbox with the same data i typed a messagebox will prompt. almost does it but, since i added a diaglogresult code that if i click yes the text box with the code will be change to a null object.. but since the other text box are null objects the messagebox will prompt me again..
View 7 Repliesi have treeview.. in which i want to display info in textbox when user select a certain node..
View 10 RepliesI have a ton of airports listed in my Combo Box Right? They are displayed in the following format;
Airport Name (ICAO Code)
For Example
Kansas City Intl (KCI);
Since I have so many, Can someone provide me with a code i can use so in a textbox the user has to only put the icao code and it will display the airport.
For example
TextBox1.Text = KCI
Once that user has clicked out of the text box, It will seach the combo box for any values with KCI and will display it
So if textbox1.text = KCI, then combobox1.value = Kansas City Intl (KCI)
How do you carry out a query from a criteria e.g name entered by the user from a textbox. and then display the query results in a list box..
View 2 RepliesWhat i am trying to do now is to show the content of the dnsredir.ini file on the forms and able to edit it.
The dnsredir.ini file file looks like this
;Configuration INI file for DNS Redirector v6.4.7
Logging=Normal
ListenOnIP=172.23.128.33
[Code]......
I have Search form where I display the searched content on a datagrid. What I want is to display the content that I have on the datagrid on a crystal report.
View 15 RepliesI have created a windows form application which goes through Internet Explorer index.dat files and extracts various information (URL's , date they were last accessed etc). I then display this information in a data grid view. From here i would like to be able to click on a URL link and open the web page without activating any active content (such as java script, activex, viruses etc). I have tried to do this using Internet explorer in 'offline mode' with the problem being if the web page requires an online connection it automatically changes Internet Explorer from 'work offline' to online mode. Is there a way around this problem? Or does anyone have any suggestions on a better way to view the web pages with no active content?
View 2 RepliesI have created a windows form application which goes through Internet Explorer index.dat files and extracts various information (URL's , date they were last accessed etc). I then display this information in a data grid view. From here I would like to be able to click on a URL link and open the web page without activating any active content (such as java script, activex, viruses etc). I have tried to do this using Internet explorer in 'offline mode' with the problem being if the web page requires an online connection it automatically changes Internet Explorer from 'work offline' to online mode. Any better way to view the web pages with no active content?
View 1 Replieshow can i use for example, 1 or 2 forms but still be able to display the same amount of content. Similar to a web browser using tabs, its all still inside of the same "form/window" but has different sections.
View 4 RepliesIm struggling to display the content of my database. I'd like to create a submenu (subpages within pages) to use in my CMS.
Here is my menu so far, as you can see the pagetitles are repeated for each subtitle. I only want one pagetitle to appear for each submenu.
About Us
Your Services
Equality and Diversity Team at SCHS
subpage title 1
[Code].....
I have created a windows form application which goes through Internet Explorer index.dat files and extracts various information (URL's , date they were last accessed etc). I then display this information in a data grid view. From here i would like to be able to click on a URL link and open the web page without activating any active content (such as java script, activex, viruses etc). I have tried to do this using Internet explorer in 'offline mode' with the problem being if the web page requires an online connection it automatically changes Internet Explorer from 'work offline' to online mode.
View 1 RepliesI have a quick question I have 10 picture boxes 5 on left side 5 on right side of screen and basically I would like for when I click on lets say picture box 1 it will display content in the center of the application. Where would I start to add the content as well? Would I have to create a separate form to be able to do this?
View 6 RepliesWhat I am attempting to do is make a form for a tire shop. I want to put comboboxes on the left side of the form that the employees make choices from. I then want to put some kind of a table or grid looking thing on the right side of the form that will display their choices so that everyone in the shop can look at it see that "John is on bay 5 until 3:00pm". At the end of the day I want all of the combobox choices to save to a file..I dont really need the table or the grid thing to save..just the choices. If I want to do this, do I need to use that gridview tool? or can I make my own table thing to display the choices in.
View 9 RepliesI am trying to display the content of the text box according the number of records in the database. When i do it manually it works but when i do it through the "for" loop i am confused. my code is as below
For i = 0 To total_rec
fname1.Text = ds.Tables("roster").Rows(total_rec).Item("FirstName")
lname1.Text = ds.Tables("roster").Rows(total_rec).Item("LastName")
Next
Now i want to change the index of "fname1" some thing like "fname(total_rec)" but it does not work
Ok well i wasent quite done. (For thoughs of you who dont know what im talking about i just made a post few minuts before this)
Ok my LAST, LAST, LAST Q *few* Is there any way to dissplay registry keys in a listbox? And can i edit them within vb?
First off, I'm using Visual Basic 2010. I've done pretty well with starting out with some basic things. Copying some codes from tutorials to learn what each code does. But lately I've been venturing into possibilities of ideas in my head, and the recent idea is very simple, but I'm not sure how to approach it.
I have a main form that has options to open up other forms. And in one of those other forms, I want to make it so that you can enter text into a textbox, then click a button to "save" the textbox's content so that anytime the program starts, that previously saved content of the textbox will be the same.
And on top of that, I want to relate the textbox back to the code in the main form.
If I didn't explain that well enough, I'm working on making an extremely basic web-browser (a big jump from what I've been doing), and I added the option under a menustrip to open up Form5 to change the home-page.
I would like to open 2 and more files(txt format) through openfiledialog and display all content in richtextbox.
[Code]...
I'm working on a little email form, this is what I have so far:
Name:
<br />
<asp:TextBox ID="txtname" runat="server" class="txt" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtfname" />
[Code]....
This is not working though, and the biggest issue seems to be from declaring this Mail variable...
how to get my the content from txtmsg to my email?
how can i highlight all the content in the textbox1.text ??and how can i let the cursor start from the 1st po
View 3 RepliesI want to print the content of a textbox. Something what Notepad does. Or, to export the text from the textbox to a Word document.
View 5 RepliesSince my last thread hasn't been answered and I simply cannot wait until it gets answered, how can I validade what is being written on a textbox?
I need to know when the user types a "-" (minus) char. And when he do so, an message appears (preferably an ballon or a tooltip) and says that is illegal to type this char in particular.
I'm working on a self motivated project; basically I want to be able to navigate to a website, for example,there I want to be able to able to record my actions - for example:
Step 1) Right Click & save on celebrity photo
Step 2) highlight & save the photo's description
Step 3) Click on Next link and repeat
[code]......
I need to know how can I update a textbox.txt content from SQL table.
Table name is -> Sch
Filed name is -> PCB (string)
txtbox.text = ????? (this needs to show sch.pcb content).