Results 1 to 3 of 3

Thread: I need to print a MSFLexgrid as if it were an Excell...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Posts
    20

    Question

    Hi!!!
    I need to print a MSFlexgrid (Rows and Cols) as if it were an Excell Sheet but I don't have to put it in a Excell Sheet I need to print the MSFlexGrid in my program
    Does somebody know how to do that?
    Thanks!!!
    Wolverine

  2. #2
    Addicted Member chander's Avatar
    Join Date
    Nov 2000
    Location
    New Delhi , India
    Posts
    225

    I need to print a MSFLexgrid as if it were an Excell...


    Hi , I am also working on giving some Excel features to Flex Grid.Right now i have n't tried this feature , but it can be happened , u can select row,col and rowsel and colsel properties for capturing data and then can send it
    output to printer.for sending output to printer , u have to study File Print dialogue box and data u will have to send
    first in an Text file or XLS File using Excel.Application Object without making Application Visible.

    If u can help one of my prob. in Flex Grid if u have tried this one :

    How I can sort some range of Data In MsFLex Grid In One Column.Don't use sort Property as it unordered all data
    including other columns also .if there is any other way please tell me .

    Chander

    cbmalik@usa.net
    cbmalik@meweus.com
    Chander
    Email:chander@myrealbox.com

  3. #3
    Lively Member Patrice Bourdages's Avatar
    Join Date
    Jun 2000
    Location
    Quebec, Canada
    Posts
    83

    Wink

    Hello to you both.

    I could post here a sample code that I use to export the grid to Excel including formatting of the excel sheet. But don't know how to do it from the grid to the printer directly.

    Keep me posted...
    Sincerely yours,

    Patrice B.
    Information System Analyst
    SAS 9.1.3, VB6 SP6, VB.Net 2003, SQL7.0/2000

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