|
-
Apr 9th, 2006, 09:48 AM
#1
Thread Starter
Member
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
-
Apr 10th, 2006, 06:39 AM
#2
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.
-
Apr 11th, 2006, 02:36 AM
#3
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|