Have Two Forms With The Output Display Carrying On To The Next

Apr 8, 2011

I have several forms, the first one the user chooses the pizza type, size and topping, the second they choose the side orders such as chip, garlic bread etc and the third, the user choose the drinks, the last form is the summary form which i want it to display everything the user chose and the overall total.

So for this i want on each form the thing they chose and the price. For example form 1, user chooses 8" Maryland with onions, then they click subtotal button, this adds it up, then they click next to go to the next form and when the user clicks the button for chip it is displayed with the pizza that was displayed on previous form and is added to that subtotal etc. At the mo I can get on each form the the output being displayed but i do not know how to get the output from the previous to already be in the second form. so really for ever form i want the output boxes to be linked.

ps. I have attached a very quick print screen of what my program looks like for each form to give a better understanding.

View 6 Replies


ADVERTISEMENT

Carrying Names To Display In Form Label

May 14, 2011

In form 1 a user enters there name and if they enter =>3 letters then form 2 shows up. I want it so when form2 shows up, I want the name that was entered to display in a label in this form.
lblname.label = username

View 8 Replies

Forms :: Carrying A Variable To Another Form?

Sep 3, 2010

I have the following form: Imports System.Data.SqlClient Public Class Form1 Dim ReturnValue As Object = Nothing

[Code]...

View 12 Replies

ByRef Not Carrying Through IN Program

Oct 20, 2011

The one calls form 2 as a dialog, and passed by ref a "pointer" to the base class(abstract).[code]...

View 2 Replies

No Output Is Being Display?

Aug 23, 2009

this is that i cant convert it properly

Sub Main()
Dim a, c, d As Double
Console.Write("Enter a number: ")

[Code]....

no output is being display

View 9 Replies

Take Two Integers From Two Text Boxes And Put Them Into Two Separate Integer Arrays Then Add Them Right To Left Carrying If Over 10

Dec 17, 2009

i need to take two integers from two text boxes and put them into two separate integer arrays then add them right to left carrying if over 10. here is what i have so far but just looking for the addition i think i can figure out the rest if i get the addition working...

' Project Name: Big Integer Project
' Project Purpose: User enters two integers up to 30 digits each then performs operation.
Option Explicit On

[code]....

View 2 Replies

.net - ASP.Net MVC3 Display Sql Output In Webgrid?

Feb 3, 2011

I am using ASP.Net MVC3 with MySQL Trying to figure out beast way to return sql result from controller to view and display output using webgrid help class.

tried following its not working.Controler code

data = New DataTable
da = New MySqlDataAdapter("SELECT * FROM " + tables.SelectedItem.ToString(), conn)
cb = New MySqlCommandBuilder(da)
da.Fill(data)
ViewData("grid") = data

[Code]...

View 1 Replies

Display Output Of A Loop In Textbox?

Mar 20, 2012

Im new to coding and this is my first post . so please forgive me if i end up sounding stupid i've been trying to get output of a for loop into a textbox or label for example

[Code]...

View 6 Replies

Getting The Output Image Path To Display?

Jan 8, 2009

I designed an interface which calls an executable program written in c. This program needs an input image and outputs another image which has the name: "<the same as the input one>_out". My interface has to display both images (input in picturebox1 and output in picturebox2), I've done so for the input image but now I need to get the path for the output one to display it. I know that there are functions like My.Computer.FileSystem.GetFileInfo() or My.Computer.FileSystem.FindInFiles() but I think they're useless for me, do you think so? Do you know any methods or functions to get the path of my output file? Is it possible?

View 12 Replies

String Won't Display In Output Boxes?

Dec 5, 2011

The project was to modify a previous payroll system project, which had a base class(employee) and 3 derived classes(salary, commision,and base + commission) under it by adding 2 more derived classes(piecework and hourly).Before I stated the modification, everything worked fine. When I would run the program the 3 types of employees would display in each output text box. The same thing is supposed to happen after I added the 2 additional types of employees, but now when I run the program, both output text boxes are completely blank. I'm not sure why I can't get anything to display in my 2 output boxes and all of the coding looks correct to me.

Polymorphism test
' PolymorphismTest.vb
' Employee hierarchy test program.[code]............

View 1 Replies

Use A Listbox Or Listview To Display Output?

Apr 28, 2009

I've start on another program and I'm confused whether to use a listbox or listview to display output. I have 2 books but neither mention the use of Listviews and they don't cover using Listboxes for displaying output, and will be used in combination with combo boxes as this is how the user will enter the information. I know I want to use a global variable to total scores if this makes any difference at all.

[Code]...

View 2 Replies

Display A Value Of An Output Parameter From A Stored Procedure

Jul 8, 2009

How would I use a value from an output parameter from a stored procedure in a vb 2005 application. I would like to capture a run date from the procedure and show it on several forms in the app.

View 2 Replies

Display The Output In A LstOdd And LstEven Listbox?

Jun 6, 2011

I have to create an application that will display all the odd and even numbers between the input values of number 1 and number 2. Display the output in a lstOdd and lstEven listbox.

[Code]...

View 5 Replies

Get Final Output To Display Month , Day , Year?

Dec 22, 2010

How do I get final output to display month, day, year? Would I need another replace array? Or can I dynamically format from SQL table?[code]...

View 7 Replies

Load Function And Display Output Before Proceeding

Jun 18, 2011

I am working on a small program which will check a web server if an update exists for a program. I am having it display to the user if it has a confirmed connection to the web (by pinging the website), and let them know if there are any updates available...

When it pings the web server, if the ping returns true, I'd like it to output "Confirmed Connection" before continuing executing the program. Is there a way I could do this..? I've tried numerous different things so far but it loads everything and displays everything all at once...I included a printscreen of what I'm trying to do.. I also pasted my code in. Ignore my sloppy name defining for the textboxes and such. I just made this up as a test until I get this figured out..

HTML Code:

CODE:

View 4 Replies

Load Function, And Display Output Before Proceeding?

Jun 18, 2011

I am working on a small program in vb 2005 which will check a web server if an update exists for a program.

I am having it display to the user if it has a confirmed connection to the web (by pinging the website), and let them know if there are any updates available... When it pings the web server, if the ping returns true, I'd like it to output "Confirmed Connection" before continuing executing the program. Is there a way I could do this..? I've tried numerous different things so far but it loads everything and displays everything all at once...

HTML
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code].....

View 2 Replies

Calculate DataGridView Columns And Display Output In Textbox?

May 13, 2010

I am trying to calculate two columns in a DataGridView. The first column is the points column and the second column is the Rental_charge column. I would like one text box to display the total of points and the second text box to display the total Rental_charge.

Private
Sub Rental_ItemDataGridView_CellEndEdit(ByVal
sender As
Object,

[code]....

View 1 Replies

Execute Bat Script, Save Output And Filter It Then Display?

May 12, 2011

I have a problem - I still use SharpDeveloper for creation a menu. what I would like to have - click on button " check licenses " to display current free licenses for ProE . to check license status is bat file which is on network drive - ptcstatus.bat

executing bat is an output like : is it possible to get marked values ( licenses names and amout of Free ) and make output in display ?

View 15 Replies

Interface And Graphics :: Display Long Lists Of Output?

Aug 15, 2008

I am trying to write a program in VB2008 Express. I originally wrote it in excel, but I want to add some features and make it a standalone executable. the program is ideal for a spreadsheet application though.

essentially, there are two input tables. each containing about 6 columns and maybe 10 rows. I assume that could be handled by arrays. the output would be a continuously updated table of output based on calculations using the data from the two input tables. the output table would be about 4 columns by up to 1000+ rows, and would need to be recalculated and displayed each time any data in the input tables has changed.

first, are arrays sufficient to handle this? would databases be more appropriate?

second, what's the best way to display a long list of output, that has a user defined length and is continually updated. it would also be nice to have the ability to click on an individual cell (or value) in the output and have more code executed.

is there a way to incorporate a spreadsheet like tool for this as a backend? I want to make sure i'm using the most efficient approach before i invest too much time.

View 1 Replies

Controlling Output To A TV Display While Control Panel Is On Laptop Screen?

May 21, 2011

I have a program written in VB.Net with Visual Studio 2008. I have one window form to display on a laptop that controls the information seen/sent on another form that is to be continually displayed on an output from the laptop to a TV, Projector or Monitor. Or I would like to accomplish this:

Computer/laptop - Has window form 1 that controls the program TV/Ouput - Has window form 2 that shows updated data on the screen for people to see I do not want people to see the control form that is on the laptop.Is their a way to assign a form to use an output to other screen only?

View 5 Replies

VS 2008 - Use Regex Or An Array To Display Some Output From An Arithmetic Input?

Sep 19, 2009

I've to make a program that reads an arithmetical sentence from a textbox, e.g 12.3*34+4*5-3 and then on another textbox identify and display what is the content of the first textbox, for example taking the last ex:

If I have this input:

12.3*34+4*5-3

The output should look like this:

<number>12.3
<operator> *
<number> 34
<operator> +

[code].....

This program should only read this operators like (+,-,*,/).I'm have in mind 2 ways of doing it, one with regex and the other taking the first sentence, put it on an array, then trim it, and somehow get the values of the array and identify if it is a number or a decimal number and if it's an operator and then display it.

The difficult part or the part that i can't conceptualize is how to implement it with regex (it should be easier with a regex format than storing it on a array).I write a bit of code, I used an array to store and then to print the numbers and I used the split function to separate the math operator, but I dunno how to print the operators and the tags.

vb
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Sentencia As String = TextBox1.Text Dim i As Integer Dim arryTextBox() As String TextBox2.Clear() arryTextBox = Sentencia.Split("+", "-", "*", "/") For i = 0 To UBound(arryTextBox) Dim Array As String = arryTextBox(i)

[code].....

Btw, I also have the code to validate the input on the textbox ::wink::

View 2 Replies

Forms :: Reading Console Output In A Window?

Apr 15, 2009

I've got an old dynamic link library that I'm using which was created primarily to be used in a console environment. As such it generally indicates what it's doing through Console.Write(). I've recently created a windows form which is using some of the functions from this library. I'd like to be able to grab the console output and place it in a textbox on my windows form so that the user can have some indication of the progress (right now it just says "Working").

View 3 Replies

Forms :: Unable To Write To Output File

Feb 6, 2007

I have been at VB.NET for a very short while now (about 1 month) and I can say without a doubt my knowledge of VB has continued to amplify from the information posted in these forums.Along with my first post I also have a question about setting an icon for my application .exe file.I have read that I need to go to Project > properties then on the Application tab there is a section to change the icon from the default to something else. However when I do this and choose the icon that I want, I get an error when I use the debug to run my application.It says "Unable to write to output file C:/... the specified image file did not contain a resource section".

View 3 Replies

Forms :: WebBrowser In Form Not Displaying PDF Output In Win 7

Oct 24, 2010

Just moved a .NET 2.0 App from VS2005 to VS2010 and noticed that now when a window containing a WebBrowser tries to retrieve a pdf it thows out an error (unknown file type System.Byte[]). This would usually indicate that Acrobat Reader has not been installed - but open up IE9 and enter the link into the address bar and the PDF displays in the browser without any incident!

Should point out that the app created in VS2005 and installed on Win 7 (actually Server 2008 R2 in 'Workstation Mode') has the same issue.. All works fine in XP and below... Do seem to remember this on a Vista box, but put that down to Acrobat not being installed!

View 3 Replies

Simple Forms With Rich Text Output?

Apr 6, 2010

I have absolutely zero coding experience and my background is non-IT. I'm however trying toy friend who also shares the same non-coding skillset as mine her automate some of her work but building a simple form that takes a bunch of input (drop down, check boxes, radio buttons, rich text boxes etc) and outputs it to the a word or rtf file. Is this possible?

View 14 Replies

VS 2005 - Gotchas With Docked Forms - Forms - Displayed Using Menu Items To Display Information To User

Nov 10, 2011

We have an application that has a main form with a map on it. Right now the paradigm is to have forms that are displayed using menu items to display information to the user. Most of these forms are modal forms, but a couple are non-modal forms that interact with the map. For some of the forms, it really would make for a better user experience if we could dock them in the main form of the app and allow the user to see both the form and the map. For instance. We could have a list of map features in a docked window, and select one of the items on the list and have the map zoom to that feature. Or do the reverse: let the users select a map item and have a docked window that shows details of the feature. Sounds great, but I wonder about what sort of gotchas we may encounter. In particular, what if we have two windows docked at the same time? Could we get tangled up in our event code?

View 2 Replies

Output Window Displays Values For Both Forms Identically

Jan 6, 2011

"Working with Multiple Forms in Visual Basic .NET: Upgrading to .NET" url...states very clearly, "you need an instance of a form before you can display it or work with any of its controls or properties". Granted, this was written for VB.NET 2003, but I can't find any reference where this has been changed in later versions. [code] Running this in Debug, both OriginalForm and InstantiatedCopy work fine. The Output window displays the values for both forms identically. (I'm using Visual Studio Professional 2010.)

View 17 Replies

Forms :: Tab Control Inheritance - Dynamically Add Tabs Depending On The Output From A Database

Jul 18, 2007

I've got a tab control and want to dynamically add tabs depending on the output from a database. I can easily add a new tab, however I want to inherit the controls and layout from the initial tab.

View 7 Replies

Forms :: Display Video On 2 Forms?

Jul 5, 2010

I've been trying to create a simple program with vb 2010 to play video's (when you use multiple screens) on the main screen (with controls) and the full screen (with no controls) on the second screen.I get it to work that I can open the second screen and play a video, but the video is only played on the main screen and audio is played on the second screen.I want to play the video on the main screen as well as on the second screen at the same time.

[code]...

View 8 Replies

Change Calculator Output - Display The Correct Amount Of Change

Sep 27, 2010

I have a change calculator program that has two user inputs and 6 outputs. The user inputs how much money is owed, then how much money is received. IT will then display how much change you need to give back. It should also display the different types of currency that are available to give as change. Here is my code so far.

[Code]...

View 7 Replies







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