VS 2008 - Buttons Like On / Off For Different Groups Of Textboxes

Jan 27, 2010

I have 5 columns of text boxes 5*5=25 textboxes and I want to put buttons that will stop every column like on off.

View 32 Replies


ADVERTISEMENT

VS 2008 : Center Buttons And Textboxes On Panel?

Sep 14, 2011

i have a panel docked at the top of my form with a button and a textbox. Also have a webbrowser docked below the panel filling the rest of the form.when i run the form and maximize it, the panel and webbrowser resizes correctly as they are docked but the button and textbox stays where it is, how would i make the button and textbox always stay center screen so if i maximize it will be center.

View 2 Replies

VS 2008 Copy Certain Buttons Textboxes And Associated Code?

Jun 8, 2011

I have a grid which users enter their contact information - fname,lname then phone number.I want to know how i can when the usr clicks a button create an extra row of input boxes..And if possible be told how to make the form scrollable, so i can have many, many input boxes present when required.

View 8 Replies

Put Two Different Groups Of Radio Buttons On Form?

Sep 23, 2009

I want to put two different groups of radio buttons on my form. How do I specify which button is in which group? I don't know which propert to change.At the moment VB assumes that they are all part of the same group.

I am using Visual Basic 2005 Express. I have previously worked with VB in MS Access, where you can put a frame around groups of radio buttons, but I can't find any such control in 2005 express.

View 4 Replies

Radio Buttons Groups IF / ELSE STATEMENT

Dec 15, 2011

I'm new in VB programming I did wrote this code so far but for some reason the senior does not calculate. Any help will greatly appreciate. This is what I'm trying to accomplished."basic monthly cost of a membership is $100 for adults and $75 for seniors. Members must choose a level of membership { Gold, which adds $300 to the cost of the membership; Silver, which adds $250 to the cost; or Bronze, which adds $150."[code]

View 10 Replies

Create The Buttons And Textboxes For 1 Tab?

Feb 16, 2010

Dim tab As Integer = -1
Dim y As Integer = 54
Dim r As Integer = 1

[code]....

Im creating a program that has a dynamic amount of tab pages, however i can only figure out how to create the buttons and textboxes for 1 tab.

TabPage1.Controls.Add(tb)
TabPage1.Controls.Add(b1)

How do i turn that control code into dynamic code that will add the same interface to every single button and textbox?

View 3 Replies

Set Opacity Of Buttons / TextBoxes?

Nov 17, 2009

Is it possible for me to set the opacity of a button or textbox? I know that you can set the opacity for a form, but I'm not so sure about a button or textbox.

View 4 Replies

Translate Some Buttons, Textboxes And Labels?

Feb 7, 2010

How can i make my app in a different language, so people can select another language,I need to translate some buttons, textboxes and labels.

View 2 Replies

Forms :: Copy Certain Buttons, Textboxes And Associated Code

Jun 8, 2011

I have a grid which users enter their contact information - fname,lname then phone number.

I want to know how i can when the usr clicks a button create an extra row of input boxes

And if possible be told how to make the form scrollable, so i can have many, many input boxes present when required

View 5 Replies

Creating An Interface With Several Textboxes And HTML Component And Several Buttons?

Jan 29, 2010

I am creating an interface with several textboxes and HTML component and several buttons.But when I drag any textbox onto the existing form they line up vertically one under the another or they attach directly together on the same row. I want to be able to drag and drop and place these as well as the HTML component wherever I need on the form. In VB6 I simply selected what I needed and placed it with ease. Can someone tell me what I need to do gain this simple freedom in vb.net

View 3 Replies

Black Jack Game - Display Value In Textboxes When Buttons Pressed

Apr 3, 2011

I am having trouble with a blackjack game I am creating
I have buttons 1 - 13 (A-K)
I have 5 Textboxes which when the above buttons are pressed displays the values in the textboxes.
I also have one more textbox which adds up the values of the above 5 textboxes to give your Black Jack Total.

The problem I have is if an Ace (11) is in one of the textboxes and the Total Value exceeds 21 I need to have the Ace (11) change its value to 1 instead.
textbox 1 - 5 will be the card values
textbox6.text will be the total Value

I have tried......
if textbox6.text > 21 and textbox1.text = 11 then textbox1.text = 1

This seems to work fine however it only solves the problem of an Ace (11) appearing in textbox1.text so i tried to repeat the code with the other boxes...
if textbox6.text > 21 and textbox1.text = 11 then textbox1.text = 1
if textbox6.text > 21 and textbox2.text = 11 then textbox2.text = 1
if textbox6.text > 21 and textbox3.text = 11 then textbox3.text = 1
if textbox6.text > 21 and textbox4.text = 11 then textbox4.text = 1
if textbox6.text > 21 and textbox5.text = 11 then textbox5.text = 1
However this does not work and my program freezes?

View 11 Replies

Control Arrays - Application Where Several Textboxes And Buttons Will Be Added To A Groupbox

Mar 19, 2012

I am trying to do an application where several textboxes and buttons will be added to a groupbox.

for example..

code:

I might have anywhere between 1 and 20 rows of these textboxes and buttons. I can add buttons on from.. but how would i add the textboxes or buttons to the say Procedure for MyButton_Click... Handles MyButton_1.click, MyButton_2.click

View 7 Replies

Make An Array Of Controls And By Clicking Buttons Add New Textboxes Or Comboboxes?

Jan 6, 2010

i try to make an array of controls and by clicking buttons add new textboxes or comboboxes here is my code

Public Class Form1
Dim CArray() As Control
Dim lngArrayNum As Long = 0

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Add_Control()End Sub Private Sub Add_Control(Optional ByVal intType As Integer = 0)

[Code]...

View 2 Replies

VS 2008 - Control Types - Textboxes And Richtextboxes - Isolate The Textboxes Only

Oct 14, 2011

On my form, i've got some textboxes and some richtextboxes. I'm using the following code, to search through the text properties of each of the two types of control. see below:-

For Each ctl As Control In Me.Controls
If ctl.Text = "7777" Then
ctl.Text = "found the sevens"
End If
Next

What i'd like to do is isolate the textboxes only, is there a way to do that? I tried this but i got an error:-

For Each box As TextBox In Me.Controls
If box.Text = "7777" Then
box.Text = "Found"
End If
Next

View 2 Replies

VS 2008 - Button To Change The Groups?

Feb 22, 2010

i have this code and i want a check box to make changes example when i check the button to work only the group {a4, a5, a6, a7, a8, b4, b5, b6, b7, b8, c4, c5, c6, c7} and when i uncheck the button to work the other group {c8, a37, b37, c37, d37, a36, b36, c36, d36}

[code]...

View 7 Replies

VS 2008 - How To Show All Groups In ListView

Jan 30, 2010

I hava a Listview1 component. I want show all group exits in listview, because if not exits item in listview then group not show.

View 1 Replies

VS 2008 - Multiply 6 Groups Of Numbers?

Apr 12, 2010

i have 6 groups of 5 textboxes each one with numbers 12345 i want to know how i can multiply them and how to see the 15625 numbers

View 31 Replies

VS 2008 Separating Text In Groups Of 5?

Mar 12, 2011

I am currently trying to separate my text into groups of 5.For example.Original text is ABCDEFGHIJKI am trying to make the output to something like this ABCDE FGHIJ K

View 4 Replies

VB 2008, Get Some Buttons To Interact With Other Buttons On Screen ?

Sep 15, 2009

i need to get some buttons to interact with other buttons on screen when i click then, as each indivual button gives a slightly different result.imagine this:[code]....

then i need then to hide different buttons depending on which button was pressed. so say i pressed button 1 then all the buttons showed but alternativly if i had of pressed 2 then say button 5 and 6 disapear.managed to get one way to work but then i would only ever end up with the first results every time.

View 2 Replies

VB 2008 - Dynamically Filling The Listview With Groups And Items

Mar 26, 2009

I am currently using VB 2008 and there is a form I'm using which contains a listview control. I am dynamically filling the listview with groups and items. After I fill it up, it is supposed to look like this:

[CODE]...

Each item is specific for each group. The problem I have is that when I maximize the form to full size, and everything expands, the items change positions into something like this:

[CODE]...

How can I make the listview keep the items in the "row" view always, instead of the "column" view whether I maximize or not?

View 1 Replies

VS 2008 - LINQ Query - Groups And Counts On A Single Dgv Cell ?

Aug 11, 2010

I have a LINQ query that groups and counts on a single dgv cell. What I want to do is group and count on 2 dgv cells. So I modified my existing query by adding a SELECT statement highlighted :

CODE:

But I am getting an error on the second select variable stating: Range variable 'Value' is already declared

What I have read shows that I can select more than one variable.

What I am trying to achieve is this:

Original

CODE:

Result:

CODE:

View 2 Replies

VS 2008 Properties In 'groups' (class) In Designer (property Grid)?

Jul 29, 2009

I'm creating a UserControl that draws a simple radial gauge. I need it to be very customizable; the user should be able to customize everything such as the colors, fonts, sizes. So, I just made a property for every customizable detail. For example, I had ScaleFont, ScaleColor, ScaleStart, ScaleEnd, ScaleInnerRadius, ScaleOuterRadius, ScaleTickmarkFrequenty, etc.. etc.. etc...

Because there are so many properties about the same subject, I wanted to 'group' these properties into one "property". I've seen this done loads of times in third party controls, but I've never done it before myself.The idea is that the properties can be accessed like

Me.Gauge1.ScaleSettings.Start = 10
Me.Gauge1.ScaleSettings.End = 80
...

So far, I tried creating a class for each group, for example a clsScaleSettings class, containing properties like Font, Color, Start, End, InnerRadius, OuterRadius, TickmarkFrequenty, etc (corresponding to the same properties as above).

Then, for every 'group' or class, I create a Property. For example, I have the ScaleSettings property, which simply returns an instance of the clsScaleSettings class (I initialize the instance only once of course):

vb.net
Private _ScaleSettings As New clsScaleSettings
Public Property ScaleSettings() As clsScaleSettings

[code]....

Now, this works in the code editor. I can now use

Gauge1.ScaleSettings.Font = Me.Font

for example, and it sets the font correctly.But, I does not work in the designer, in the Property Grid. The whole reason I made the effort to move and rename nearly all properties (about 70!), and all references to those properties, to separate classes, was so that the user could design the gauge more easily using the Property Grid!Instead of having 15 settings related to the scale, scattered all over the Property Grid, he can now have one ScaleSettings property, which he can expand, and then he can edit the properties of that group easily.The ScaleSettings property is greyed out in the property grid... So I cannot expand it and view it's underlying properties.

View 16 Replies

Set The Opacity Of A Form (not Form1) Down To 50% But Leaving The Buttons And TextBoxes At 100% Opacity?

Nov 1, 2011

How can I set the Opasity of a form (not form1) down to 50% but leaving the Buttons and TextBoxes at 100% Opacity?

View 9 Replies

Resolution And Buttons - Tabs, Inside Each Tab There Are Buttons (the User Can Add The Buttons When They Want)

Mar 3, 2012

I have a piece of software with two tabs, inside each tab there are buttons (the user can add the buttons when they want). when tab1 is full tab2 should start to fill. I currently know how many buttons fit on the screen so I just say something like if buttons > 150 then start to populate tab 2 The problem i have now though is if the resolution is changed then a different amount of buttons can be displayed. so if I put my screen to 1280x720 some buttons are left of. I was thinking of detecting the resolution and then using different cases for different resolutions but this seems very inefficient im wondering if there is a different way?

View 5 Replies

VS 2008 : Dialogue For Active Directory "Select Users, Contacts, Computers, Or Groups"?

Apr 23, 2010

how to call this Active Directory dialogue in .net?

View 9 Replies

Pull Information From A Websight's Textboxes In IE Into Program Textboxes?

Oct 21, 2010

My goal is to, Pull information from a websight's textboxes in IE into my program textboxes. and to later Put changes from into other values on the websight from my program into it. The sight has multiple textboxes, on different frames. within it.I need to keep it as a exsiting open browser instead of making a new one. only gotten as far as finding the open internet explorer window, by useing

[Code]...

View 2 Replies

Different Buttons And When These Buttons Are Clicked In The Defined Order Then Having A Picture Displayed?

Feb 5, 2010

What I would like to do is to have four different buttons (e.g., buttonA, buttonB, buttonC and button D). I wanna give the following instruction to the people: press these buttons in the following order: first buttonA, then buttonB, then buttonC and last buttonD. If they obey this instruction then a picture will be displayed, for instance a happy face. All the other combinations will not activate this picture to be displayed, or in other words, there won't be any consequence. I would also like to save this data using windows note pad e.g., writeline (1, xxxxxx). Is there any chance I will make it?

View 1 Replies

Buttons - Make Buttons That Chage Between [url] And [url] On Timer Code

Oct 25, 2011

So im creating a mail bomber here is the code

Imports System.Net.Mail
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)

[CODE]...

Pretty simble but im trying to make buttons that chage between [URL] and [URL]on the timer code

Dim MyMailMessage As New MailMessage()
MyMailMessage.From = New MailAddress(TextBox1.Text)
MyMailMessage.To.Add(TextBox3.Text)

[CODE]...

View 9 Replies

VS 2008 Way Of Of Saying Textboxes 1-9 'Bob'

Mar 20, 2009

i am new to visual basic express and i am currently learning. Is there a way of of saying textboxes 1-9 = "Bob". [code]

View 4 Replies

VS 2008 ComboBox1 And TextBoxes?

Mar 18, 2011

I've created one form with TextBox1, TextBox2, ComboBox1. Then when I click one of the ComboBox1 items I want to load the saved settings and display them in the TextBox1 and TextBox2. The settings are:

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved