Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

ROI.exe - Accessing directly from VB.NET code

(0) ShareShare
ReportReport
Posted on by 234

Hello,

I have built custom applications on top of Dynamics SL using VB.NET code and I need to run an SL report directly from the application.  Is it possible to directly call ROI.exe passing the required parameters to run an SL report from my application?  Meaning not using the SL  SDK or a customization with ROI.exe.  Thanks.

Mike

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: ROI.exe - Accessing directly from VB.NET code

    Hi Mike,

    Yes, it is possible to add the following References to your project and drag crystal ReportViewer control in your form:

    Please include,

    CrystalDecisions.CrystalReports.Engine

    CrystalDecisions.Shared

    You must declare the following variable in which event call you want to load the crystal report :

    Dim Rpt as ReportDocument

    Rpt.Load("xxx.rpt")

    CrystalReportViewer1.ReportSource = Rpt

    CrystalReportViewer1.Refresh()

    Please provide your DB connection information under the Load statement 

    Please let me know, how it goes.

    Thanks,

    Srikanth S

  • Community Member Profile Picture
    on at
    RE: ROI.exe - Accessing directly from VB.NET code

    \\ServerNameGoesHere\solomon\"Solomon IV"\roi.exe 4 4 03630/run 'POSITIVEPAY' /template

     

    This is an example of a command line option to run a custom Crystal report (Positive Pay) in SL. The report template “PositivePay” selects the correct report format for report 03630 and the file output routing. The command is run by a logged in SL user.  I had the command set to run on a schedule that was managed outside of SL, with additional file handling done in the CMD file that called ROI to run the report.

    You might be able to do use similar commands as documented in the “Launch” command in the CustomizationMgrReferenceVBA.pdf user guide.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Featured topics

Product updates

Dynamics 365 release plans