Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2012 > Visual Basic 2012 General Discussion
| Search | Today's Posts | Mark Forums Read
Visual Basic 2012 General Discussion For any discussions about Visual Basic 2012topics which aren't related to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2012 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 22nd, 2014, 04:07 PM
Posts: n/a
Question changing coordinates for a label in VB

I am using VB 2012. I am trying to write the code that changes the location of a label in a container. In other words, I am trying to set the X and Y coordinates of the Label within the container. It is simple to do it by changing the properties in the The Designer, bu I need to do it with code. Below is the code that I am trying to use, but it fails:


Can anyone explain to me how this is done? I have tried everything.
The part following the X (=100) apparently is not correct.
Thank you,
Mike Smith

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel VB : How to change Label Caption papanchal Excel VBA 1 September 22nd, 2008 04:46 PM
Datagrid row color changing - windows vb.net app badgolfer VS.NET 2002/2003 7 April 18th, 2007 02:32 PM
Changing table field types in VB scubasteve Access VBA 1 June 12th, 2006 12:24 PM
Create dynamic label in vb.net snowydust VB How-To 1 July 24th, 2004 05:32 AM
Changing Crystal Report Title from VB Code Niaz Pro VB Databases 4 June 9th, 2004 09:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.