473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

how to load text box runtime

Hi friends

Can any one know how can i load text box run time in
vb application.
Nov 19 '05 #1
4 5574
Dim txtBox as new textBox()
txtBox.location = new point(8, 30)
txtBox.size = ...
txtBox.text = ...

Form1.AddControls(txtBOX)

Hope it helps.

"harish" <ha*****@yahoo.com> wrote in message
news:05****************************@phx.gbl...
Hi friends

Can any one know how can i load text box run time in
vb application.

Nov 19 '05 #2
Hello,

"Wai Kong [MSFT]" <ji******@online.microsoft.com> schrieb:
Dim txtBox as new textBox()
txtBox.location = new point(8, 30)
txtBox.size = ...
txtBox.text = ...

Form1.AddControls(txtBOX)


Shouldn't the last line read something like that:

\\\
Me.Controls.Add(txtBox)
///

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 19 '05 #3
this code is not working with Visual Basic.

Dim txtBox as new textBox()

I am using Visual Basic 6.0
-----Original Message-----
Hello,

"Wai Kong [MSFT]" <ji******@online.microsoft.com> schrieb:
Dim txtBox as new textBox()
txtBox.location = new point(8, 30)
txtBox.size = ...
txtBox.text = ...

Form1.AddControls(txtBOX)


Shouldn't the last line read something like that:

\\\
Me.Controls.Add(txtBox)
///

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
.

Nov 19 '05 #4
Hello,

"harish" <ha*****@yahoo.com> schrieb:
I am using Visual Basic 6.0


This is a VB .NET ng. Please turn to the VB6 ngs:

news://news.microsoft.com/microsoft.public.vb.controls

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: wow | last post by:
Hi, Have a problem at hand..... I have a text file as follows: AA : class_a BB : class_b ............ XX : class_x
5
by: Jibu George | last post by:
Hi I'm developing a deployment package using Visual Studio.Net. I have a custom user interface with a text box. How can I load the text box with some data at run time. Thanks & Regards, JIB
2
by: brianbender | last post by:
I am trying to load and unload assemblies dynamically and call methods and properties when loaded into an Appdomain I can load assemblies all day in the current AppDomain without references and...
9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
1
by: Chriss | last post by:
I receive "could not load type" error message when trying to load aspx page. The DLL is built and is located in the correct bin directory. The type name in the "inherits" attribute matches the...
6
by: Steve | last post by:
I'm playing with late binding and trying a very simple test to load an assembly In my "Host" application I have this code: <code> string modulePath =...
2
by: danishce | last post by:
I want to load a form dynamically by reading Form Name from a text file using vb.net. In visual basic 6 code works fine but when i use the same code in vb.net it gives the error. The code below...
2
by: robert112 | last post by:
This is quite a hard one guys. ***Some necessary back ground Info*** I have an asp.net 1.1 application that uses a WYSIWYG to return some html created by the user in the admin section of the...
9
by: =?Utf-8?B?VGhvbWFzIFcuIEJyb3du?= | last post by:
"parez" wrote: Assembly.LoadWithPartialName does indeed work!! Now, why is this incredibly useful routine deprecated and we are instructed to use Assembly.Load instead which does not provide...
4
hemantbasva
by: hemantbasva | last post by:
We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.