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

Re: Print a bill in vb 2008 80 80

btw i am using vb 2008 not VB.net

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80
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

Re: Print a bill in vb 2008 80 80

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

Re: Print a bill in vb 2008 80 80

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

Be a part of the DaniWeb community

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