reporting services - Using MS ReportViewer with MFC -
i support legacy mfc c++ application (vs2005) , want call ssrs reports (ms reporting services). hoping use ms report viewer control, works .net. i’ve come ideas, keep thinking i’m working against conventional knowledge. i’m hoping second opinion.
we have report server setup (remote server processing). nice call reports directly mfc application (i.e. show summary report customer, etc). right now, calling internet explorer directly parameter(s) in url. it’s simple, works, it’s rather limiting. example, can’t setup printer options.
i’ll mention our project not compile /clr option – use few 3rd-party libraries , between , others way many linking errors. it’s not feasible try working project.
i came idea of creating simple c# application wraps reportviewer, , control via few command line options (server, report name). however, doesn’t parameters – i’d have come way of sending parameters , our wrapper program have parse them out, etc.
i thought creating dll , calling mfc, keep thinking i’ll have same problem parameters again.
it nice if there mfc version of report viewer, searching i’ve done online turns nothing. took me while figure out needed make proper calls sample c# program. have suggestions?
i decided stick calling internet explorer directly now. in case wondering how call ie directly, read it's path registry string , add "/iexplore.exe " end.
hkey_local_machine\software\microsoft\windows\currentversion\app paths\iexplore.exe
at location, read string "path"
Comments
Post a Comment