Results 1 to 5 of 5

Thread: vb6 cr11 dynamic image not changing, everything else does

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    5

    vb6 cr11 dynamic image not changing, everything else does

    In a nutshell

    I have a report, and a vb6 which calls it, thou the results are not the same, when called from vb6, other then just opening in cr and runing it.. The only thing which is different is that the dynamic location images, does not appear, everything else does ?

    In a Sea Sure Shell

    Vb does not pass anything to the report, because the report always looks at the same database (mdb) when it runs, infact i just fill the database as i want with vb, and then call the report..

    Its just one record in a 6 colum type, all text fields, one date time field..
    All of which show fine, apart from one, being a txt field which contains a location of a picture such as C:\Pics\blah.jpg

    But this does not show on the report when called, just the other records..

    I am using the new Image Location field in cr11, which i've used lots, so i know the reports right and works fine, because like i said, if i preview in cr itself, it works great..

    So the problem must be when i call it, in my vb program, i have the following code

    ======Code=============
    Dim oApp As CRAXDRT.Application
    Dim oReport As CRAXDRT.Report

    Set oApp = New CRAXDRT.Application
    Set oReport = oApp.OpenReport("C:\offer.rpt", 1)

    crvMyCRViewer.ReportSource = oReport
    crvMyCRViewer.ViewReport

    frmPrint.Show
    ======End Code==========

    Which shows it on the screen, but with no pictures, i've checked the database, file path is fine

    anyways come across this b4 ?????

    Any help on this would be great

    thanks for your time

  2. #2

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    5

    Re: vb6 cr11 dynamic image not changing, everything else does

    any ideas people :-)

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    5

    Re: vb6 cr11 dynamic image not changing, everything else does

    i'll cry if no ones help :-(

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    5

    Re: vb6 cr11 dynamic image not changing, everything else does

    anyone ??? i lose my job, if i dont work this out by 2morrow

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    5

    Re: vb6 cr11 dynamic image not changing, everything else does

    well thanks for your help everyone, i worked it out myself, and as i'm nice, i'll tell you how incase anyone else has this problem in the furture.. its just taken me 2 days to work this out

    but because i had cr10, then 11 and both were installed it seem, i had a ref to cr viewer and active x dll's 10 and not 11, so althougth the report showed, ofcouse the advanced thing which comes with v11, does not work such as the dynamic image location.

    So i got my hands on verison 11 of both dll's and it work, ta da

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