Click here to Skip to main content
15,949,686 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
Posted

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.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms714818(v=vs.85).aspx
 
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