Running Two Programs For The Price Of One?

Jun 16, 2009

I want to make a program(Program A) that allows you to use another program(Program B ) for an amount of time, then shuts it down. I already know how to shut down ProgramB down during runtime, now all I need is the part where Program A automaticly starts when Program B is opened.

View 3 Replies


ADVERTISEMENT

User Selects From Multiple Listboxes To Get A Price From A Price Array

Nov 25, 2011

I am new to vb and I am having so much trouble with this. What I need to do is this: I have a form application for winter sports equipment rental.I have a listbox filled with the equipment for the user to choose from then I have a combobox for the user to select the duration they would like to rent it. The book that I am using has no examples I can refrence and i have had no luck online either. I am posting what I have so far. However, i think I am going in the wrong direction. I have been working on this for so long that I think I have over thought it and made a mess of it. I am thinking that I need to add a new class for rentalRates then use enum of durationType and equipmentType but I am unsure how to move that way. That is using a enum, a 2d array and a parallel array? [code]

View 1 Replies

All VB Programs Running Very Slow?

Jul 12, 2009

All of a sudden all vb programs running very slow in XP...... nothing has changed.I took the vb2008 complete out, and reinstalled...... and no difference. other programs like excel run as before, just all my vb2008 programs are really slow.....

View 2 Replies

Running Programs Without Full VB?

Dec 28, 2009

I am fairly new to VB Net and getting quite familiar with the coding. What I am trying to do is find a program that lets other users simply load a VB form that I have coded and run/debug the program (like f5 in VB net) without installing the full VB download on their own computer. As VB presumably can not be coded to run from the operating system like C++, I need something easily downloadable to run VB programs (eg games, quizzes). Is there anything out there that could do this, without the full VB package?

View 6 Replies

VS 2010 Running Programs?

Jul 9, 2011

Yesterday I was using VS 2010 just fine, I was doing my code and hitting F5 and if all was right it ran.Today I start up my computer again and load up VS though and...F5 does nothing and the little play button at the top is greyed out. This is the same on any of the programs I open up.How do I let myself test programs again?

View 2 Replies

Bug In 2008 Programs Running Under 64 Bit Windows 7?

May 27, 2010

I know there are compatibility problems with 32 bit code running on 64 bit machines, but this doesnt seem like it should happen.

View 3 Replies

Debug Programs That Run On VBNet2008 Still Running?

Jul 21, 2009

I have a small program on the menu written in VB6 retrieve data from Acess run very fast and now want to switch to VBNet2008. VBNet2008 conversion is still normal, but when running the menu does not appear that waiting in line, then click on the menu bar of this menu appears, but not the font is in Unicode data is available. Expect you to help debug programs that run on VBNet2008 still running good access Menu fast as running on VB6. Also supported is Unicode font on VBNet2008 does not function for unicode font. Attach program with VB6 and VB2008.

[Code]...

View 4 Replies

Errors At Running VB Programs On Other Computers?

Jun 24, 2010

When I made a program and tested it on the machine I have compiled it , all works well. I tested them even on my other computer works fine. Every time though when I passed the program to my friends computer or such , I got that common error message "A problem has encountered . tell Microsoft about this problem [Send Error Report] [Don't Send]. I checked my computer here is on XP SP3 with Microsoft .NET Framework 3.5 SP1 installed , same thing on my other computer. My friends computer is on an XP SP2 with Microsoft .NET Framework 3.5 (no SP1).

View 3 Replies

Running VB 2008 Programs On Windows 7?

May 16, 2010

I've coded this program in Windows XP 64 Bit. I also compiled it in Windows Vista 64 Bit. I've ran this program on 32 bit machines before and never had any problems. I purchased a new laptop with Windows 7 on it and i'm getting a "Not a valid Win32 Application" Error.

View 3 Replies

.net 2.0 Multiple Programs Each Running Threads On Xp, Will .net 2010 Be Better?

Oct 2, 2010

In the past few weeks, to speed up our database freshening process, I've created a couple of extra programs, basically copies of the exe file. The program itself, accesses web pages, images etc and uses threads to do so. The second program uses LIMIT 300,100 and the third LIMIT 600,100, to make sure they don't work on the same records.

Before the last few weeks, one occurrence of the program used to run without problem, from the task scheduler all through the day. Only one occurrence of each exe can run at a time.Since theres now three programs running, .net 2.0, on xp, the program often seems to get stuck and never ends. I have to kill it from task manager.

It runs fine in the IDE I just wonder if there would be any benefit from upgrading to vb.net 2010 ?

View 1 Replies

Get The Price Of The Premium Or Regular In Price Per Unite?

Jan 24, 2012

PHP

Public Class GasPump
Private name As String
Private quan As Double

[Code].....

I get problem in the code when you going to pick y/n. how i going to get the price of the premium or Regular in Price per unite?

View 7 Replies

VB 2010 Validation - Form As Follows "Price Changer" - User Is Allowed To Select A Product And Enter Price

Apr 17, 2012

I have a form as follows "Price changer" The user is allowed to select a product and enter price . So when the change price button is clicked...the price is stored in a array which is later called

So what i am stuck is when the user selects a product from the drop down menu...the user can enter price . But i need to display a error message when the user enters text instead of numbers for prices. I tried try parse method but it displayed the error message but did not transfer the entered price to the array.

My code is as follows

The bolded intMediaprice() are arrays....

Private Sub btnPrice_Click(sender As System.Object, e As System.EventArgs) Handles btnPrice.Click
If cbMedia.Text = "8-Track" Then

[CODE]...

View 3 Replies

Enter The Price In A Text Box And Click The Enter Button To Send The Price To A List?

Nov 15, 2011

I have to create a form that I enter the price of gas each month over a year. I enter the price in a text box and click the enter button to send the price to a list box immediatley and use an array. I have the following code but I don't think it's working with the array correctly as it will let me enter the information but doesn't stop letting me enter after the 12 prices. I am really having a hard time trying to figure out how to set up this input for an array and make it all work.

[Code]...

View 1 Replies

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

Calculations Using Quantity And Price - Not Getting Right Value

Jun 3, 2011

I got a program I am working on. It does some calculations using quantity and price in such. Heres the calculation module.
Private Sub calculations()
If AdultsizeRadioButton1.Checked = True Then
adulttotaldecimal = quantityinteger * adultpricedecimal * hoursinteger
ElseIf ChildsizeRadioButton2.Checked = True Then
childtotaldecimal = quantityinteger * childpricedecimal * hoursinteger
[Code] .....

Ok, everything has worked when I display the information.... up until the accumprofitdecimal variable. When i display that value its NOT what it should be. For instance i'm putting in a quanity of 1 and an hour of 1 for an adult then for a child, the extended price comes out properly as $2.15 now the code accumprofitdecimal += extendedpricedecimal SHOULD add the extended price (2.15) to the accumulative total. but when i display the accum profit total it shows a number that makes zero sense... is accumprofitdecimal += extendedpricedecimal not correct code?

View 3 Replies

Comparing 2 Lists Name And Price?

Dec 17, 2009

I'm creating <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-

[code].....

View 2 Replies

Program That Will Calculate The New Price?

May 4, 2010

I'm doing a program that will calculate the new price. Iv been using a class to put my code their. Iv been getting errors in my form code.

Heres the class code

Public Class Computer
Private _id As String
Private _price As Decimal

[Code].....

View 8 Replies

Adding Records Litres And Price?

Jan 30, 2009

Here me again since i'm done now in Sign Up form.Another database coding to add a records..i try to copy the same code with my sign Up form to insert a records....to input a Litre and Price. is this correct?

Public Class frmGasolineSales

Private Sub slc(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim thistabcontrol = CType(sender, TabPage)
Select Case (thistabcontrol.Name)
Case "TabStation1"

[Code]...

View 12 Replies

Array Price Not Showing In Textbox?

Jun 21, 2010

I can not tell if my array is not working at all. Here is the code:

Friend Class pizzaarray
Structure Size
Dim sizedecimal As Decimal

[code].....

View 2 Replies

Calculating And Displaying Price In Textbox?

Jan 16, 2012

Check this code and please tell me a solution.I have 2 buttons (Pizza & pepsi),the price should display in textbox8 when i click on button, here the price had shown in Textbox8,but it is not getting added with next price when i click second button.
PrivateSub Button4_Click(ByVal sender System.Object,System.EventArgs) Handles Button4.Click

[code].....

View 2 Replies

Code A Price Value From A Drop Down List?

Jul 27, 2010

i have four price values in a drop down list and i need to code these values and add them to values from a checklist object i am doing very simple coding ?

View 1 Replies

Create An If Statement To Determine Price?

Mar 28, 2011

Option Explicit On
Option Strict On
Option Infer Off

[Code].....

For example, 10 people cost 800, 11 people the cost goes down to 770.

View 1 Replies

Discount Rate Of The Entered Price

Jul 31, 2009

I'm coding a program, which supposed to give the discount rate of the entered price, so there is as what I got on my code. [Code]

View 6 Replies

How To Calculate Total Price Of Fruit

Jan 8, 2010

The program is for calculating an amount of fruit. I have a label saying the name of the fruit, a textbox to enter a value of 0-99 and another textbox with ReadOnly which will show the price.

A little picture here:[URL]

As you can see, the Fruit1 Etc... Is only the fruit name.
The Text box wich indicate 1-99 means the number of fruit.
The Textbox with Cash on it, means the total price.
The Calculate button, when I will push it, all the total price from all the fruit will be added together to form a total price which will be indicated in the total price textbox under the Calculate button.

When I will enter the number of fruit, if I enter 99, it give me a price.
When I will enter 60, I want that the 60 are multiplied by (let say) 0,10$
I just like to know how I can do this... Its really bothering e and I don't want to calculate all the things and make 99 line for 1 fruit cause it will be long.

The code I was using was:
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
If TextBox1.Text = "99" Then
TextBox2.text = "10.00$"
Elseif TextBox1.Text = "98" Then
TextBox2.Text = "9,90$"
EndIf
End Sub

Until the the number of the fruit in the code reach 0. So its very long.

View 14 Replies

How To Store Item Name And Price In Procedure

Aug 6, 2010

I'm reading "Programming with Microsoft Visual Basic 2008". At the end of each chapter there is excersize that I don't have the answers sheet for. Anyway, the first one is:
A procedure needs to store an item's name and price (which may have decimal places). Write the appropriate Dim statements to declare the necessary procedure-level variables.
What I have so far is:
Dim "Candy" as String

View 7 Replies

Listbox: Display A Name But Also Have A Hidden Price Value?

Nov 4, 2011

So I have an issue with have displayed names in a listbox and trying to write a code to have a hidden price value for it. I want the selected name in the be put into another listbox as a display name and have the price value of it be in a holding value to calculate an equation.I just need help declaring the name with a value in the list box. And How do I list each listbox number so I can retrieve it back as a price value to put in a formula.

Private Sub btnAudioAddCart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAudioAddCart.Click
Const decPrintIDidIt As Decimal = 11.95D 'Price of Print Book "I Did It Your Way"
Const decPrintHistory As Decimal = 14.5D 'Price of Print Book "The History of Scotland"
Dim intAudioInput As Integer 'Holds the selected Printed Book

[code]....

View 8 Replies

Programm Which Calculates KiloGramm Price In VB6

Aug 26, 2009

I have programm what calculates KiloGramm price.It works so that if I enter the amount(in KG) and price then it calculates the Kg Price.
But it calculates wrong when I insert "," not "." . My programm code is so:

[code]...

View 8 Replies

RadioButton - Adding Only One Price If Selected

Mar 11, 2010

Dim MonPrice As Decimal
If RadioBtnMon20.Checked Then
TxBxPRICE.Text = TxBxPRICE.Text
MonPrice = MonPrice + 120
ListBox1.Items.Add(RadioBtnMon20.Text)
[Code] .....
I want to add only one price if selected but with this one if i choose another option then its keep adding price instead of removing previous price and put selected price..

View 9 Replies







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