Forum: VB.NET Aug 28th, 2009 |
| Replies: 15 Views: 754 Correction
"1.Pre check if control already exists on form(try clicking button twice!)" |
Forum: VB.NET Aug 28th, 2009 |
| Replies: 15 Views: 754 Hi , i've got the vb6 code to add a textbox control at runtime
Instructions after the code
Dim WithEvents ctlText As VB.TextBox
Private Sub Command1_Click()
' add a textbox
Set ctlText =... |
Forum: VB.NET Aug 28th, 2009 |
| Replies: 15 Views: 754 Hi, i asked a question but i think i forgot to post it (i saw it just after i posted this sorry!)
My q was whether you use VB6 and not VB.NET .
My other q was whether you add controls that do not... |
Forum: VB.NET Aug 28th, 2009 |
| Replies: 15 Views: 754 That code that you use ,
do you run it in VB 6 , and do you add controls that come from
third party(not the ones that already come in the environment) |
Forum: VB.NET Aug 26th, 2009 |
| Replies: 15 Views: 754 try this
you need a flow layout panel on your form
set the anchor so that it can expand in all directions
Public Sub AddTextBoxes(ByVal flPanel As FlowLayoutPanel, ByVal controlCount As... |
Forum: VB.NET Aug 26th, 2009 |
| Replies: 15 Views: 754 Another thing is , which you should search is whether you can do this via data binding!
I don't know data binding , i think if you search it you might find better option to this.
Here is code (it... |
Forum: VB.NET Aug 26th, 2009 |
| Replies: 15 Views: 754 I was creating a simple form where you create update delete records etc. . For every table chosen , there would be equal amount of controls as there are column for that SQL table.
To make it... |
Forum: VB.NET Aug 26th, 2009 |
| Replies: 15 Views: 754 I've done something where I created amount of controls accorrding to specified table's columns. Where you draw a textbox for a text/varcharfield and a datetimepicker for a datetime column type.
... |