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

btw i am using vb 2008 not VB.net

I know you are in a hurry but would you mind showing the code that you are working on.

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 :)

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

You did not respond to my request for your working code.

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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.