954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Mail from Data report

Hi Frendz,
How to send data report to mail in VB6.0?

Karthik_pranas
Posting Pro
564 posts since Feb 2011
Reputation Points: 96
Solved Threads: 97
 

in what format ?

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 
in what format ?


PDF/word/any image format

Karthik_pranas
Posting Pro
564 posts since Feb 2011
Reputation Points: 96
Solved Threads: 97
 

How do you convert data in data report to the formats mentioned by you ?

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 
How do you convert data in data report to the formats mentioned by you ?

Any other choices in VB?

Karthik_pranas
Posting Pro
564 posts since Feb 2011
Reputation Points: 96
Solved Threads: 97
 

That did not answer my question.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 
That did not answer my question.

Oh.... Ok..

Karthik_pranas
Posting Pro
564 posts since Feb 2011
Reputation Points: 96
Solved Threads: 97
 

Karthik, being on 154 posts, you should know to give us much more information as you did. What exactly do you need?

AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
 

Actually I have a data report of invoice. At present the invoice is taken as print out from that report and send that hard copy to the clients by post. But i need to send that invoice in mail. Any possibilities for that?

Karthik_pranas
Posting Pro
564 posts since Feb 2011
Reputation Points: 96
Solved Threads: 97
 

Same question as asked by Kartik +
Can anyone help me here :)
how do i get converted my vb datareports in pdf format and send to client email .
as am using the database as msaccess.

rishilopez
Newbie Poster
3 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
 
Private Sub Command1_Click()
    ' Create a simple PDF file using the mjwPDF class
    Dim objPDF As New mjwPDF

    ' Set the PDF title and filename
    objPDF.PDFTitle = "Test PDF Document"
    objPDF.PDFFileName = App.Path & "\myreport.pdf"

    ' We must tell the class where the PDF fonts are located
    objPDF.PDFLoadAfm = App.Path & "\Fonts"

    ' View the PDF file after we create it
    objPDF.PDFView = True

    ' Begin our PDF document
    objPDF.PDFBeginDoc
        ' Set the font name, size, and style
        objPDF.PDFSetFont FONT_ARIAL, 15, FONT_BOLD

        ' Set the text color
        objPDF.PDFSetTextColor = vbBlue

        ' Set the text we want to print
        objPDF.PDFTextOut ***"Quotation Manager Report"***

    ' End our PDF document (this will save it to the filename)
    objPDF.PDFEndDoc
End Sub

this is the above code i got but it just the working string to write in pdf and save but merely i want the whole bucket to get the datareports converted in pdf format to send through email

rishilopez
Newbie Poster
3 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
 

this is the whole code to create a pdf in vb and save but not what i want

Attachments VB-PDF-source.zip (142.17KB)
rishilopez
Newbie Poster
3 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
 

For all those options you need to use a better reporting tool. Atleast earlier versions of Crystal Report.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: