Click here to Skip to main content
15,891,621 members
Home / Discussions / Visual Basic
   

Visual Basic

 
NewsRe: BackgroundWorkers 'RunWorkerCompleted' not fired - Resolved Pin
Sonhospa18-May-09 10:53
Sonhospa18-May-09 10:53 
QuestionConvert Text file into Excel file Pin
vijay248217-May-09 23:14
vijay248217-May-09 23:14 
AnswerRe: Convert Text file into Excel file Pin
Rajesh Anuhya17-May-09 23:29
professionalRajesh Anuhya17-May-09 23:29 
GeneralRe: Convert Text file into Excel file Pin
vijay248218-May-09 0:09
vijay248218-May-09 0:09 
GeneralRe: Convert Text file into Excel file Pin
Rajesh Anuhya18-May-09 0:36
professionalRajesh Anuhya18-May-09 0:36 
AnswerClarification Please Pin
Dalek Dave17-May-09 23:29
professionalDalek Dave17-May-09 23:29 
GeneralRe: Clarification Please Pin
vijay248217-May-09 23:55
vijay248217-May-09 23:55 
QuestionText is getting typed into another text box Pin
tiagu17-May-09 22:33
tiagu17-May-09 22:33 
I need help with the following code.   I am building a custom control.   I am storing controls in arrays as I need more rows.   When I type into the second text box as soon as i run the program the text is typed into the first text box.   Please help.   I thank you in advance.

Imports System.Drawing
Imports System.Windows.Forms

Public Class UserControl1
      Dim arrText1(1), arrtext2(1) As TextBox

      Public Sub SetTextBoxes()
            Dim text1 As New TextBox()
            With text1
                  .Name = "text1"
                  .Left = 8
                  .Font = New Font(.Font.Name, 14, FontStyle.Regular, .Font.Unit)
                  .Size = New Point(80, 30)
                  Me.Controls.Add(text1)
                  arrText1(0) = text1
            End With

            Dim text2 As New TextBox()
            With text2
                  .Name = "text2"
                  .Left = 100
                  .Font = New Font(.Font.Name, 14, FontStyle.Regular, .Font.Unit)
                  .Size = New Point(80, 30)
                  Me.Controls.Add(text2)
                  arrtext2(0) = text2
            End With
      End Sub

      Private Sub ucGrid_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            SetTextBoxes()
      End Sub
End Class

Confused | :confused:
AnswerRe: Text is getting typed into another text box Pin
Johan Hakkesteegt18-May-09 0:12
Johan Hakkesteegt18-May-09 0:12 
GeneralRe: Text is getting typed into another text box [modified] Pin
tiagu18-May-09 0:50
tiagu18-May-09 0:50 
GeneralRe: Text is getting typed into another text box Pin
Johan Hakkesteegt18-May-09 0:54
Johan Hakkesteegt18-May-09 0:54 
GeneralRe: Text is getting typed into another text box Pin
tiagu18-May-09 4:40
tiagu18-May-09 4:40 
GeneralRe: Text is getting typed into another text box Pin
tiagu18-May-09 4:52
tiagu18-May-09 4:52 
QuestionInserting block of file into a db...(logic issue) Pin
Lee Mwangi17-May-09 21:12
Lee Mwangi17-May-09 21:12 
AnswerRe: Inserting block of file into a db...(logic issue) Pin
Johan Hakkesteegt17-May-09 21:22
Johan Hakkesteegt17-May-09 21:22 
AnswerRe: Inserting block of file into a db...(logic issue) Pin
riced18-May-09 6:33
riced18-May-09 6:33 
QuestionRe: Inserting block of file into a db...(logic issue) Pin
Lee Mwangi18-May-09 20:27
Lee Mwangi18-May-09 20:27 
AnswerRe: Inserting block of file into a db...(logic issue) Pin
riced18-May-09 22:17
riced18-May-09 22:17 
QuestionProblem when Resoluction Change Pin
Anubhava Dimri17-May-09 19:56
Anubhava Dimri17-May-09 19:56 
AnswerRe: Problem when Resoluction Change Pin
Johan Hakkesteegt17-May-09 21:15
Johan Hakkesteegt17-May-09 21:15 
GeneralRe: Problem when Resoluction Change Pin
Anubhava Dimri17-May-09 21:54
Anubhava Dimri17-May-09 21:54 
GeneralRe: Problem when Resoluction Change Pin
Johan Hakkesteegt17-May-09 22:17
Johan Hakkesteegt17-May-09 22:17 
GeneralRe: Problem when Resoluction Change Pin
Anubhava Dimri25-May-09 1:04
Anubhava Dimri25-May-09 1:04 
GeneralRe: Problem when Resoluction Change Pin
Johan Hakkesteegt25-May-09 1:15
Johan Hakkesteegt25-May-09 1:15 
GeneralRe: Problem when Resoluction Change Pin
Anubhava Dimri25-May-09 1:24
Anubhava Dimri25-May-09 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.