539 Topics

Member Avatar for
Member Avatar for jbutardo

Hi, I have this textbox that has been inputted by date in the format of MMM-yy using a datetimepicker. TEXTBOX Jan-11 Now I need to get the exact date on the textbox to be inserted in a string. string1 = Cdate(txtbox1.text.trim) but in this code, the inputted text on the …

Member Avatar for poojavb
0
173
Member Avatar for zAxOanL

Hi. I have problem adding text box after each label ID Code, Weight, Rate, Price Charge, it does not show when i run the code. Also, how do i add the $ sign when display the price charge. the ouput should be like this: Fee Calculator ID Code: [Text Box] …

Member Avatar for stultuske
0
418
Member Avatar for networkmancer

I know how to create textbox dynamically but the problem now is that I want it below my previous created textbox Dim textbox1 As New TextBox textbox1.Name = "Textbox1" textbox1.Bounds = New Rectangle(e.Location, New Size(100, 100)) Me.Controls.Add(textbox1)

Member Avatar for Reverend Jim
0
1K
Member Avatar for BanksyHF

Okay, first off, this is not a thread for an answer like "Use delegates", or the like. I know how to use them, but one time I forgot to use them, and when going over my code, it worked, and I've been wondering why for a while. http://screensnapr.com/e/xx68FK.jp[/img] The image …

Member Avatar for skatamatic
0
201
Member Avatar for krishnisilva

hi , i have a textbox control in one sheet and a range of data in another sheet in the same file. how do i copy the range of data in paste it in the textbox control? appreciate a reply thanks

Member Avatar for krishnisilva
0
198
Member Avatar for Shodow

why is it sometimes i get an error? it doesn't highlight the error [B]CODE[/B] [CODE]Dim SqlQuery As String = "Select UserName from Login" Dim SqlAdapter As New MySqlDataAdapter Dim SqlCommand As New MySqlCommand Dim Ds As New DataSet Dim i As Integer With SqlCommand .CommandText = SqlQuery .Connection = sConnect …

Member Avatar for Shodow
0
539
Member Avatar for ynehs

Hi, I would like to know how to set the textbox to only accept numbers, also that will only accept numbers 1,2 & 3 only. Thanks in advanced. :icon_mrgreen: i tried but i really don't know how.

Member Avatar for Jx_Man
0
2K
Member Avatar for whitetigerz79

Public Class Projectile_Motion 02 Dim initialHeight As Double ' Holds beginning height 03 Dim initialVelocity As Double ' holds velocity 04 Dim time As Double ' holds time 05 Dim heightVal As Double ' holds height at different intrvals in time 06 07 Private Sub btnmaxheight_click(ByVal sender As System.Object, ByVal …

Member Avatar for kingsonprisonic
0
196
Member Avatar for ng5

I have a form with a text box and a form with a list box. I would like to be able to push a button on the form with the text box and have it be added to a list box. any help?

Member Avatar for ng5
0
205
Member Avatar for Sturdy

Hello masters, I want to know how to check an empty textbox in the form. I can check it by assign Text1.Text = "". But i have many textbox in form. Thank you in advance

Member Avatar for Sturdy
0
463
Member Avatar for EkoX

Hi all, How i can split a sentences into words and add splitted words into listbox. Thank you. Best regards Eko

Member Avatar for EkoX
0
261
Member Avatar for collin_ola

Hi, I am trying to split a single line of data into three separate parts so that they can be displayed in different textboxes. The data looks like this: item1_item2_item3 The code that I tried is: [CODE]Dim arrayLines() As String Dim record As String record = Subs.Text arrayLines = record.Split("_") …

Member Avatar for collin_ola
0
161
Member Avatar for himanshu.1691

i type the following code.... it runs properly....data gets fetch but i am not able to display it in a textbox.... it simply remains blank....whereas i am able to fetch the data outside the form tags here is my code: here i can see name =himanshu outside the form but …

Member Avatar for emclondon
0
172
Member Avatar for DNHK

Hi I need some help over here... how do i change the display member of a ComboBox after i have entered a code in a textbox that it represent the combobox value?? example Code: 02-001 Combobox: Provider X if i change the code the provider combobox must change and if …

Member Avatar for M.Waqas Aslam
0
302
Member Avatar for collin_ola

Hi, I have a database with lots of fields, some of which are still empty and are to be filled in at a later stage. Is there any way of writing an IF statement (or any other method) that will allow these empty records to be 'shown' in my textboxes …

Member Avatar for collin_ola
0
431
Member Avatar for Sturdy

Hi all, How can i validate a text in text box? I need to check that text length is 7 and first four characters is contain "ABCD" and last three characters must contain numbers. e.g : ABCD123 Thank you.

Member Avatar for Sturdy
0
1K
Member Avatar for Sturdy

Hi all, How do i know where the cursor position in the text at textbox? Anyone know how to do this? Thank you in advance

Member Avatar for Sturdy
0
4K
Member Avatar for aristosv

I have a form with a textbox and I want that textbox to read from http.conf on line 162. Line 162 reads ServerAdmin [email]you@yourdomain.com[/email] Shouldn’t this code work? [CODE]Public Class Form1 Dim apacheconf = "c:\httpd.conf" Dim line() As String = IO.File.ReadAllLines(apacheconf) Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles …

Member Avatar for kingsonprisonic
0
169
Member Avatar for pipelian

My form has a TextBox with values like(e.g: P011112, C0212102) those are products lot numbers that the user enters. Then, what i want is that a DateTimePicker takes the first 4 digits as "MM-yyyy" and add 3 years to that date. Example: TextBox.text = P011112 DateTimePicker = January, 2014 Thanks …

Member Avatar for pipelian
0
318
Member Avatar for JustineAubrey

Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first …

Member Avatar for JustineAubrey
0
249
Member Avatar for yongj

I'm trying to validate the correct format for a phone number in a text box: (000) 000-0000 For a test, i made it so that a messagebox shows up saying "correct" if the format is correct. This test works well WHEN the format is correct. BUT when the format IS …

Member Avatar for nitin3
0
3K
Member Avatar for Shodow
Member Avatar for ng5

I have a masked text box and two text boxes. I would like to save all of these fields so that when the "open" button is clicked the field repopulate.... anybody have any idea on how to do this? If so please help me out. thanks in advance :)

Member Avatar for codeorder
0
431
Member Avatar for collin_ola

Hi, I have a textbox called [CODE]txtCustomerRecord.text[/CODE]. It is a multiline textbox, and I want to be able to enter different pieces of information (info1, info2, info3) into each line. I would really appreciate it if somebody could show me how to do this. Collin

Member Avatar for collin_ola
0
2K
Member Avatar for juss2022

Hello everybody. I've a question. I tried to change font size of textBox named "textBox1" Here is the function of the NumericUpDown: [CODE]private: System::Void numericUpDown2_ValueChanged(System::Object^ sender, System::EventArgs^ e) { String^ Num2 = this->numericUpDown2->Text; this->textBox1->Font->Size = Num2; };[/CODE] Errors that occur: [CODE] error C2039: 'set' : is not a member of …

Member Avatar for Ancient Dragon
0
446
Member Avatar for M.Waqas Aslam

hello ! look , for example i have 2 textboxes in my vb form, i want that when i press enter key the focus move from 1st textbox to 2nd textbox , i use this code on my every control to move focus [CODE] if e.keychar = chr(keys.enter) then textbox2.focus …

Member Avatar for codeorder
0
1K
Member Avatar for yeeitsneo

hi. can anyone here tell me how can i allow certain characters only into a text box. for instance, a user can only input from these three letter (ABC) thank you so much.

Member Avatar for Cruize_Invades
0
273
Member Avatar for DanWebb3148

I know how to create a window of a given size. How do I control the placement of items like labels and text boxes in that window?

Member Avatar for DanWebb3148
0
19K
Member Avatar for Neji
Member Avatar for Neji
0
1K
Member Avatar for twistercool

Hello guys. Just wanna know how you could add item to a vb 6 list box or combo box that is bind to a database? I.e. Ado oledb. Let say i have 1 text box wherein every time i input a data to it. It would be added to a …

Member Avatar for Jx_Man
0
157

The End.