Question about Microsoft Visual Basic 6.0 for PC

1 Answer

Codes of Inventory System - Microsoft Visual Basic 6.0 for PC

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Contributor
  • 34 Answers

Http://www.programmersheaven.com/download/45341/download.aspx
go to this link u can download the code fr inventory system

Posted on Feb 23, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

C programming of inventory management for a local shop


Why do you program in c or visual basic
if you can do the job with a database software access for example
and if you want your problem to be solved you must provide more info

Apr 15, 2014 | Microsoft Visual Basic 6.0 for PC

1 Answer

Animal jam all codes


Codes

Here Are All The Working Known Animal Jam Codes! Each Code Will Reward Your Animal Jam Jems Or An Iteam! Just Enter The Code In The Box Titled Code When You Log In!

Here is a list of gem codes that are still valid, starting from the oldest.
All these are proven to work.
  • explore2012 -- 1,000 gems
  • explorer -- 100 gems

Possible gems you can earn right now: 1,100


Here is a list of inventory codes that are still valid, starting from the oldest.
All these are proven to work.

  • gecko -- lime green gecko plushie (Note: This code is currently having major glitches. You cannot receive the item, even if you press 'Accept'. Animal Jam has been notified of this.)


Here is a list of gem codes that have expired, starting from the oldest.
All these have been proven not to work.
  • playwild -- 1,000 gems
  • playfree -- 1,000 gems
  • NewYearJam -- 1,000 gems
  • potion --1,000 gems
  • danceparty -- 1,000 gems
  • foodfight -- 1,000 gems
  • discovery -- 1,000 gems
  • campwild -- 1,000 gems
  • moviebytes -- 1,000 gems
  • playsmart -- 1,000 gems
  • festival -- 1,000 gems
  • hammock -- 1,000 gems
  • speedy -- 1,000 gems
  • gorilla -- 1,000 gems
  • celebrate -- 1,000 gems
  • treasure -- 1,000 gems
  • coralreef -- 1,000 gems
  • croc -- 1,000 gems
  • spooky -- 1,000 gems
  • deepsea -- 500 gems
  • treat -- 100 gems
  • phantoms -- 500 gems
  • feast -- 1,000 gems
  • roar -- 1,000 gems
  • Jamaalidays -- 500 gems
  • BFF4EVER -- 100 gems


Possible gems you could have earned: 22,700


Here is a list of inventory codes that have expired, starting from the oldest.

  • AJBDAY - Animal Jam 1st Birthday Cake



These are all the codes as of March 31, 2012.

National Geographic publishes a magazine every other month containing 1-5 codes. If you'd like to be more up-to-date, we suggest you subscribe to it.
Note: These codes are subject to change and may not always be valid.
Other note: Codes are not case-sensitive.

Mar 30, 2014 | Compilers & Programming Tools

1 Answer

Visual Foxpro


can u send ur complet folder to me
on my email id - ingle.ganesh@gmail.com

i will given solution

Jul 14, 2012 | Microsoft Visual FoxPro 6.0 Professional...

1 Answer

Can you give sample source code of visual foxpro program using mySql as database flatform


Create a connection: lcStringCnxRemoto = "DRIVER={MySQL ODBC 3.51 Driver};" + ; "SERVER=200.1.1.1;" + ; "PORT=3333;" + ; "UID=booking;" + ; "PWD=booking;" + ; "DATABASE=booking;" + ; "OPTIONS=131329;" lcStringCnxLocal = "DRIVER={MySQL ODBC 3.51 Driver};" + ; "SERVER=localhost;" + ; "UID=root;" + ; "PWD=clave;" + ; "DATABASE=booking;" + ; "OPTIONS=131329;" SQLSETPROP(0,"DispLogin" , 3 ) lnHandle = SQLSTRINGCONNECT(lcStringCnxLocal)
Accesing data:
SQLSETPROP(0,"DispLogin" , 3 ) lnHandle = SQLSTRINGCONNECT(lcStringCnxLocal) IF lnHandle > 0 cmd = SQLEXEC(lnHandle,"select QuantityRooms from roomtype","cur_roomtype") IF cmd > 0 BROWSE ELSE AERROR(laErr) MESSAGEBOX("Can't connect to mySQL. Error: " + CHR(13) + laErr[2]) ENDIF USE IN cur_roomtype SQLDISCONNECT(lnHandle) ELSE AERROR(laErr) MESSAGEBOX("Can't connect to mySQL. Error: " + CHR(13) + laErr[2])
ENDIF
Creating complex sentences:
TEXT TO lcSQLcommand NOSHOW SELECT Inventory.inventoryid, Inventory.date, Inventory.roomtypeid, Inventory.sold, Roomtype.descrip, Roomtype.rooms FROM inventory Inventory INNER JOIN roomtype Roomtype ON Inventory.roomtypeid = Roomtype.roomTypeID ORDER BY Inventory.date DESC ENDTEXT cmd = SQLEXEC(lnHandle,lcSQLcommand)
Passing parameters to a query:
nValor = 12 cmd = SQLEXEC(lnHandle,"select QuantityRooms from roomtype where roomtypeid = ?nValor","cur_roomtype")
Calling a Stored Procedure:
SQLEXEC(lnHandle, "call myStoreProcedure(@param1)")
GOOD LUCK!

Mar 17, 2011 | Microsoft Visual FoxPro Professional...

1 Answer

Sir pls help me with my project in visual basic according for program in medical inventory system thank you


Which Kind of help??

Want to know about medical inventory system

Then try These!! Download manual to know the specification!

Or Download Similar Project from here!!

Regards

Vikas Agrawal
MCA

Feb 03, 2010 | Microsoft Visual Basic 6.0 for PC

1 Answer

Rating Teachers Behavior Inventory


You could assemble a simple Excel spreadsheet and then total, average, find the mean, standard deviation, trend or a host of other answers or information. You can lock the spreadsheet so no one can tamper with it or change the structure. That would be much easier than creating a special program unless there is a specific reason to do so.

Mar 21, 2009 | Microsoft Compilers & Programming Tools

1 Answer

ABOUT THE CODING IN OUR THESIS


Can u share with us about VB programing about BLOOD BANK

Jan 25, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

VB codes of rent and return of video rental system


hi,
i will help u could u pls tell me ur Requirement in detail
Thx with best regard
Tahir

Jan 24, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Java gui code


Okay. I'll try and explain what this code is doing for you.

First thing you need to understand is your "gui" is what is known as "Standard Out" and "Standard In", this is how Java outputs text to the console, and how it inputs text written by a user from the console. A function like "System.out.println([some string])" will print out that line to the console.

Second thing is the idea of classes. A class can be thought of like a code "blueprint". You write the blueprint, and then you create individual "objects" based on that class in your code. While each object is independant, and has it's own properties, functions, and its own spot in memory, it is based on the same code.

If I made a class called, say, "Shape", and I gave it two properties, "Size" and "Color", then I could in my program make lots of different "Shape" objects and they would each have their own independant sizes and colors. Yet, if I made a function in the class called "Draw" which magically drew it on the screen in the appropriate size and color that I had specified, I could call "Draw" for each object, and each shape would be drawn on teh screen. The same code is being executed for each shape, but with different values for the size and color, since each shape object is its own unique entity with its own size and color.

The whole point of classes is so that you don't rewrite code. If you needed to have 1000 shapes on the screen, it would be silly to write the drawing code out 1000 times, one for each shape. It's much easier to write a single blueprint that applies to all shapes.

That said, your code above has a number of "classes" at work.

The "Products" class is a class which stores information about a "Product". In your case, this info looks like it is the name of the product, it's price, how many are in stock etc.

The "Inventory" class is a class who's purpose it is to keep track of an array of products. There are a bunch of functions inside this class. I'll describe what they do below


The buildinventory() function appears to build up a list of products for use in the inventory. Notice how it calls the line:

product[0] = new Product(1, "socket set", 3, 19.99);
filling up the "product" array? Each call there created a new "Product" object which was based on the "Product" class. So each object has it's own name, inventory number, stock, price etc, but they all have the same set of functions to do things like, say, get the price of the product (the getPrice() function), or get the name of the product (the getName() function). It's the same function, as defined in the Product class, but when called on a different product object, it will return different results. This works well for an inventory program.

The "DisplayInventory" function loops through all of the products that the inventory class has created, and outputs information about each one to the screen. By the looks of it it is also keeping track of the total value of the inventory, in a variable called "totalPrice". Every time it loops through a product, it adds the product's price onto the total. The idea is once that while loop has finished, that variable will hold the final "total" of the inventory. After the loop has finished you can do a System.out.println() and use that variable to display the final total. This is probably part of what your project is asking you to do.

The "SortInventoryByName" function simply sorts the list of products that the Inventory class has created based on the name of the product. It does this using a build in Java class that you don't need to worry about.

You'll notice a function that is just called "Inventory()" near the top. This is called the "constructor". When you create a class, the class sometimes has to do a bit of initialization work before it is usable. This function is called as soon as the class is instantiated as an object somewhere in your code. So in this case, when you eventually create an inventory object, that function will be called and the inventory will be built (by calling buildInventory()), sorted (by calling sortInventoryByName()), and displayed (by calling displayInventory()).

------------

So it looks like you have this great Inventory class that does everything you need it to do. So now what? It still doesn't do anything! The reason is because it itself is just a class. It's a BLUEPRINT for an inventory. You need a Java program to USE the inventory class to actually do something useful.

You need to make a java program with a sub main() in it (just like every program you've ever made in this class). And inside there initialize a new inventory object, just like how the inventory object made product objects.
e.g.
Inventory myInventory = new Inventory();

Remember the Inventory() constructor! It will get called here, and the inventory class will go ahead and build an inventory, sort it, and display it on the screen.


So hopefully this will help you to understand your class a bit better. Again, real programmers don't just take classes and use them, they need to understand how they work. It's true that occasionally you can find something that does what you need it to do, and you don't need to "Reinvent" the wheel, but if you are unable to understand what it is doing, you can never modify it or tweak it, and if your problem isn't perfectly solved using the class, the class is useless to you. Programmers write their own modules and re-use them as they see fit, and occasionally they use someone else's code as a template. This is why you are learning how to modify an existing class.

Jan 26, 2008 | Compilers & Programming Tools

Not finding what you are looking for?
Microsoft Visual Basic 6.0 for PC Logo

Related Topics:

254 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Compilers & Programming Tools Experts

Fred Block
Fred Block

Level 2 Expert

289 Answers

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...