Click here to Skip to main content
15,889,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: create an xml request Pin
jim haras30-Sep-14 2:47
jim haras30-Sep-14 2:47 
GeneralRe: create an xml request Pin
Eddy Vluggen30-Sep-14 3:04
professionalEddy Vluggen30-Sep-14 3:04 
AnswerRe: create an xml request Pin
Richard Deeming30-Sep-14 3:28
mveRichard Deeming30-Sep-14 3:28 
GeneralRe: create an xml request Pin
jim haras30-Sep-14 3:49
jim haras30-Sep-14 3:49 
GeneralRe: create an xml request Pin
Richard Deeming30-Sep-14 7:42
mveRichard Deeming30-Sep-14 7:42 
QuestionCalculating total value of different items Pin
Kushal Kumar27-Sep-14 18:11
Kushal Kumar27-Sep-14 18:11 
AnswerRe: Calculating total value of different items Pin
Eddy Vluggen28-Sep-14 2:00
professionalEddy Vluggen28-Sep-14 2:00 
AnswerRe: Calculating total value of different items Pin
Dave Kreskowiak28-Sep-14 3:42
mveDave Kreskowiak28-Sep-14 3:42 
Kushal Kumar wrote:
I am creating a vb 6.0 project


For f***s sake, WHY ARE YOU USING VB6?? It's been dead and unsupported for quite a while now! As has already been said, get VB.NET and do this in a more modern language.


Kushal Kumar wrote:
1) How to find the total value of different items (i.e. In Pharmacy column i have entered price of different medicines, how to add all medicine's price to find the total price).


You have two options. Either do it in an SQL query or use a For/Next loop to iterate over the items and add each number together. Frankly, if this little part is difficult for you, STOP writing this software right now. A "hospital management system" is not something that should be attempted by someone who doesn't know the basics of what they're doing! YOU could kill someone if you screw up critical sections of code!


Kushal Kumar wrote:
2) I need to make a final billing form for patient at the discharging time which will includes all the charges and fees he have to pay (like bed charge,doctor fee,pharmacy bill,tests fee), so how to link the values of all these forms in a separate form.


Again, you don't have the slightest clue of what you're doing. STOP NOW. Learn how relational databases work. What you're proposing to write is a massive undertaking for someone who doesn't have a clue.

You're not going to get an explanation for the second question simply because it would take an entire book to relate all the concepts to you.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Calculating total value of different items Pin
Richard MacCutchan28-Sep-14 3:50
mveRichard MacCutchan28-Sep-14 3:50 
GeneralRe: Calculating total value of different items Pin
Dave Kreskowiak28-Sep-14 3:59
mveDave Kreskowiak28-Sep-14 3:59 
GeneralRe: Calculating total value of different items Pin
Tim Carmichael28-Sep-14 6:07
Tim Carmichael28-Sep-14 6:07 
GeneralRe: Calculating total value of different items Pin
Dave Kreskowiak28-Sep-14 12:43
mveDave Kreskowiak28-Sep-14 12:43 
GeneralRe: Calculating total value of different items Pin
Mycroft Holmes28-Sep-14 14:05
professionalMycroft Holmes28-Sep-14 14:05 
Questiontif img print preview Pin
drago1127-Sep-14 12:07
drago1127-Sep-14 12:07 
AnswerRe: tif img print preview Pin
Dave Kreskowiak27-Sep-14 14:41
mveDave Kreskowiak27-Sep-14 14:41 
GeneralRe: tif img print preview Pin
drago1127-Sep-14 19:41
drago1127-Sep-14 19:41 
GeneralRe: tif img print preview Pin
Eddy Vluggen28-Sep-14 2:47
professionalEddy Vluggen28-Sep-14 2:47 
GeneralRe: tif img print preview Pin
Dave Kreskowiak28-Sep-14 3:36
mveDave Kreskowiak28-Sep-14 3:36 
GeneralRe: tif img print preview Pin
drago1128-Sep-14 10:14
drago1128-Sep-14 10:14 
GeneralRe: tif img print preview Pin
Eddy Vluggen29-Sep-14 5:35
professionalEddy Vluggen29-Sep-14 5:35 
GeneralRe: tif img print preview Pin
James.Cook201-Oct-14 3:54
James.Cook201-Oct-14 3:54 
QuestionCreate Image from Panel Control Pin
gwittlock27-Sep-14 9:02
gwittlock27-Sep-14 9:02 
AnswerRe: Create Image from Panel Control Pin
Eddy Vluggen27-Sep-14 13:40
professionalEddy Vluggen27-Sep-14 13:40 
GeneralRe: Create Image from Panel Control Pin
gwittlock27-Sep-14 15:23
gwittlock27-Sep-14 15:23 
GeneralRe: Create Image from Panel Control Pin
gwittlock27-Sep-14 21:27
gwittlock27-Sep-14 21:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.