539 Topics

Member Avatar for
Member Avatar for scholarwithfire

Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of …

Member Avatar for lps
0
975
Member Avatar for ryin012

so i have a form with 4 textbox; idnum, lname, fname, dept 1 button i need help about when I type in the idnum.Text there will be results based on the database table (ms access)and auto fill lname.Text... and if it doesn't exist there'll be a prompt.

Member Avatar for AndreRet
0
190
Member Avatar for Десислава

Hi, I am facing a problem in dynamically generated textbox with TextChange event. When I run the application and click in the box to insert text, the messagebox with the rezult shows at the first simbol which I insert. So i can't to analize all my string in textbox. What …

Member Avatar for deceptikon
0
82
Member Avatar for opspl_programme

Hi All, There are many articles available that describe how textbox watermark can be done with the .Net framework(C# and VB.Net) I'm working on a VB6 project. How to implement this with a VB6 textbox?

Member Avatar for AndreRet
0
1K
Member Avatar for grh1107

Hey, I'm trying to change the color of a textbox border say if a value returned false. private void UserBox_TextChanged(object sender, EventArgs e) { ControlPaint.DrawBorder(e.Graphics, this.ClientRectangle, Color.Red, ButtonBorderStyle.Solid); } } the problem is EventArgs e doesnt have a graphics member, EventArgs should be a PaintEventArgs, but when i change its …

Member Avatar for grh1107
0
184
Member Avatar for Khav

Hi Guys i need help on my school project.Currently i want to validate some important data in a textbox as soon as they are entered by the user Here is my coding........ Private Sub Textbox1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Textbox1_Leave Call ValidateTextbox(Textbox1.Text) - Set saved = …

Member Avatar for Khav
0
242
Member Avatar for melanushka

I'm trying to create dynamically text box in WPF. It is very essential that I will have the flexibility to determine where the text box will be - in pixel level. I have found many answers which use stackpanel to create "run-time" text box - but couldn't find how to …

Member Avatar for nmaillet
0
2K
Member Avatar for xjshiya

Hello! I have a code here that has a dropdown box which is populated with data from mysql table, itinerary to be spicific (e.g. Tokyo- London, London - Tokyo, etc.). I also have a textbox that displays the block time (no. of hours required to travel a specific itinerary) of …

Member Avatar for xjshiya
0
1K
Member Avatar for ariffin246

Hello, I am clueless on how to separate the value of a HTML TextBox into separate characters before inserting into database. The user will key in certain form of code in the textbox. EG:JYX. The code needs to be separated and assigned to variable for each of the character before …

Member Avatar for ariffin246
0
122
Member Avatar for vckicks

Use regular expressions, regex, to create an efficient textbox that only takes in digits as input.

Member Avatar for Chatthanz
1
822
Member Avatar for Khav

Greetings, i am doing a school project which basically deals with forms and an access database.I have various textboxes in a form.I want some textboxes to be filled automatically with a value when another textbox has been filled. For e.g , if the user fills in the 'Cost' textbox , …

Member Avatar for Khav
0
862
Member Avatar for Danielgof

hi there i'm a begginer in c# i need to create a textbox onkeypress.. i have a dynamic list of courses... i need the first charachters that typed in the textbox will find those courses with names that begins with those charachters ...kind of filter... and i need to do …

Member Avatar for superjj
0
145
Member Avatar for cheekangteh

currently i am doing sms function by using window mobile standard 6. i have multiple form, up to 4 window form. and at the last form, i wish to collect all the data that already key in in previous form textbox text, and send message to people. example: in form …

Member Avatar for Mitja Bonca
-1
225
Member Avatar for tharunsigma

iam new to c# and trying to work out on serial communication using timer i can send and receive the data but during printing of the received data the incoming data is overlapped on the previous data.. Please help me in advancing....and my code is as follows...` int nDataLen = …

0
107
Member Avatar for Maulikpra

Dim mm As New SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=Integrated Security=True;Connect Timeout=30;User Instance=True") mm.Open() Dim mm1 As New SqlDataAdapter("select * from Area_type order by Area_name", mm) Dim ds As New DataSet mmm1.Fill(ds) With ComboBox1 .DataSource = ds.Tables(0) .DisplayMember = "Area_name" .ValueMember = "Area_name" .SelectedIndex = 0 End With mm.Close() 'hi i am student and …

0
163
Member Avatar for cheesepotato

I want users to enter their name into a textbox but i want to ensure that they type in something so my program will continue the name into another form by a button. How do foolproof this while clicking the button won't automatically send nothing to the other form and …

Member Avatar for Begginnerdev
0
158
Member Avatar for princy.mohan.1

i'm using 4 pictureboxes and 1 textbox in one particular application. when i click on picturebox1 i need a certain value to be fed as input to the textbox, simillarly for the other pictureboxes too. how can it be done ?

Member Avatar for Gé48
0
262
Member Avatar for barnum

Hi, I got a strange problem with a TextBox, which is in an Xpander in an XpanderList in a custom UserControl. (Using C#, .NET 4, Visual Studio 2010, WinForms, Windows 7.) I am making a simple "auto-complete", by starting a Timer in my TextBox TextChanged event. If this timer fires …

Member Avatar for barnum
0
1K
Member Avatar for mike_2000_17

Hi, I've been experiencing a weird bug in the editor (for a week or so). If I write a post, everything is fine and dandy until I start a block of code. From the first line of code that I write, and for every subsequent line of code after that, …

Member Avatar for Dani
1
559
Member Avatar for etsko

Hello, I have a problem with c++ windows form. I read a number of elements from first textbox and from second I have to read a height of these elements (i.e. n=5, heights = 150, 160, 170, 180, 190). I made it first in console app and works perfect, but …

Member Avatar for Oxiegen
0
417
Member Avatar for SoftBa

Hi to all first to say I am beginner in programming so please dont mind for mistakes I could write here :) I have this problem, on the form I use one combobox with Data Bound items, Data source, Display member & Value member. Besides this combobox I have textbox …

Member Avatar for SoftBa
0
1K
Member Avatar for arkulin

Hi, I have a problem finding a textbox control which is within panel and this panel is within datalist control. I would like to get textbox.text property and I tried several ways but I always get empty string "" although textbox contain some text in it. My code is below: …

Member Avatar for sebastian3
0
217
Member Avatar for jbutardo

Good day! I need help.. I have to check if the textbox value is in the dropdownlist items, and I don't know how to get this in javascript. I wanted to validate it in such a way that if the textbox value is in the dropdownlist item values, then the …

Member Avatar for code739
0
191
Member Avatar for Angel78

So I have been working on this dice roller for a while but am stuck. My form looks like this, a comboBox1 where you can pick numberOfSides on the dice, a textbox1 where you type the numberOfTimes it shall roll the selected dice, a button1 and a richTextBox1 to display …

Member Avatar for PatSharbaugh
0
1K
Member Avatar for nmges

I just want to make an automatic format in the textbox, this is only to set 4 number with 2 decimal in the textbox, when the user enter any number in the textbox, it will be the number format - 4 number with 2 decimal automatically, thanks.

Member Avatar for poojavb
0
167
Member Avatar for priyamtheone

Hi, I'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the …

Member Avatar for Begginnerdev
0
220
Member Avatar for s98samman

Using Microsoft Visual Basic Express 2010 This is the code i used: Dim b As Integer = TextBox1.Text Dim c As Integer = TextBox2.Text Dim a As Integer = b * c MsgBox(a Why does this visual basic code not work and how do i fix it to make it …

Member Avatar for JGorard159
0
553
Member Avatar for bilal_fazlani

#What do u think is wrong in this code???# ##no textbox is being affected :(## For Each ctrl As Control In Panel1.Controls If ctrl Is GetType(TextBox) Then CType(ctrl, TextBox).Text = "" End If Next

Member Avatar for ZeroZen
0
139
Member Avatar for TF401

How is this 'text-cursor' called or what is its name ? : [Click Here](http://i41.tinypic.com/5cxavp.png) Everytime when you click in a text box or somewhere when you can type, you get this 'flashing bar' in the very left corner of the line. How is this called ? Also can you have …

Member Avatar for scudzilla
0
190
Member Avatar for PoovenM

I'm creating a custom `ComboBox` that allows the user to select a date; the calendar display is localized making the built-in `DateTimePicker` undesirable (see [here](http://support.microsoft.com/Default.aspx?scid=kb;en-us;889834&x=18&y=19) for more information). I need the UI control to mirror the look and feel or the existing components. Here's what I've tried and the problems …

0
175

The End.