Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.net crw9 & changing btrieve data location

Status
Not open for further replies.

dameng

Technical User
Mar 5, 2003
1
US
i'm looking for assistance, please. Problem:

created report in crw9 connecting to a btrive ddf's using mapped drive M:\database\file.ddf.

put the report into a .net window app, compile and it runs fine as long as the Mapped drive on the machine is active on M:

what i want to do, is have my .net app read the registry for where the mapped drive is located, because the database has an entry there, and use that registry entry to change the location of the datasource in the report. for instance the registry would have G:\database\file.ddf

this is important, for i deploy the reports to different people and they won't have odbc capability, so the mapped drive will always be different.

i was able to do this with VB6 and RDC. but for some reason i can't get .NET and built in Cystal.engine namespace to allow the table location to be updated.

i'd appreciate any and all ideas. thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top