943,861 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 3449
  • VB.NET RSS
Apr 10th, 2006
0

Creating Objects

Expand Post »
Is there a code that you can use to create an object(s)? Ie Picture box and other ones already in vb.net
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
grimshaw9 is offline Offline
5 posts
since Mar 2006
Apr 11th, 2006
0

Re: Creating Objects

Hi,

Private tb as Textbox

Public Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

tb = New TextBox
tb.Parent = sender.Parent

End Sub

Loren Soth
Reputation Points: 28
Solved Threads: 4
Posting Whiz in Training
Lord Soth is offline Offline
233 posts
since Mar 2006
Apr 11th, 2006
0

Re: Creating Objects

Ok to clarify what it is that I need. I need a code that allows me to create a new object perferably a picturebox when I click on the form that i can drag choose colour and resize. Any part of this code will help greatly.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
grimshaw9 is offline Offline
5 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: VB.Net won't run whith updated changes to program
Next Thread in VB.NET Forum Timeline: how to place values into a gatagrid cell in vb.net





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC