Results 1 to 3 of 3

Thread: CR4.6, VB6 over network

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2004
    Location
    Northern Territory, Australia
    Posts
    61

    CR4.6, VB6 over network

    This is probably a basic question, but I've not worked with networks before. I've designed a db front-end with VB6 (using DAO), CR4.6 and an Access '97 db.

    The program calls several reports, using the CrystalReport component. The exe, the db and the report files are all in the same directory, on the server. In CR, I have set the db location to 'Same As Report'. Similarly, I have not specified a path to the reports in the code - just the name of the report file.

    This works fine when working on the server, but there is also a laptop networked to the main machine (yes, this is a small network - the server runs Win2k, the laptop runs XP). I registered the dependencies on the laptop, so the exe, still resident on the server and accessed over the network, runs fine. However, I can't call the reports. As with all problems with CR4.6, there is just a deafening silence when I try to bring up a report - no error message

    Any ideas? tia, Peter

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: CR4.6, VB6 over network

    The only thing that I can think of to try is to get laptop for yourself, load VB on it, load the source of your program on it, and step through the code to see what is happening when you call the reports from it.

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2004
    Location
    Northern Territory, Australia
    Posts
    61

    Re: CR4.6, VB6 over network

    hack, would it make any difference to change the path to $AppPath/reportname.rpt (or whatever the syntax is) in the code, or the path to the db in the report?

    It shouldn't, because as I said the db, exe and reports are all in the same directory.

    tks peter

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