Calculate VAT + Declare Air Cargo Duty/shipping Duty?
Feb 27, 2012
I'm currently self-studying Visual Basic 2010 and I'm doing this piece where I have to convert pounds, shillings and pence into UK currency in one form, then in the next form, I have to select from two different types of import duty, add said import duty to the converted amount along with VAT before getting the final amount.
View 7 Replies
ADVERTISEMENT
Feb 2, 2012
I do an application for taking screenshots during the game (CoD2) - DirectX game, currently I have made the program but it does not take screenshot of game!How to take screenshots of the DirectX game?
View 14 Replies
Feb 1, 2012
I do an application for taking screenshots during the game (CoD2), currently I have made the program but it does not take screenshot of games!
View 5 Replies
Mar 11, 2012
how to do programs in Visual Basic 2010 (It's a Currency Converter/Import Duty Calculator) and I've come across a few problems which are listed below.Basically the project is like this:I'm trying to create a program which converts Hadean pounds, shillings and pence into British Pounds and Pence before it transfers to a form which calculates Import Duty and VAT, after which it gives the final price.So far, I've created a program which is made up of 2 forms and a Splash Screen. The information listed below is for those who want to know more about what I'm trying to do.Once the Hadean price has been converted to Sterling additional import duties and VAT must be added to the Sterling price. Thus control will pass to a 2<sup style="text-indent:0cm;">nd</sup> form where importation duty is added. Depending on the method of importation the followig duty should be added to the Sterling price:
<o:p></o:p>
<o:p> </o:p>Air Cargo Import Duty: 16.5% of Sterling price
<o:p></o:p>
[code].....
View 9 Replies
Oct 15, 2009
I'm using VB.NET in Visual Studio 2008. I'm programming an application to take processing orders and give the total price plus the shipping date. I would like something like : shipping_date = Current_Date + 3 days but I know this doesn't work. Any ideas?
View 1 Replies
Sep 28, 2011
when i hit add this item it adds, when click on update button it doesnt calculate and output the right calculation on the form.
[Code]...
View 1 Replies
Jun 15, 2012
I am creating a code for a school project that calculates the shipping cost for a package. In this program the user enters the weight of the package ( in pounds ) and selects the destination of the package. The application with determine the cost of the shipping. The destination of the package can be the US continental, Hawaii or Alaska. If the package is going to Hawaii a 20% surcharge is added to the shipping cost. If the package is going to Alaska, a 26% surcharge is added the shipping cost.
This is my code thus far. When applying my weight in pounds and selecting the destination I still keep getting 0.0 for the total.
Public Class Form1
Private Sub textboxpounds_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles textboxpounds.TextChanged
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)[Code] .....
Here is a screenshot of the GUI
Uploaded with ImageShack.us
View 11 Replies
Jun 14, 2009
the description of what the program is supposed to do is this: Create a program that assists in shipping widgets. When a customer orders widgets it determines how many boxes and how many bubble envelopes are required. Four widgets fit in a box. Any left over widgets are shipped in an envelope. Follow all best practices. Submit, Clear and Exit commands must be available. Be sure to have a menu and Access Keys.
So far I have a simple form layout with 3 labels and 3 textboxes. I Know to solve for boxes It has to divide Widgets by 4 But i do not no how to get the remainder into the separate envelope text box.
View 1 Replies
May 25, 2012
Currently I am building a Connectship (Shipping Service Provided by UPS) project in VB 10. This is my first project in 10, in the past I have always used 2003. We decided to upgrade due to the connect ship API(.dll) wasn't compatible with 2003.
My current problem is as follows:I've built a program that uses ADOBD, some XML httprequests and a little bit of integration with there API they have. I also built it to use .net Framework 4.0. I can run the project just fine on the machine I built it on (XP SP3), but when I go to run it on the other machine, it acts like it runs but just doesn't do nothing. Basically just starts and stops.. The machine is not the same model as mine, but has all the updates (SP3) & the .net 4.0 framework on it. I've also tried installing the software package that comes with Connectship on the machine, this is how the .dll work but it still doesn't bring anything up so I don't think it's that messing it up.I was also wondering, to run VS 10 projects you should at least have SP3 correct or could you use SP1 also in XP?
View 6 Replies
Feb 23, 2009
I'm using FedEx for my shipment and use the FedEx rate calculator to find the shipping cost. When I send the request and get back the response, I always find that there is no discount applied even if i send a quantity of 100. following questions so that i can get clear with how to work with the fedex webservice
1. If i want to send 2 quantities of a product. will i be constructing the request with a package count as 2 and repeating the same <requestedpackage> twice ?
[Code]...
View 2 Replies
May 3, 2011
I have no problem printing an Express shipping label.The ground shipping label doesn't want to put the tracking number in the label.Has anyone had a similar problem? [code]When it goes to print the label with all the data it doesn't put in the tracking number, instead it puts in this.[code]how to change this using some fedex webservice call.It does it automatically for express, just not for ground.
View 2 Replies
Nov 15, 2011
I am trying to make a simple program to display a shipping charge based upon a selected zip code. Where can I find sample code that I can use as a guide? I can create the GUI but can't figure our the code.
View 2 Replies
Nov 22, 2011
i am getting errors on last two event handlers. what did i do wrong?
Error - Handles clause requires a WithEvents variable defined in the containing type or one of its base types.D:Shipping ApplicationShipping ApplicationForm1.vb75136Shipping Application
Error - 'PrintDocument1' is not declared. It may be inaccessible due to its protection level.D:Shipping ApplicationShipping ApplicationForm1.vb1119Shipping Application
[code]....
View 2 Replies
Mar 30, 2009
I am trying to calculate the number of years for my calculate age event handler, however i am apparently missing a method or whatnot because im trying to calculate the age , can anyone suggest help on this. I need to subtract years to get my age but when i try the birthdate.Subtract (currentDate) method i get an error about not able to convert from LONG?
So below is what I have.
Private Sub btnCalculateAge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateAge.Click
Dim currentDate As Date
Dim BirthDate As Date
Dim Age As Long
[CODE]
View 7 Replies
May 21, 2011
I have a label called "test" in my Index.asp page in my MVC view folder. I want to be able to change the value of it in my controller class.
View 1 Replies
Feb 11, 2009
I have this H file in C, which includes[CODE]...
I get an error :FatalExecutionEngineError was detectedMessage: The runtime has encountered a fatal error. The address of the error was at 0x79e71bd7, on thread 0x11f0. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.How do I translate it correctly ?
View 5 Replies
Jan 26, 2012
In C# we do
byte[] imageData = new byte[];
SqlCom.Parameters.Add(new SqlParameter("@ImageData", (object)imageData));
which makes the imageData variable as an object.But How do i do this in Visual Basic??
Dim imageData As byte() = new Byte()
SqlCom.Parameters.Add(new SqlParameter("@ImageData", ?? ) <-----What Should i do here?
My code is like this
conn.Open()
Dim cmd As SqlCommand = New SqlCommand("SELECT PhotoID From Photo " & str8 & " And Photo = @Photo", conn)
cmd.Parameters.AddWithValue("@Photo", CType(Photo, Object))[code]....
It comes out error like this:The data types image and varbinary are incompatible in the equal to operator. What should I do?
View 1 Replies
Mar 16, 2011
To declare an object in JS i can simply do the following:
var house = new Object();
house.window="square"
house.color="green"
In asp.net (VB) if i try doing the same
Dim house = new Object()
house.window="square"
i get an error: System.MissingMemberException: Public member 'window' on type 'Object' not found.
Do i have to create a house class before i can reference house.window? Is there no way to do it without creating a class?
View 2 Replies
Dec 21, 2010
In my VB 6.0 code, I declare have the following line[code]...
However, in VB.NET, I get the error "expecting declaration". Isn't this a declaration statement? Is there a good reference for finding the differences between VB.NET and VB 6.0?
View 1 Replies
Jun 20, 2009
In c++ we declare integer's hex value like this
int myint=0xabcd;
so how to i declare integer's hex value in vb.net
View 3 Replies
Jan 24, 2011
I want to know if it is possible to declare a variable thrice.
[code]...
View 1 Replies
Sep 23, 2008
i am making a program and the program runs too slow, so i would like to declare my functions at once.. not like this :
[Code]...
View 6 Replies
Apr 30, 2012
How to declare a datasource?
View 1 Replies
Oct 1, 2010
how to declare a textbox because my computer for a particular textbox say that "is not declared"
View 9 Replies
Oct 27, 2009
i know it's probly really easy. but how do i declare App.EXEName
View 10 Replies
Apr 24, 2012
I am trying to send mail that is formated as HTML but I get an error showing thatlFormatHtml is not declared. How do I declare it?
View 1 Replies
Apr 17, 2011
I need to get the customer name from the user as in combo box when the user selects the user I want that selected customer name should be searched in the sql table (here table name is "obbalance") and all the entries in the table having the name as the selected customer naem it should be shown in the data grid view
cmd.Parameters.Add(New SqlParameter("@p1", SqlDbType.NVarChar).Value = ComboBox1.SelectedItem.ToString)
cmd = New SqlCommand("select obbalance from balance where custname=@p1", con)
dr = cmd.ExecuteReader()
Form2.Show()
After this also it shows a error. It shows error in declaration.
View 2 Replies
May 9, 2012
I have created a new class, but I cannot use the textbox in the class as it is in the form1 class how would i declare it or use it in both classes?
i have tried form1.textbox1.text which workings in coding but when running my system it does nothing.
View 8 Replies
Jul 15, 2010
Can anyone tell me how to declare updareresource api in vb.net . i searched pivoke site i didnt found example for vb.net and also show me an example please explaining its parameters
View 16 Replies
Feb 6, 2012
trying to figure out how to declare items here. here is the
[Code]...
View 2 Replies