Hi
I've been wondering for a wile now if its possible to make an application
were the user can make a form by inputting data in variables this by using
VB.net
Example
The user gets a dataset and below a button make form
varname ! Description ! Default value ! Max length ! typeval
---------------------------------------------------------------------
strTest ! Length ! 100 ! 7 char ! String
If the user clicks on the command button it will make a form with a textbox
(because of the string value) 7 charters long with a label in the label Value
length. And the default value in the textbox will be 100
Is this possible?
Can someone direct me to help files, books where I can find examples of this
or something like it?
thanks steve 3 1030
You can dynamically create controls, no problem.
The format would be on the lines of:
Dim frm As New Form
Dim tbox As New TextBox
frm.Name = "Form" & cnt
tbox.Name = "Textbox" & cnt
tbox.Text = "Textbox" & cnt
tbox.Location = New Point(30, 40)
frm.Controls.Ad d(tbox)
frm.Show()
cnt += 1
HTH, Phil
"steve" <st***@discussi ons.microsoft.c om> wrote in message
news:7D******** *************** ***********@mic rosoft.com... Hi
I've been wondering for a wile now if its possible to make an application were the user can make a form by inputting data in variables this by using VB.net
Example The user gets a dataset and below a button make form
varname ! Description ! Default value ! Max length ! typeval --------------------------------------------------------------------- strTest ! Length ! 100 ! 7 char ! String
If the user clicks on the command button it will make a form with a textbox (because of the string value) 7 charters long with a label in the label Value length. And the default value in the textbox will be 100
Is this possible? Can someone direct me to help files, books where I can find examples of this or something like it?
thanks steve
I would half to say yes, Since .net can compile at runtime then this is
possible.
What is the use?
It will be a pain in the ass as far as useability, a lot of training will be
required
"steve" <st***@discussi ons.microsoft.c om> wrote in message
news:7D******** *************** ***********@mic rosoft.com... Hi
I've been wondering for a wile now if its possible to make an application were the user can make a form by inputting data in variables this by using VB.net
Example The user gets a dataset and below a button make form
varname ! Description ! Default value ! Max length ! typeval --------------------------------------------------------------------- strTest ! Length ! 100 ! 7 char ! String
If the user clicks on the command button it will make a form with a textbox (because of the string value) 7 charters long with a label in the label Value length. And the default value in the textbox will be 100
Is this possible? Can someone direct me to help files, books where I can find examples of this or something like it?
thanks steve
Hi Chris
Thanks for replying to my question
I like to build an environment where the users can input variables and use
them later in al dataset for calculation. This already exists in other
applications but the thing is you can only make the variables in datasets. I
like to take it a step furthers so that the users can input the variable
values in a dataset and generate a form or a view of controls where the can
change the input of these variable values.
This if after the saved the variable dataset as a template.
Again I've seen it work in an application in java where the user can make a
view of controls with JavaScript, save it as a template and call it for
manipulating the values of the variables by using the controls
And again I do not like it it’s too difficult for the users.
Do you now any books or sites where I can find help on this topic?
Steve
"Chris" schreef: I would half to say yes, Since .net can compile at runtime then this is possible. What is the use? It will be a pain in the ass as far as useability, a lot of training will be required
"steve" <st***@discussi ons.microsoft.c om> wrote in message news:7D******** *************** ***********@mic rosoft.com... Hi
I've been wondering for a wile now if its possible to make an application were the user can make a form by inputting data in variables this by using VB.net
Example The user gets a dataset and below a button make form
varname ! Description ! Default value ! Max length ! typeval --------------------------------------------------------------------- strTest ! Length ! 100 ! 7 char ! String
If the user clicks on the command button it will make a form with a textbox (because of the string value) 7 charters long with a label in the label Value length. And the default value in the textbox will be 100
Is this possible? Can someone direct me to help files, books where I can find examples of this or something like it?
thanks steve This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bengt Richter |
last post by:
We have where syntax in combination with suite expression syntax (bear with me,
I think a good synergy will emerge ;-)
http://groups.google.co.uk/groups?selm=mailman.403.1105274631.22381.python-list%40python.org
http://groups.google.co.uk/groups?selm=3480qqF46jprlU1%40individual.net
are the key referneces for background (I'm just repeating from Oren's post for convenience).
The first suggests a grammar mod for its proposed "with"...
|
by: VM |
last post by:
Is it possible for the bound data in a web datagrid to be displayed in
links?
The grid will show the client's first name and last name and, when the user
clicks on the first or last name, I want to get the cell the user clicked
(thus getting the client he chose), and take the user to another separate
page that will show that client's complete information.
It doesn't really have to be like that (there could be another extra
column - as a...
|
by: Brandon Potter |
last post by:
I'm having a bit of trouble figuring out how to let IIS 6 pass on default
document requests for documents that don't exist to ASP.NET.
In a simplified version of my application, all of the "pages" are user
controls (.ascx files), and I have one "master page" (no, this is not 2.0)
that contains the template for the site. I have written an HttpHandler that
takes the URL, which would be www.mysite.com/test.aspx, and process it
through...
|
by: darrel |
last post by:
I had a conversation with a friend today.
I'm working on a project where I have an XML file that stores the site
structure and some page-centric variables. I have a handful of controls that
will be reading from this XML file.
My initial reaction was to load the XML file once, and then set it to a
cache object, so that it's cached and only updated if the file is updated on
the server.
|
by: |
last post by:
Just seeking some advice (or solace)...
Am I the only who's having trouble letting go of notation? Having extensive
experience in C++ years ago (both before I jumped into VB3 in college and at
various times during my VB career), I welcomed the "richly-typed" .NET
framework. But, after almost *two years* of "giving it a chance," I still
insist that using notation for the "common" (mostly value-types) types
(string, integer, boolean, etc.)...
| |
by: BerkshireGuy |
last post by:
I have a form, with a subform that changes AllowsEdits,AllowAdditions,
etc depending on who is coming in. This is done by using the OpenArgs
and is working fine.
However, if the user is restricted (meaning no additions, deletions,
etc) they can still click on a combobox, just nothing happens.
A couple of additional thoughts:
1) Using enabled=false is not an option because the user doesnt like
|
by: Steven Nagy |
last post by:
Hi all,
I'm getting across the membership API stuff.
However it seems that we would have benefitted from some extra
controls for "Manage Users" and "Manage Roles".
Is there some additional controls for this somewhere? Perhaps some 3rd
party free ones?
Seems like the login toolbox is a little "incomplete" to me.
|
by: Simon |
last post by:
How to pass messages through events from a user control to its containing
page, or to another user control? Is there any recommended way? Thanks very
much.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |