I'm not really sure what you mean by this, sorry.

I got another question, trying to get this subroutine to work.
>
> Public Sub CreateNewLabel(ByVal strName As String)
>
> Dim strName As Label
> strName = New Label
> strName.Name = "lblTest"
> strName.UseMnemonic = True
> strName.Left = btnAdd.Left
> strName.Top = btnAdd.Top + btnAdd.Height + 5
> strName.Width = lblTest.Left + 160
> strName.Height = lblTest.Top + 10
> strName.Text = "This label can spy on you now."
> strName.BackColor = System.Drawing.Color.AliceBlue
> strName.TextAlign = ContentAlignment.MiddleCenter
> strName.TabIndex = 0
>
> End Sub
>
> What I want this subroutine to do is create a new label whose name is
> the value stored in strName. I'm at a loss for how to make 
> vb.net<http://vb.net>
> look at the value stored in that string, rather than the name of the
> string.
>
>
>
>
>
>
>
>
>
>
> '// =======================================================
> Rules : http://ReliableAnswers.com/List/Rules.asp
> Home : http://groups.yahoo.com/group/vbHelp/
> =======================================================
> Post : [email protected]
> Join : [EMAIL PROTECTED]
> Leave : [EMAIL PROTECTED]
> '// =======================================================
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>


--
Don Roberts - [EMAIL PROTECTED]
http://www.drscripting.com
http://www.robertsgenealogy.com


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to