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

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

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 5 Years Ago by Luc001: n/a

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

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

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 5 Years Ago by Nick Evan: Added [CODE] tags

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

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

This article has been dead for over six months. Start a new discussion instead.