Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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
 
Old May 30th, 2006, 03:12 AM
Registered User
 
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default I want to create button control in runtime.

How i do create button control in runtime?
In Visual basic .NET2003

Thank you

http://interface.centraltreasure.com

Port programming, RS232 , Serial port
 
Old May 31st, 2006, 09:50 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Put this code in the Page_Init event:
        Dim btn As New Button
        btn.Text = "Some Text"
        btn.ID = "SomeID"
        Me.FindControl("Form1").Controls.Add(btn)


 
Old September 24th, 2006, 11:18 AM
Registered User
 
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok Work!!!!

Thank you for comment.

http://interface.centraltreasure.com
Serial Port Programming, RS232, ModBus
 
Old October 20th, 2006, 07:10 AM
Registered User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Mattimore
Default

ok, i get the error big time when i try to run a Superpower 2 game editor, not that can say much for my debugging skill, i have followed many of the suggestions, only problem is i don't use a dell. i have the XP pro and framework .Net and that debugger, but have no debugging skill like i said, and get the message everytime. can anyone help?






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create runtime Checkbox button ? piscarian VB.NET 0 November 18th, 2007 08:27 PM
Adding button at runtime ehabinl ASP.NET 1.0 and 1.1 Professional 2 August 7th, 2006 02:46 PM
Adding button at runtime ehabinl BOOK: Professional C#, 2nd and 3rd Editions 0 August 7th, 2006 03:48 AM
Problem with Infragistic Button at runtime csian ASP.NET 1.0 and 1.1 Professional 1 March 12th, 2006 01:22 AM
Create Control, Runtime jimmyfrank Access VBA 1 January 29th, 2005 10:40 PM





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