Results 1 to 2 of 2

Thread: Dynamic Control reference

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Location
    Canada
    Posts
    21

    Dynamic Control reference

    I am presently converting my Access project to visual studio.net 2003. Following is some code in Access that I would like to convert. What is the VB equivalent?

    Dim ZFldName as Control
    Dim strFldName as String
    strFldName = "ZFld" & x
    ZFldName = Me.Controls(strFldName)
    ZFldName.BackColor = .....

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    .NET questions should go in the .NET forum.

    http://www.vbforums.com/forumdisplay.php?s=&forumid=25
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width