Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can i create an interface to edit crystal report at user end,editinng means moving textobjects from one place to another using mouse in the report.
Posted

1 solution

How can i create an interface to edit crystal report at user end
It's not that easy. If you want to empower user to edit a crystal report, you need to make sure Client has crystal editor on his system. Further, on click of edit, you have to pick up the RPt file and launch it using Process.Start.
 
Share this answer
 
Comments
rajeeshsays 9-Sep-12 19:11pm    
can you please tell me how to code it? I didn'nt come across process.start
Sandeep Mewara 10-Sep-12 1:33am    
It's not that simple. Opening Crystal editor is easy using Process.Start, something like:
Process.Start("C:/MyRpeorts/MyCrystal.RPT");

But, post editing, saving the report and using it at the same moment will be tricky. You should talk to some senior who can help you directly for the full thing.
rajeeshsays 10-Sep-12 22:50pm    
Dear Sandeep Mewara,first of all thank u for your help till now.I am freelance programmer i have no one to get a help,I have opened the crystal report using this process.start but ,it gets opened in MS word and in encrypted form too.this is the only problem to finish my project,could you please help me totally
rajeeshsays 10-Sep-12 22:43pm    
Dear Sandeep Mewara,first of all thank u for your help till now.I am freelance programmer i have no one to get a help,I have opened the crystal report using this process.start but ,it gets opened in MS word and in encrypted form too.this is the only problem to finish my project,could you please help me totally
Sandeep Mewara 11-Sep-12 1:18am    
Well, Process.Start will open it with default editor tied to *.rpt. based on what you say, it sounds like crystal reports are set to open in ms word when you double click a rpt file.

Fix that. Fix the default editor for rpt. When you double click it, it should open in the crystal editor of your choice (VS or crystal designer) - its in your control to set what opens a given file. Once done, process.start will open rpt in that only.

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