Get Two Different Sub Buttons To See Each Other?

Feb 5, 2012

I need the inputs of all salesPerID to correpond to each ID in the salesIDListBox.I Then have an addButton that needs to store these values. Then a different createButton is to create a report that shows each ID and its corresponding sale along with a total of all 5 sales that were inputted in a totalSalesTextBox. I am so lost. I know I have issues with my variables not being declared because they are in different Subs. so I can see how to make this all work.

Public Class MainForm
Private Sub exitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles exitButton.Click

[code].....

View 1 Replies


ADVERTISEMENT

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

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

Flash Buttons In Place Of Normal Buttons

Aug 24, 2010

how can i use flash buttons in place of the normal vb.net buttons for more powerful interface in our desktop apps.

View 6 Replies

Using A Dialog Form With Two Buttons And Two Radio Buttons?

Jun 12, 2011

I'm using a dialog form with two buttons and two Radio buttons.I'm oppening this Dialog when a button is clicked on the parent form.My situattion is when the Dialog opens the code in the button event continues to execute, but I only want it to continue to execute only after a button from the dialog form have been clicked

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
If multipleEXT = 2 Then
Extension.Show()

[code]....

View 3 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 - Form With Fairly Large Number Of Controls - After Curtain Number Of Buttons - Stops Responding To More Radio Buttons

Jan 17, 2011

My VB application is behaving strangley. I have form with fairly large number of controls. I am using case against radio buttons. after curtain number of buttons, it stops responding to more radio buttons.

Then I tried to split controls in to 2 form but now my form.showdialog() too now working properly. It takes new from names but show the old form when running.

View 7 Replies

Have 4 Different Handles Buttons - Connect Them In Another "general Button" That Will Make The 4 Buttons To Work With One Click?

Mar 15, 2010

i have 4 different handles buttons with code how can i connect them in another "general button" that will make the 4 buttons to work with one click

View 3 Replies

Dynamic Form Buttons - Place Buttons On Each Form That Will Show The Next Available Options?

Sep 1, 2010

I have 7 Windows forms.The order of the forms is defined within a configuration file.I want to place buttons on each form that will show the next available options.The Next button will move the next form in the list.The Back button will move to the previous form in the list. The Finish button will execute the final piece of code.The Cancel button will exit the application.If the user is on the first form, then there is no Back button.If the user is on the last form, then there is no Next button, but there is a Finish button.

Example 1:

Form1 - Next, Cancel
Form3 - Next, Back, Cancel[code]....

View 2 Replies

Add Event To New Buttons?

May 26, 2010

i'm using Visual Basic 2008 Express Edition

i've been trying to let my button create another button with the same events as the current button at the MouseEnter event

i always get a error saying that the event isn't declared

heres the code:

Public Class Form1
Dim index As Integer
Dim r As New Random

[Code]....

View 6 Replies

Buttons Get In The Center Always?

Apr 30, 2009

I have a form with 6 buttons, when form get maximize the buttons is not in the center anymore, how can I do the buttons get in the center always?

View 5 Replies

Change Looks Of Buttons?

Aug 11, 2009

Is it possible to change the looks of the buttons?

View 3 Replies

Controlling The Min Max Buttons?

Jan 23, 2009

I want to have a min and a max functionality to my app. When the user clicks the minimize button I want the form to go to taskbar which is easily done.

However the user clicks on the maximize button i want the form to go to a specific size (470,999) to be exact.

Private Sub app_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize
If Me.WindowState = FormWindowState.Maximized Then

[Code]....

but it maximizes to the screen size. how to control the maximize screen button? I don't want to change the formborder style setting from sizeable because I like the way it looks like this. I just want to get the min max buttons to go to sizes that I want them to go to.

another thing is there a way to save the size of the app that the user has it set to before they send it to taskbar then when the user brings it off the taskbar is there a way to bring it back to that size?

View 4 Replies

Creating Buttons On Run

Apr 14, 2012

I have a database of table #'s (for a room in a restaurant) that I need to generate buttons for. The database is tables.mdb, and the table I want to generate buttons from is tabnum.

[Code]...

View 2 Replies

Edit What Is In A Tab Using Buttons?

Dec 29, 2011

Is there a way you can edit what is in a tab using buttons?

View 3 Replies

Form Buttons In VB?

Aug 3, 2011

I have two forms . All I want is whenever user presses a button on form1 it will show the form2 I can do that , but the main thing is when user presses the button on form2 I want to detect it in form1 and after if the appropriate button was pressed do sometask like,

form1 button:show form2
form2 button:save or button:cancel
form1

[code].....

View 2 Replies

Forms :: Different Looking Buttons?

Mar 29, 2010

Can anyone tell me why the buttons in the development and in the runtime look different? Buttons.jpg Top is how the button looks like at runtime.Bottom is how the button looks like at development.

View 4 Replies

How To Add Radio Buttons Together

Jun 8, 2011

im trying to add two radio buttons together to get a full price, they are split up by two group boxes. Meals and dormitories, I have the prices on how much they are, but I dont know how to put the right radio buttons in the right places and then add them up, here is the code I have so far

Public Class Form1
Const decRadioButtonmichigan As Decimal = 1500.0 ' this is suppose to go in the dormitories group box

[code]......

View 7 Replies

How To Make A Buttons

Apr 1, 2009

Can somebody send me a sample code to my E-Mail. I want to know how to make a buttons to Visual Basic. I need a source code for two buttons and a number display. One button Increases the number. Othe Decreases the number. Can you send a code as a attachment to my E-Mail.

View 5 Replies

How To Use Radio Buttons

Mar 10, 2010

I am trying to figure out how to use radio buttons.when the radio button is selected it should display a integer number in the text box.

This is what i have so far[code..]

View 4 Replies

IDE :: Compile And Run Buttons?

Jan 22, 2011

where in 2005 VB can I add compile and run buttons

View 1 Replies

Link The Buttons To .exe?

May 13, 2009

i am using vb 2008 express and i want to create a little menu with buttons but am don't know how to link the buttons to .exe. so what i want is when i click on a button it opens the exe file.

this is the code when i double click on the one of the buttons

Public Class Games
Private Sub Games_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code].....

View 13 Replies

Put My Animated Buttons?

May 4, 2011

How to put animated buttons? for example if the user click the button it will change color, i try to create animated gif and put it as background image but it didnt work. I also tried to use mousehover and mouse leave and its working! But I think the response of the button is slow, it takes 1 second before it activates the mousehover event.

View 3 Replies

Put Short Cut Ket For Buttons

Aug 19, 2009

how can i put short cut ket for the buttons i made?example i made a button name PRINT.how can i make that ctrl + p to be the shorcut key format?

View 8 Replies

Radio Buttons And If ... Then ... If / Else

Mar 11, 2010

My homework is the following: public Class Form1

[Code]...

View 11 Replies

Set The Caption Of The 10 Buttons?

Sep 21, 2010

if i have a database table with two column btnid and btncaption and i have a form with 10 buttons how can i make function to set the caption of the 10 buttons depending on the btncaption column?

View 14 Replies

ToolStrip Buttons Are Gone

Apr 5, 2010

I have an MDI container with a ToolStrip. I ran into a naming issue with images/icons. I removed the lines of code referring to the image of the buttons in the MDIForm.Designer.VB file. Then, in the actual designer, I imported the image file as a project resource and added this image to each button.

When I view the MDI form in the designer, the buttons appear normally, but when I run the app, the buttons are not there!

Should i have not edited the designer.vb file directly? Can this be fixed without recreating each button?

View 12 Replies

Use Buttons As An Array?

Jan 11, 2010

I know you can make an array of button. But the buttons are already put on the web form in specific spots. I have the buttons named like- button1, button2, button3, button4, button5... Is there a way to use that in an array even though the buttons are designed from the start and not tied to an array from the start? I basically do not want to make a routine for each button and would like to use just 1 routine and add to the counter to update my access database[code]...

View 2 Replies

Using Buttons On A Webpage?

Dec 13, 2010

I have a masterpage with a very long outline on my website. Is it possible to use a button to Goto a specific section of this outline? Iused <asp:MenuItem Text="Outline Explanation" NavigateUrl="#BasInstruction" /> in a menu that works initially, but after moving around on the website it seems to lose recognition and I receive an error message that it clocate the file.

View 1 Replies







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