prasad.weer's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
46 (0.08 per day)
Joined:
10-November 11
Profile Views:
862
Last Active:
User is offline Oct 25 2012 02:30 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   prasad.weer has not set their status

Posts I've Made

  1. In Topic: Dynamic TextBox Problem

    Posted 22 Sep 2012

    Ok. If i'm add 9th new line, it also working well.

            Dim txtBx As TextBox
            Static x As Integer
            Static i As Integer
    
            txtBx = New TextBox
    
            txtBx.Location = New Point(10, 10 + x)
            txtBx.Size = New Size(100, 20)
            txtBx.Name = "txt" & i  'New code
    
            i = i + 1
            x = x + 20
    
            Me.Controls.Add(txtBx)
    



    But how to assign a value to that text box?

    This is button2 click event. (above code is for button1 click event)

    txt1.text = "My value 1"
    txt2.text = "My value 2"


    actually there is no any property for txt1 and txt2. (blue color underline for it)

    Still couldn't find a good method for it.
  2. In Topic: Dynamic TextBox Problem

    Posted 22 Sep 2012

    First of all thanks for reply.

    Once again I tryed this code

    Dim txtBx As TextBox
    Static x As Integer

    txtBx = New TextBox

    txtBx.Location = New Point(10, 10 + x)
    txtBx.Size = New Size(100, 20)

    x = x + 20

    Me.Controls.Add(txtBx)

    It is working well. But I dont know How to name (when draging a tool from toolbox, we can go to properties and can be able to ) the dynamically generated textboxes.
    for an example if we want to assign a value to a variable we can use this code.

    Dim var1 as string
    var1 = textbox1.text

    But I have no idea how to assign values to variables from dynamically generated textboxes like above code.

    Please tell me how to do this.
  3. In Topic: Passing variable between forms

    Posted 28 May 2012

    If you just need to pass variables between forms, you can use this.
    Make 2 forms. (form1 and form2)

    form1 code

    Private Sub Command1_Click()
    Dim MyVar As String
    MyVar = "My Test String"
    Form2.x = MyVar
    Form2.Show
    End Sub

    ---------------------------------
    form2 code

    Public x As String

    Private Sub Form_Load()
    MsgBox x
    End Sub
  4. In Topic: HOW TO UNINSTALL THE INSTANCE in SQL Server 2008

    Posted 22 May 2012

    Ya BBec. I also tried a lot to uninstall HALF INSTALLED instance. (Some instance are showing in Services which can't be able to start the service) The problem is the server is owned to a major company and can't uninstall the SQL server. It should work for 24 hours. Try to find a better answer and if you find a proper solution other than uninstalling the SQL server, please post it this thread. Thank you.
  5. In Topic: Date Problem in VB.NET

    Posted 22 May 2012

    Thanks sela. I'l Try this.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
AIM:
AIM  Prasa_Rox

Friends

Comments

prasad.weer has no profile comments yet. Why not say hello?