Search results

  1. D

    SmartPhone multiple lines control

    You can use the Label control to display the text from an array. The following code would help you do the same: Dim sport(3) As String sport(0) = "Soccer" sport(1) = "Cricket" sport(2) = "Rugby" Me.Label1.Text = sport(0) & ControlChars.NewLine & sport(1) & ControlChars.NewLine & sport(2)...
  2. D

    Question Forms .vb?

    Not sure what you mean by " my forms always changing to .vb". Are you referring the extension for the source file? ~Dave
  3. D

    Am I on the right track?

    Check the following which describes a basic client server application in which the data is transferred to and fro: Regards, Dave
  4. D

    Hi i am new to this forum,big help on sockets..

    It would be hard to guess what exactly the problem is. Try adding error handlers to see the exact error message which is causing crash i.e. add Try Catch blocks and check for the exception message as shown below: Public Sub ServerSendData() Try Dim bytes() As Byte =...
  5. D

    duplicate Form

    Thanks for clarifying John. Regards, Dave
  6. D

    duplicate Form

    duplicate Form on VB.Net 2003 Hello, Use the code below to achieve the desired: Dim frm As New Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If frm Is Nothing Then frm = New Form2 End If...
  7. D

    Listview Scroll ( ensurevisible not available)

    Hello, You may use the SelectedItem property of the ListBox. The code below achieves the desired: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.ListBox1.Items.Add("one") Me.ListBox1.Items.Add("two")...
Top Bottom