Creating Objects

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2006
Posts: 5
Reputation: grimshaw9 is an unknown quantity at this point 
Solved Threads: 0
grimshaw9 grimshaw9 is offline Offline
Newbie Poster

Creating Objects

 
0
  #1
Apr 10th, 2006
Is there a code that you can use to create an object(s)? Ie Picture box and other ones already in vb.net
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 233
Reputation: Lord Soth is an unknown quantity at this point 
Solved Threads: 4
Lord Soth's Avatar
Lord Soth Lord Soth is offline Offline
Posting Whiz in Training

Re: Creating Objects

 
0
  #2
Apr 11th, 2006
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
Best regards,
Loren Soth

Crimson K. Software _________________________________________________________________ Crimson K. Blog
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 5
Reputation: grimshaw9 is an unknown quantity at this point 
Solved Threads: 0
grimshaw9 grimshaw9 is offline Offline
Newbie Poster

Re: Creating Objects

 
0
  #3
Apr 11th, 2006
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC