Click here to Skip to main content
15,905,504 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have written a small c# application that makes use of crystal report. I used the odbc connectivity for the crystal report.
The problem is that after deploying the application and want to install it on another machine i have to manually connect the database to the System DSN ODBC before the report can be generated. I would like to know how to add a mysql database programmatically to the ODBC. Its urgent please. I would be happy if anyone could be of help to me i would be very grateful. Thanks

1 solution

I suggest using installation program. Start from free WIX or any other tool.

Otherwise - use reg. file to write in to the registry.
Or even from .NET - write responsible registry data.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900