I have textbox in my asp.net 3.5 VB.net webformin my textbox1 the text is : 30-Dec-2010, 06:00:00 PMi want when the date in textbox is greater than textbox1 then the Label text would be "No REfund
I'm trying to make it so the the images will save to the folder that you selected in the textbox1.text from the folderbrowser this is the code's I have tried
I have two forms ( form1, form2) with a textbox on form1 and a combobox on form2. The combobox is databinded. What I have been trying to do with no success is to alter the combobox during runtime from form1. In the textbox the text displayed always corresponds to the values binded with the combobox. I want to set the selected/displayed value of the combobox to be the text that is on the textbox. This to be done on a button click from form1. I have tried the findstring and findstringexact to locate the index of the corresponding text and alter but nothing. After so many testing I soon realised that if the combobox is at form1 together with the textbox I can do whatever I want with it. But when is on form2 I cannot do anything. When I mean anything I have tried clearing the displayed value with 'selecteditem = Nothing' with no success plus whatever else I try. [code]...
I am creating a Rich text file editor, and I want to change the font of the selected text with the font dialog. Here is my code (editor is the rich text box) Dim font As New FontDialog FontDialog1.Font = Editor.Font
in my application the user selects names from a combo box one at a time and then sets a schedule for each person. What I would like to do is change the forecolor of the selected name so when the combo box is clicked again any name that has been selected is red, and unselected names are still black. I have only been able to set the forecolor for all the name after a selection is made.
I want to change the text of two labels based on the the selected row of a gridview.I keep getting an error that says the public member row does not exist on linkbutton
Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim LinkButton1 As LinkButton = DirectCast(sender, LinkButton) Dim tour As Label = CType(sender.Row.FindControl("label2"), Label) Dim depart As Label = CType(sender.Row.FindControl("label3"), Label)
I have a combo box with font families and another with font sizes.i know how to change the text font properties according to the combo boxes.but now i want to change the combo box selected items according to the text font properties where the cursor is located.but i can't do that.[code]...
I have converted the fare field in gridview1 to display fare | seats in same cell as displayed below...
i want when user select/ click on Book button row then the fare amount will be diplayed in textbox1 and seats will displayed in Textbox2
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged Textbox1.text=GridView1.SelectedRow.Cells(6).TextToString End Sub
I've been trying to convert my VB6 code to VB10, I'm stuck on how I should write it so I can pass a font name to my
function, So far this is what I have and not sure where to go from here. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
I am working on windows application form I am having one text box and Listbox. I want if user type on textbox, then List box item is going to be selected, that is working fine. List Box has more than 10,000 records. It takes time to select item from ListBox, while write data in textbox.
i want to create a html editor. to get started, i want the app to be able to find certain words, and change the font/color/size/etc. as for <a href=""><b> and so on, without changing the rest of the text after the selected text was modified. i'm sure that it has something to do with RichTextBox1_TextChanged for text that is being typed and just a button click for modifying selected text.
i'm trying to create a flat tabcontrol with a rounded rectangle tab for the selected tab + no border for inactive tabs?basically i'm trying to recreate that ribbon control in a very simplified form as a usercontrol.
I'm using Visual Studio 2010 / VB / dot net 4.0, and I have a drop-down menu in my left column that switches resource languages for the end user. It reads like this:
--------English ------- <<- Engish is always the default top language option French | Spanish |
How can I change the color of the tabs of a tabcontrol? I tried to search the forum but everytime I hit the search button I get an "Bad Gateway" error.