0

Hey Guys Plzzzzzzzzzzzzz I need The Source Code To Print A bill In vb 2008 and It is urgentttttttt thank youuuuuu

3
Contributors
10
Replies
11
Views
5 Years
Discussion Span
Last Post by chabo
0

it is a big code.....my prog is for a small restaurant(snack) and i need to print the food ordered by the customer....

0

Hi,

You want to print the bill.

What's that the bill?
How did you showed the ordered food by the costumer?
........

It's like walking in the dark without any lights...
Give us some light and I'm sure you'll have a solution for your problem :)

Edited by Luc001: n/a

0

mmm ok Sorry:P anw the ordered food are listed in a datagrid so i want to print the food name on the bill....

0

sorry debasisdas right now i am @ work i will show the code tonight and thank you for your replies:D:D

0
Private Sub Button21_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button21.Click
        Dim sNameS As String = ""
        Dim MR, NMR As Integer
        Hide()
        PPass.Visible = True
        Button31.PerformClick()
        Button31.PerformClick()
        Snum.Text = "Server Number"
        clS = False
        Dim Ni, Nai, pi As String
        FileOpen(1, "Order.txt", OpenMode.Append)
        For i = 0 To order.Rows.Count - 1
            Ni = order.Rows(i).Cells(0).Value
            Nai = order.Rows(i).Cells(1).Value
            pi = order.Rows(i).Cells(2).Value
            sNameS = Sname.Text
            WriteLine(1, Ni, Nai, pi, sNameS)
        Next
        FileClose()
        FileOpen(1, "Main Reading.txt", OpenMode.Input)
        Input(1, MR)
        FileClose()
        NMR = MR + TLL.Text
        FileOpen(1, "Main Reading.txt", OpenMode.Output)
        Write(1, NMR)
        FileClose()
        order.Rows.Clear()
        TLL.Text = 0
        TD.Text = 0
        Button19.PerformClick()
    End Sub

This The Code Where

Edited by Nick Evan: Added [CODE] tags

0

This Is the code where the bill must be printed and i want only to print the value of "Nai" plzzzzzzzzz

0

anyoneeeeeeeeeeeeeeeee???????????? pleaseeeeeeeeeeeeeee

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.