VB 2008 Console Beginner Programming?
Jun 12, 2011
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]
View 3 Replies
ADVERTISEMENT
Aug 2, 2011
I am trying to create a program that the user enters the number of enrollments for 5 different campuses during two semesters. I just got started and here is what I have so far but when I run the program it is stuck in an infinite loop and will not go to the next function. I am not sure how to end the loop. Here is what I have so far:
Module Module1
Dim SIZE As Integer = 5
Dim campus() As String = {"Decatur Day", "Decatur Evening", "Huntsville Day", "Huntsville Evening", "Distance Learning"}
Dim semester() As String = {"Fall 2010 semester", "Spring 2011 semester"}
[Code] .....
View 10 Replies
Oct 8, 2011
I am trying to create a program that calculates the prices of different payment methods of a buffet.The program requirements are simple. The buffet start in 1/7/2011 and ends 31/8/2011. Payments methods are online, cash and coupon. coupon is only valid from 1/8/2011 to 31/8/ 2011. 1 child is free for every 2 adult that pay. There are different prices for weekends (sat and sun) and different prices for weekdays. [code]
View 3 Replies
Sep 25, 2011
I'm trying to pick up some simple object-oriented programming skills so I am trying my hand at beginner's problem - and I am totally stuck...I'm trying to write a program that will print to a label, the area and perimeter of your shape of choice, dependent on the Length and Width (for Rectangles and Triangles) or Radius (For Circles) you input and the shape you select.
I know how to do this easily with simple event-driven programming, but I'm trying to do this by using classes and inheritance.The idea I have is that you enter in length/Radius and/or width into text boxes (txtLen, txtWid) and then you can click a button to display the Length, Width and Perimeter or Radius and Circumference, and Area.
I'd create a Super-Class: Shapes to define my overarching parameters - all shapes have area and perimeter. Then I would create sub-classes for each shape inheriting the overarching "Shapes" class - dim'ing all of their respective extra pieces. Then the buttons would display the appropriate info when clicked.I understand this seems like a lot - but really I just need help getting my feet on the ground for this.
View 4 Replies
Apr 13, 2010
I am working on Excel programming . Can you suggest the best publications for the beginner in Excel Programming.
Tasks Ahead:
To create a comboBox dynamically in Excel Worksheet Write events for comboBox_ change/click Dynamically changing the items in the combo Box
View 2 Replies
Aug 31, 2010
I need comprehensive tutorials of VB 2008 for beginner's which give additional support to my studies so that I can learn VB 2008 easily in less time.
View 2 Replies
Mar 31, 2009
Im using Visual Basic 2008.Okay I got all the design, and everything set up, even the hangman body parts coming on the screen and stuff. So my problem is creating the BLANKS, the underscores "_", and replacing them with a letter...
I was thinking creating Lables which i have no idea how to dynamically. Then giving each label name the letters they belong to, and everytime the user gets the rigth letter they get replaced.
View 3 Replies
Nov 27, 2009
I am having an issue getting my code to work. It is not showing my Look-Up Button for me to calculate the rate based on the weight and zone and it continues to constantly show that I have an error that I cannot seem to correct.
[Code]...
View 4 Replies
Jul 22, 2010
I want to learn visual basic, what book or books are the best to take me from beginner to intermediate?Would it be more advantageous to go through VB 2008 or VB2010 tutorials first or should i start with a book before going through VB2008 or VB2010 tutorials?I am comfortable with Sequel (SQL) language, learned on the job and am at the advanced level of Excel/Access writing formulas functions,etc. the next logical step is to learn VB.
View 6 Replies
Mar 15, 2011
I am beginner in VB.net and want to learn socket programming suggest me some good articles to refer at beginner level
View 4 Replies
Aug 20, 2010
I just need a good nights sleep, but Im simply reading through a file (2010 data) and for selected teams, accessing the corresponding data for the previous year (2009 data), which is held on a separate file. (I painstakingly input all the 2009 data manually)
ds1.Clear()
cmd1.CommandText = "SELECT * FROM Teams WHERE Team = ?"
cmd1.Parameters.Add(NewSqlCeParameter("Team", (ds.Tables(0).Rows(x) ("Team"))))
cmd1.Prepare()
cmd1.ExecuteNonQuery()
[Code]...
View 8 Replies
Aug 8, 2010
Dim conn As New SqlCeConnection, in the position marked **, it makes the program fall over on the cmd.prepare statement: requires an open and available connection
Public Class Form9
Dim compactStr As String
Dim conn As New SqlCeConnection
[code].....
View 3 Replies
Apr 13, 2011
I do not know anything about SharePoint and we will be moving to SharePoint systems in a few months at work.
My manager told me I will be one of the developers developing systems based on SharePoint.
Is there any good video tutorials on SharePoint Development?
View 2 Replies
Mar 13, 2009
The program should request the person's occupation, the amount of the bill, and the percentage tip as input and pass this information to a Sub procedure to display the person and the tip. Title is gratuities, first line Person's occupation, amount of the bill:, Percentage tip: Compute Tip, and show the tip. Im not sure how to approach it properly.[code]
View 2 Replies
Jan 13, 2010
I had this incredibly ambitious goal to make a video game and so I am teaching myself/relying on kindness and knowledge of others as I go along. So far I have learned a lot, however needless to say, this is a monstrously difficult challenge, however one that I am very passionate about completing. The idea is that I am making a trading card style game and I was hoping that I could continue to use this thread and your kindness to keep me going whenever nessecessary throughout this challenge.So, here is where I am now. (Please forgive me if i have posted too much details/not enough details. Since I am new, I am not sure what information you need to help me. This will be corrected as time goes by and I learn more)I have created a card class with two properties. name and picture with name As String, and picture as PictureBox. the constructor looks like this: [code]
My next goal(and where I am currently stuck) is making i so that when the user clicks on one of the items in the listbox, a picture of the appropriate card(saved in a pictureBox of its own on a different form, and referenced in the card via the picture element) will be placed inside the empty picture box on the deckPage.
View 7 Replies
Jul 8, 2011
I have been looking for a good beginner tutorial on polymorphism, inhertance,and related terms.Something where I can start at and go through and get most of the common programming terms and techniques explained with examples
View 1 Replies
Sep 8, 2009
I'm beginner programmer in the amazing world named ".Net".I've a lot of questions
well, what I should learn C# or Vb.net What's the best blogs which talk about .Net technology and Open source projects Where can I find good tutorials, free books and ideas of projects how can I progress in ".Net" please, share your knowledge , your OPML of your favorite blogs or web sites about ".Net "
View 12 Replies
Apr 28, 2010
Student pursuing BSIT degree, employer expectations, entry level. I would like to solicit opinions from this forum as to what your professional expectations are as regards an entry level position in working in the database realm... I see many job opportunities that require a minimum of 2 or more years experience, how does one go about obtaining this experience (I have tried very hard to maintain a minimum 3.70+ GPA) but have ZERO work experience in this field... I spend non school time working in VB and SQL to try and increase my proficiency. I have considered postponing my job search until I obtain certifications from brainbench etc... Any criticism and or advise is welcomed... Again I have no experience in database other than undergrad work in class.
View 2 Replies
Mar 18, 2009
I am just for learning purposes trying to develop a one player text based game.
I have a rich text box (GameWindow)
I have a text box (InputWindow)
I have a button (InputButton)
and a bunch of labels that aren't really important
I have two questions first is easy probably. How do i get InputWindow to respond to me hitting enter when text is in it?
[Code]...
But if i plan to have more that is only going to increase the size and code needed and im sure there is an easier way i just don't know how to do it.
View 1 Replies
Jun 1, 2011
I was thinking of adding a simple bandwidth monitor to a console application and I was wondering if it would be possible to keep a line in the console window visible at all times. I could set something up manually to pass new console output into a method that would get the contents of the console, clear the console, add the bandwidth data on the first row, then rewrite each line of previous information back to the console, etc.. but that seems like a really hacky way to go about it, and I'd be limited to the amount of rows visible at once in the console window (no scrolling).
STATS: Downloaded: 2599b, Uploaded: 754b <- this always stays at the top
constantly changing text
constantly changing text
constantly changing text
[code]....
View 3 Replies
Jan 28, 2012
I 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 Replies
Jun 1, 2009
I have a console application I'm using to run scheduled jobs through windows scheduler. All the communication to/from the application is in email, event logging, database logs. Is there any way I can suppress the console window from coming up?
View 5 Replies
May 11, 2011
so I am making a program that will run a server for a game. I've programmed a console into the form and it works but it only works until it is finished reading the slandered output.
[Code]...
View 2 Replies
Jan 5, 2011
I 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].....
View 21 Replies
Apr 17, 2010
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]...
View 2 Replies
Jun 17, 2009
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...
View 3 Replies
Jan 25, 2008
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 Replies
Sep 24, 2010
I 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 Replies
May 4, 2010
i'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 Replies
Feb 9, 2011
I made a simple file compare console app - and I'm having a hard time getting it to run on a server my client has.It's got these references - seems odd to me that they are not all 3.5And when I run it on the server I get this (from a command prompt).
H:Oracle ScriptsPolarFilesAddsDeletesChanges>makeadu xyz beneficiarydata_0819
2010 beneficiarydata_02042011
[code]....
Does this just mean they need to install the 3.5 FW? If I find they have an older version of the FWinstalled can I change my ref's to that? How do I go about that? Do I need to put that FW on my Win7 Laptop?
View 9 Replies