Results 1 to 4 of 4

Thread: Export in visual basic

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Pune
    Posts
    13

    Post Export in visual basic

    Hi All

    In my application i am generating bills for the customer. I am not using DataReport Designer or crystal report for this purpose. I am designing a form with some label controls and a hierarchical flexigrid control . Now i want to have export and print functionality on my Form . I am able to print the form but how do i export all the text which is in labels and hierarchical flexigrid to an html file or any other format.

    Please someone address this issue as soon as possible
    Hakim

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Luton, UK
    Posts
    178
    I think you may have posted in the wrong forum. This one is for Visual Basic for Applications (not Visual Basic). which refers to the Microsoft Office range of applications. If you have a query specific to one of these, eg. Excel, Word please specify.
    Regards
    BrianB
    -------------------------------

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Pune
    Posts
    13
    Then Please let me know in which forum should i post my query.

    Thanks
    Hakim

  4. #4
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    He could ask "How do I export my DataGrid to an Excel spreadsheet?"

    I dunno, but I have a function to export an ADO Recordset to an Excel spreadsheet. Here is the functrion definition:

    VB Code:
    1. Sub RecordsetToSheet( _
    2.     rstSource As ADODB.Recordset, _
    3.     wksSource As Excel.Worksheet, _
    4.     strFileName As String)

    Let me know if you want it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width