Monday, May 24, 2010

Are Visual Basic 6 books useless for learning Visual Basic 2008?

I want to learn Visual Basic 2008 but I noticed that most books are for Visual Basic 6 or Visual Basic Net. Should I stay away from these books if I want to learn Visual Basic 2008?

Are Visual Basic 6 books useless for learning Visual Basic 2008?
VB 2008 as I saw it is a .NET product, VB 6 books are not applicable, precisely if the said programmer is moderately experienced what VB 6 book can teach a VB.NET programmer can be self-taught in half a hour of poking around, they are too different besides simple syntactical similarities.
Reply:They wont entirely be the same, but VB '06 has mostly the same code as '08 and .NET.


It will help you some, but use MSDN for VB '08


How do i create a visual basic animation?

Visual Basic Animation codes

How do i create a visual basic animation?
What version of VB? If you are using VB-6, it's pretty easy. Use a Picture Box (or image control, I forget which), an IMAGE LIST, and a TIMER control. Use the TIMER control to LOOP through the IMAGE LIST items and put them into the PICTURE BOX.


How to make a program in visual basic which shows a factorial output?

there are only 2 textboxes which are to be used . in the first textbox, the last number will be entered and on the second textbox, the output which is the sum of all the numbers (factorial) should be displayed.

How to make a program in visual basic which shows a factorial output?
use a FOR/NEXT loop with the STEP argument to DECRIMENT the variable





Dim intCounter as integer





STATIC intSolution as Integer





FOR intCounter = 5 to 1 STEP -1





intSolution = (some calculation performed against intCounter)





Next intCounter





This is using VB-6 code, since you didn't specify a particular version of the laguage. Check http://www.pscode.com for great sample codes.
Reply:use double variables...
Reply:Did you mean to use the word SUM ? I'm not trying to be picky, but a factorial is not a sum.


A factorial is : 5! = 1 x 2 x 3 x 4 x 5 = 120 .


A sum is : 1 + 2 + 3 + 4 + 5 = 15.





in C ++ for example


you can assign a variable to the user's input of the number 5


then you can make a loop ----


while( whole_num %26gt; 1 )


{


total = total * whole_num;


whole_num = whole_num - 1;


}





I'm not sure how to write this in Visual Basic, but if you understand my logic here, you should be able to translate it into other languages.
Reply:try vbcode.com

song meanings

What is the Visual Basic code for a sales receipt?

this is our project in our programming class and i dont know how to make it. We are going to provide a printout of the interface into a receipt using VB code.

What is the Visual Basic code for a sales receipt?
Think of how a Cash register works...





As Items are (Scanned) entered a description is printed with a value.





Your code will need to let an Item be entered by a user along with a value. When a button is pressed the Item and value is added to a list box and a running total is created.





As items are entered the list grows longer and the sub total vale is incremented.





At some point you will need to check out so create a button to do this function.





Checking out disables and further entries to the list a tax is calculated based upon the sub total and a grand total is calculated . As the sale is completed by the customer paying via cash/credit etc the sales receipt is printed.





On the receipt is a list of items purchased and their values, the sub total , tax and grand total.








So just print every item in your list followed by the values.





To get this data on paper you will have to use a PrintDocument object or use a MSWord object.





Either way you pragmatically create a document page and type text via code onto this virtual document. The document is then printed.





You can use a template from MS Word and add text to it via code or you can code the entire document from scratch within your app.





Or you can creat a text file then print the text file


What is the defference between Visual Basic and SQL?

I have a home work pls help me with detail answers





Many txs

What is the defference between Visual Basic and SQL?
This is the most detailed answer ull get:





Visual Basic (VB) is an event driven programming language and associated development environment from Microsoft for its COM programming model.[1] Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. Scripting languages such as VBA and VBScript are syntactically similar to Visual Basic, but perform differently.





A programmer can put together an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations.





SQL (IPA: /ˌɛsˌkjuːˈɛl/ or /ˈsiːkwəl/), commonly expanded as Structured Query Language, is a computer language designed for the retrieval and management of data in relational database management systems, database schema creation and modification, and database object access control management.[





SQL (Structured Query Language) is a standard interactive and programming language for getting information from and updating a database. Although SQL is both an ANSI and an ISO standard, many database products support SQL with proprietary extensions to the standard language. Queries take the form of a command language that lets you select, insert, update, find out the location of data, and so forth. There is also a programming interface.
Reply:go in google and search for detail...








for your information








VB is front end tool...as you see any software and work on that.





sql is back end tool,,,you save any information and that is being saved at a place.


that is because of database.
Reply:Visual basic is a programming language. SQL is a database language (structured query language).
Reply:VB is mainly used for the design of front end software and SQL is used for back end.


How can i post a visual basic exe program on a forum?

I can figure out how to post the .exe file.

How can i post a visual basic exe program on a forum?
zip 'er up





Use Win Zip and zip up the program


If I have a website containing a variable, How can I transfer that variable onto a visual basic form?

I want a form on my website to be filled in before they can download the programme, but I want it to know their name.


Thankyou.

If I have a website containing a variable, How can I transfer that variable onto a visual basic form?
copy and paste it
Reply:if you can ask the question in a clearer way, and in more details.

pollen