Click here to Skip to main content
15,790,807 members
Home / Discussions / Visual Basic
   

Visual Basic

 
NewsRe: BackgroundWorkers 'RunWorkerCompleted' not fired - Resolved Pin
Sonhospa18-May-09 11:53
Sonhospa18-May-09 11:53 
QuestionConvert Text file into Excel file Pin
vijay248218-May-09 0:14
vijay248218-May-09 0:14 
AnswerRe: Convert Text file into Excel file Pin
Rajesh Anuhya18-May-09 0:29
professionalRajesh Anuhya18-May-09 0:29 
GeneralRe: Convert Text file into Excel file Pin
vijay248218-May-09 1:09
vijay248218-May-09 1:09 
GeneralRe: Convert Text file into Excel file Pin
Rajesh Anuhya18-May-09 1:36
professionalRajesh Anuhya18-May-09 1:36 
AnswerClarification Please Pin
Dalek Dave18-May-09 0:29
professionalDalek Dave18-May-09 0:29 
GeneralRe: Clarification Please Pin
vijay248218-May-09 0:55
vijay248218-May-09 0:55 
QuestionText is getting typed into another text box Pin
tiagu17-May-09 23:33
tiagu17-May-09 23: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 1:12
Johan Hakkesteegt18-May-09 1:12 
GeneralRe: Text is getting typed into another text box [modified] Pin
tiagu18-May-09 1:50
tiagu18-May-09 1:50 
GeneralRe: Text is getting typed into another text box Pin
Johan Hakkesteegt18-May-09 1:54
Johan Hakkesteegt18-May-09 1:54 
GeneralRe: Text is getting typed into another text box Pin
tiagu18-May-09 5:40
tiagu18-May-09 5:40 
GeneralRe: Text is getting typed into another text box Pin
tiagu18-May-09 5:52
tiagu18-May-09 5:52 
QuestionInserting block of file into a db...(logic issue) Pin
Lee Mwangi17-May-09 22:12
Lee Mwangi17-May-09 22:12 
AnswerRe: Inserting block of file into a db...(logic issue) Pin
Johan Hakkesteegt17-May-09 22:22
Johan Hakkesteegt17-May-09 22:22 
AnswerRe: Inserting block of file into a db...(logic issue) Pin
riced18-May-09 7:33
riced18-May-09 7:33 
QuestionRe: Inserting block of file into a db...(logic issue) Pin
Lee Mwangi18-May-09 21:27
Lee Mwangi18-May-09 21:27 
AnswerRe: Inserting block of file into a db...(logic issue) Pin
riced18-May-09 23:17
riced18-May-09 23:17 
QuestionProblem when Resoluction Change Pin
Anubhava Dimri17-May-09 20:56
Anubhava Dimri17-May-09 20:56 
AnswerRe: Problem when Resoluction Change Pin
Johan Hakkesteegt17-May-09 22:15
Johan Hakkesteegt17-May-09 22:15 
GeneralRe: Problem when Resoluction Change Pin
Anubhava Dimri17-May-09 22:54
Anubhava Dimri17-May-09 22:54 
GeneralRe: Problem when Resoluction Change Pin
Johan Hakkesteegt17-May-09 23:17
Johan Hakkesteegt17-May-09 23:17 
GeneralRe: Problem when Resoluction Change Pin
Anubhava Dimri25-May-09 2:04
Anubhava Dimri25-May-09 2:04 
GeneralRe: Problem when Resoluction Change Pin
Johan Hakkesteegt25-May-09 2:15
Johan Hakkesteegt25-May-09 2:15 
GeneralRe: Problem when Resoluction Change Pin
Anubhava Dimri25-May-09 2:24
Anubhava Dimri25-May-09 2: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.