Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.††If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 10th, 2004, 08:36 PM
Authorized User
 
Join Date: Jun 2003
Location: Essendon, Victoria, Australia.
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re-Creating User Control

Hey guyz, i am trying to re-create a user control and align them on a form at run time. The code below runs well without any problems. the only is i don't see the control being re-created (Visible) on the form. This is a VB.Net Proj.. if u know what i can do please help realtime!!

Dim continousFrm(3) As ctlRoaster
Dim i As Integer
For i = 1 To 3
continousFrm(i) = New ctlRoaster()
continousFrm(i).Visible = True
continousFrm(i).Location = New Point(34, 34)
continousFrm(i).TextBox3.Text = "45555"

Next i

Also, Is there away in VB.Net i can have a continous form like in Ms Access, where i can put controls repeat itself. I dont wanna use data grid coz i can't add controls like dateTimePicker or combo box.

LION OF JUDDAH!
__________________
LION OF JUDDAH!
Reply With Quote
  #2 (permalink)  
Old April 12th, 2004, 12:28 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How about:

continuousFrm.Show()
Reply With Quote
  #3 (permalink)  
Old April 12th, 2004, 02:26 AM
Authorized User
 
Join Date: Jun 2003
Location: Essendon, Victoria, Australia.
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default


    Hey i figured it out.

    You use object.control.Add(New object())..hopefully it helps somebody else. thanx to you (shadowpug) for tryin to help.

LION OF JUDDAH!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a ASPNET user s_boland .NET Web Services 2 June 6th, 2007 02:22 PM
get an error when creating a new user...?? riki_gill ASP.NET 1.x and 2.0 Application Design 1 October 29th, 2006 12:27 PM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 12:17 AM
Help! Custom Server Control using User Control diehard ASP.NET 1.0 and 1.1 Professional 2 January 4th, 2006 11:33 AM
Help with control initialization in user control mike_remember ASP.NET 1.0 and 1.1 Professional 7 December 19th, 2005 10:08 AM



All times are GMT -4. The time now is 03:54 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.