Programming In VB 2008 Comb Box For Taxes?
Apr 26, 2010States =
Dim decNeb As Decimal = .0684D
Dim decKan As Decimal = .0645D
[code].....
States =
Dim decNeb As Decimal = .0684D
Dim decKan As Decimal = .0645D
[code].....
with this code dont know wht its not working source = wc.DownloadString(String.Format("http://" & cboHSearch & "/cse?cx=013269018370076798483:gg7jrrhpsy4&cof=FORID:1&q=" + cboEngine.Text + "&sa=Search", Me.cboEngine.Text.Replace(" "c, "+"c), resultCounter))
View 5 RepliesI need to create a simple program that will calculate de price of the meal+the taxes aswell as the tip.
The prov taxe= 8,5%
the fed taxe = 8%
and the tip is 15%
I need to use const for this one.heres what i came up with:
Private Sub partie4_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles partie4.Click
Dim repas As String
Dim sous_total As String
[code]....
The user has to type the price of the meal and then it should calculate the price but for some reason instead of *8,5% it will do x*8.5.
Linking Comb Box Items to a Button to load a new formCombo box 3 has 2 items.....Item 1, Item 2i want it so if you click on the button when item 1 is selected it will load form3 and if item 2 is selected the same button will load form 4
View 1 RepliesI have recently taken a liking to programming, and have programmed a few games in C#,my friend has asked me to program an application for him to use in his shop. But I have no idea of what language is best suitable?
View 8 RepliesI am trying to access the parallel port and want to on off an LED connected to the parallel port. i have read from different tutorials and write the code. but it is not working.
vb.net
Option Strict Off
Option Explicit On
Module InpOut32_Declarations
[Code].....
I have designed a application in MS Excel 2008 on Windows XP using Visual Basic Application (VBA).Each and every thing is going fine on my side.My client is using MAC OS and MS Office for MAC. When i deployed my application to Client end one serious problem comes arise.
The problem is that when my client is opening this project he is getting it into the Design Mode.
[Code]...
im programming this group of hexadecimals this group of hexadecimals are connected to a serial port(drag out from vs 2008 tool bar) so dat the serial port can trigger on or off
however i only need to change a certain portion of the hexadecimal...
how to do socket programming in VB. I'm using VB.NET 2008 and i'm a novice but with a reasonable understanding of programming so I want to learn by examples and understanding it in a novice/intermediate point of view. Essentially, I want to create a simple TCP or UDP client that can connect to an IP and port and retrieve the stream for parsing of content.
View 5 RepliesI am not sure if this is the right area but I am new to Visual Basic and what I am trying to accomplish is creating a combobox in visual basic 2008. I have made the box and put in the list i needed but programming it to what I am needing is not working right. What I am looking for is the proper code when selecting an item in the dropdown and clicking next it will run an application (most are going to be .bat files). Like if I select Admin Batch in the list and hit next it will run admin.bat or if I select Printer Install then click next it will run printerinstall.bat.
View 9 Repliesi'm currently using my computer as host and client.. i ran the program and the console application for the server started.. but how will i be able to run the form application for the client? can VS run 2 programs at the same time?
View 6 RepliesI need to write an program with two players rolling a pair of dice and the highest tally wins with an Game class having with two member variables of the type PairOfDice. I can not get it to work.
[Code]...
I have been working on this all weekend and can't figure out what I am doing wrong. The objective is to collect 3 numbers from the user then display to them the numbers they entered, the lowest number entered, the highest number entered, the total, and the average. Can someone review this and tell me what I am not getting?
[Code]
I have encountered on my project that was due in 2 days ago. I have created a form that will not display correctly. Here is the assignment and what I need to accomplish. Major issue the display bill box.
[Code]...
Is it possible to create a programming language using vb.net?
View 4 RepliesI am using Visual Basic 2008 and currently having a coding problems. I have coded a simple game in which I have energy that I can upgrade by 1 point on each click of a button. And so, when i start my program, it always loops this same coding without the need of another click on the button. It keeps looping until it gets to 999 then it stops sending the messagebox and lets me continue using my program. This is an (.exe) execution file programming.
Coding :
Private
Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[CODE]...
Build calculator using visual basic 2008
View 1 RepliesI realize this is a broad question, but how do I recieve / send packets. I know what packets I need to send and what Im going to recieve, but I dont know how to send / recieve them.
View 8 RepliesThe Calendar control (the Month Calendar) control in VB 2008. I am creating an attendance timesheet and I want the Calendar to color each date differently like e.g An employee Paul is selected from a list.
On the calendar I select the month. (The dates are not supposed to be selectable). Then lets say it is June. He is late on the 1st and the Second, so those days are supposed to be colored red (the whole block). Let's also say he is absent on the fourth and so I want that date to be coloured black. How do I do this? I tried finding a query and my friend told me that this functionality is not available in the current control and that I was best off making my own control (???).
I have tried selecting specific dates and bolding them (there is a function that allows this) but I am stumped trying to find two different ways to differentiate colours. Second:- How do I link a calendar with an Access Database?
I am facing problem in asynchronous socket communication.
1)I wanted to perform connect(from client to server) operation on enter button and send the data whatever client want to send and disconnect from server. And again client should get connect to server whenever client wanted to send data. this is the mechanism.
i.e how to reuse the socket.
2)Again Server should able to send the data to client.
Basically i am creating a Hangman program using VB 2008 Express edition and need some help.I would like some help on when a user is entering a letter for the word how can i make it so for example if the target word is "MAX" and they enter "M" i would like the lblstatus to update as "M--" obviously i would want it to be able to do it with all 3 letters.
View 2 RepliesIam developing a Windows application using Visual Basic 2008 with a SQL Server database. Throughout the program I give the user as many options as possible and have no problem with either the database or the windows forms. The program does not initially require a Login and I want toprovide the User with the opportunity to add a Login to the system. The default Login form is perfectly satisfactory.
The problem is that I can't figure out how to program the change sothat the Login from isopens the program rather then th form designated as the StartUp form. this forum I am able to prgrammatically change the form but I can't figure out how to make the requirement a permanent factor. I tried using a Constant, but if the User wants to change, you can't change the constant. Its an apparantly simple yes/no situation but if I set a varable to yes and then change it to no the next time the program runs, the change will be lost.
I avidly create games in VB.net. Being a hobby programmer I give my games away for free. Since I'm a hobbiest without formal training I do try and educate myself on proper programming principles and follow them when programming such as OOP. There are however some things I have obviously missed being self-taught that perhaps I would know if I were formally educated. Once such issue that has really been my bane is how different classes (from now on referred to as objects) 'know' about each other WITHOUT programming specific interaction.
Okay imagine this, you have a space game and the following objects
[CODE]...............
Now each one of these objects has a Health, X,Y and Z private members and properties that are all inherited from clsSpaceEntity for argument sake. Now one way of programming collision between them would be to code out the following logic in the main game loop
[CODE].........................
Now this might seam okay if your talking about the simple example above but some of my games have tens or even HUNDREDS of objects that interact in this basic way. Is there a way in OOP to do the following... for each thing that inherits from clsSpaceEntity check against every other object that inherits this type (except itself) and if they collide then reduce health next? This sort of ability for a type of objects/class or whatever to be 'aware' of another and how they are the same/different and interact would save me tonnes and tonnes and TONNES of coding.
In short words I am looking for a .NET translation of JFugue.Update I realize that there is no real .NET alternative for JFugue,Note: I want to emphsize that my search is on the transcription part, not the playing part, in other words, I am looking for a .NET engine that has MIDI-mapping classes etc.
View 5 Repliesim using tasks parallel library in .net 4.0 i want to have the ability to specify a task for each core independant of the other cores. usually in TPL, i create a task and i tell it to run in parallel, i have no control over the number of threads created nor can i control the number of cores to participate in the parallel task. also, i cant specify each particular core a different task.i'd like to know how to achieve this in TPL if it is possible.
View 3 Repliesn a program i'm using i want to be able to create a box (done that) but pressing a button, but now i need to attach a sub onto it so i can interact with it, how would i do this?
View 6 RepliesSo far I have worked with C Programming and C++ Programming. I am fairly new to DOT NET environment and my current project requires VB.Net skills. I need to know
1)Which books to refer for starting with VB.Net language?
2)How to Start with VB.Net Programming?
3)Are there any forums/articles for quick head start.
I want to use VB for linear programming. Can any one tell me the best approach or give sample codes.
View 2 RepliesI have done my application programming in VB. But now i am trying to do some application related to network programming. But i am unable to find the winsock control in Visual Studio 2010.
View 5 RepliesI have been reading up on the parallel programming and even now still a little confused on the whole concepts. Lets say I have a single project with about 5 classes that interact and have local variables in methods and variables accessible to all methods in a single class and even 1 or 2 variables accessible to all classes accessed through instantiation. Now using threads I know that global variables would be overridden by multiple threads if there were no locking applied but local variables to a method/function do not, right?
So if I ran the project multiple times meaning as a new process, the methods and variables would be thread safe right and no data corruption occurs? So to implement parallel programming using the task factory, if I created a project that basically creates tasks and each task is basically running an instance of another project, then shouldn't the variables and data be thread safe and safe from corruption? But what if I had the output files and they named by Output & datetime.now.tostring, would there be conflict issues and I ask this knowing that I have seen this happen when trying it. [Code]