ASP.NET VB Changes In Stocks Prices Prompt
Aug 12, 2011
I'd like to ask about the way in ASP.NET VB to detect the changes in stocks prices, if the price inceased, the containing cell inside the grid blinks in green, decreased will blinks in red? ex: if the price now 10.00$ and increased to 10.01$ the containing cell will blink with 1 second in green..
View 1 Replies
ADVERTISEMENT
Feb 16, 2009
I'm trying to code an 'increase' button to prompt a user to input a rate by which to increase select prices in an array.It should request the increased rate, then request a number from one to five, representing which price in the array to increase.Then, if 'increase' button is selected again and another number from one to five is chosen, then that element should be increased.It's working, but all the numbers in the array are changed. And, when I hit the increase button again, the array is repopulated below the first price increases instead of only replacing the designated price.
'declare 5 element array of prices
Dim prices() As Double = {12.2, 8.5, 12, 50, 2.4}
Dim rateIncrease As Decimal
Dim isConverted As Boolean
[code].....
View 1 Replies
Jan 12, 2010
I created a program that displays the stocks from a file, with options to add/update/change prices etc. I had it working and I was adding things etc. So I went to erase what I did from the file itself, and now I am getting an IndexOutofRangeException. Is it because I was adding to the array?
Here's my code:
Public Class frmStocks
'Juliann Reser
'IT293-02AU
'Unit 5 Project-8.6a Stock Portfolio Application
'I attest this is my own work.
'Variables
Dim LineItem(100, 4) As String
[Code] .....
View 1 Replies
Apr 21, 2010
Anyone know a code snippet where I can get stock quotes of specific stocks in the NASDAQ? I know the two main ways are through excel or a microsoft office database, but the last thing I studied was loops.
View 1 Replies
Dec 25, 2010
I want to do a project in vb.net 2008 using database from MS Access 2007. I have to go from the main menu to the other forms, in each form I have to select one or more items, each item has a price (should be taken from the database *.accdb), then I have to return to the main menu, click the cost button to find the total cost of these items.
1. Where I have to write the code to access my database, in the main menu or in each form individually? and how to write it? I used the code found at:
http:[url]......
but after DEBUGging told me that it cannot see "Table1"?
2. When I am in one of the forms, do I have to "save" my selections, and how?
3. How do I exit from any of the forms to give me the total price to the step, form, I have reached?
4. The total cost should appear in a separate form (screen) at the same time should be saved?
View 10 Replies
Jan 29, 2012
I am trying to use if statements to add the prices of a cruises special packages together. I am using check boxes for the packages, so any, from none to all 3 are able to be checked. The packages available are VIP, excursion and restaurant. The price will also depend on the cruise length (7 or 10 day). I am wondering on which format to use, and if I even need to use if statements, how to make this statement true,
View 1 Replies
Mar 6, 2010
I have a school project, and for some reason in the book it doesn't show how to keep a variable cross sub functions. Can anyone give me a clue of what i'm doing wrong ?
Here is my code
Private Sub processButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles processButton.Click
[code].....
View 2 Replies
Aug 12, 2009
I want to round the prices in the following manner: if it's 12.48 should be 12.99, if it's 12.98 it should be 12.99, if it's 12.10 should be 11.99 and so on.
View 39 Replies
Dec 30, 2010
i have a form and it has checkboxes that are different prices for options on a car. my problem is I don't know how to write the code to add the checkbox prices up to display in the lable.
View 4 Replies
Mar 3, 2009
Anyway for my vb class we need to write an auto inquiry system. Im a total n00b and am struggling altogether. My interface is below Basically what my problem is (among others) is that I don't know how to assign prices to each model from the combo box. This is what I used to populate the two boxes:
[Code]...
View 9 Replies
Jun 3, 2011
In calculating an item from a texfile that exists from menu_cmbselectedIndex,i want to display total number of items when i click a combobox and should also display total amount for those items.
View 2 Replies
Jan 14, 2012
I have a small app and i want to display the data (prices) from some hard drives from some site's. I use this code
Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img")
For Each CurElement As HtmlElement In PageElements
TextBox2.Text = TextBox2.Text & CurElement.GetAttribute("src") & Environment.NewLine
Next
View 4 Replies
Mar 22, 2011
I am trying to put together a simple form with prices assigned to Radio buttons and check boxes.
I started by creating a simple form with four Windows Form control, two check boxes and two radio buttons, there is also a NumberUpDown Control for quantity but I have not added that yet.
Basically the user make selections, the price is calculated with total and subtotal and displayed on a label.
I am trying to start as basic as possible then work my way up to more complex calculations as I progress.
Here is my Screw up version: :)
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
View 4 Replies
Jun 8, 2011
I want to add prices together which is in cells in a grid view and show the total in a text box.
View 9 Replies
Mar 17, 2011
I'm currently trying to create an Information System of customers who does have different prices for one generic set of products. For example, there's a list of customers, then once you choose one, the system will show a generic product list but a set of price list specifically encoded for that specific customer. I'm sorry but i'm not that good with databases, and I'm using ms access as the database and VB.Net as the programming language.
View 1 Replies
May 25, 2010
im having trouble coding a project Im supposed to Define a structure named Product. It should contain two member variables one a string variable called item number and another a double called Prices. In the form's load event procedure I should be able to the item numbers and prices from the ItemInfo.txt file, and store them in the module-level array. Furthermore, Im supposed to be able to add teh item numbers into the list box. There are no buttons just the Exit button. When user select the item the user should be able to see it in the lblPrice control.
Name: Glovers Project
' Purpose: Displays the price of an item
' Programmer: <your name> on <current date>
[code]....
View 1 Replies
Mar 2, 2011
For our programming assignment to end the module (which im really struggling with) we have to write some code for use in a fictional taxi firm that charges �2 for the first mile, one price for miles 2-10, and another for all miles thereafter.
View 11 Replies
Sep 29, 2010
Sweet candy store currently has a special offering of heart shaped candy. It comes in two sizes: small and large. The company sells the large one for $29.50 and the small for $16.25.Design an application to calculate how much a costumer owes. When the user clicks the "Calculate" button, the program gets the number of large and small chocolate hearts ordered from the textboxes, calculates and displays the extended price for each type of the chocolate in a label. The program also calculates the weight of the chocolate to determine the shipping cost, displays the total weight, the shipping cost and the final total due. The large chocolate weighs 4 pounds 10 ounces, and the small one weighs 2 pounds 14 ounces. Shipping cost is 35 cents per pound and 3 cents for each additional ounce. Display all dollar amounts except the final total due with 2 decimal places. Display the FINAL TOTAL DUE with a leading dollar sign and 2 decimal places. Be sure to also include a CLEAR button that will remove all inputs/outputs from the form, and an EXIT button. Define the CALCULATE button as the accept button and the EXIT button as the cancel button.
View 4 Replies
Apr 23, 2011
This is what I have so far, I know it should be simple as hell, but I'm having a huge brainfart at the moment. Im going to continue messing with it though. Im trying to make it so I can input a number for a percentage, multiply that with my current array prices, and display the total in the listbox. I have a few theories on why it isnt working but cant pinpoint which one to use, I'm at a basic level to this and still learning the process. Im also pretty sure I dont have everything I need on here yet.
[Code]...
View 10 Replies
May 3, 2011
This is not a problem, as my code works correctly, but a question of aesthetics. I have written a programme which compares the prices and terms of up to 10 Bidders and 500 line items in mixed currencies. For this small section of the programme, I paraphrased a jmcilhinney CodeBank example; his looked neat, mine looks ugly.
Public Class frmFinalize
Private Sub BackgroundWorker1_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
[CODE]...
View 14 Replies
Jul 11, 2011
So I have a code atm that has 2 combo boxes, one to select the make, then it will enable the model, I have 3 model choices, here's code: [code] Once I have selected my model of the car, it takes me to that specific form with a picture of that model, I then want to display individual parts, with individual prices that will add up in a text box above.
View 2 Replies
Mar 24, 2010
How can i make it so vb can run a cmd prompt and all the output will be displayed in textbox1.
View 2 Replies
Apr 15, 2010
I have created a VB 6.0 Active-x control for an ASP.NET application.The control is responsible for downloading files from Server to Client machine and installing them.In general will have a set of applications needs to be run in sequence order.Every time i try to install an application it asks for UAC prompt and then proceeds to installation.Functionally it is working fine.But my client requirement is UAC prompt should come for the first process only and should not prompt for the following installations.I am using CreateProcess() API method for installations.
View 5 Replies
Mar 13, 2012
I am trying to figure out how to have a prompt open up when I open a program.
I am trying to set a size to an Array and I want the Prompt to ask for the size that is needed.
View 2 Replies
Apr 19, 2009
I need to sort my code to work for Visual Basic 2008 Express Version, I am trying to open the Command Prompt through Visual Basic and make Visual Basic run through the Command Prompt. By this i mean i need Visual Basic to Send Messages from a text box on my design to the command prompt, e.g to make my program go through the command prompt to do the basic hide files in a picture.
[Code]...
View 1 Replies
Jun 29, 2011
I am trying to import Oracle tables to SQL Server. Now i am specifying user name and password for oracle. But how to prompt oracle to ask user name and password when its DSN is selected and store in variables(user id and PWd)
Through out this process i am using ODBC connections.
View 2 Replies
Dec 24, 2009
I am not a developer but I like tweaking with system, I am recently trying to create an app that can reset admin password, but the problem is that I am not able to run the following command from standard account.
net user user_name * I know it is because of security reason but there must be some way so that software developer can tweak it, can someone guide me..[URl]..
View 14 Replies
Feb 17, 2009
I'm using VS2008, targetting the 3.5 framework.I'm getting sick of having to create a Control, then manually rename it later. Is there any way to force the Designer to ask me for the name in a Dialog as it is attempting to create the Control? Or even to autofocus to the Control Name in the Properties menu?
View 2 Replies
Jan 31, 2011
I dont know how to invoke a cmd prompt from vb.net window. from the vb.net i have tp ping an ip adress of a system in the cmd prompt.
View 3 Replies
Apr 21, 2012
The question is self-explanatory. It would be great if the code was one line long (something to do with "Process.Start("...")"?). I researched the web but only found old examples and such ones that do not work (at least for me). I want to use this in my class library, to run Git commands
View 1 Replies