web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Customize Dynamics SL to include a button to find a path where I want to find a file

(0) ShareShare
ReportReport
Posted on by

I need to customize a screen to have a button that when the customer cliks it, he gets a new window where he can choose the path where a file is localized.

Something like the Browse button on the Generate Control Files.

*This post is locked for comments

I have the same question (0)
  • Barry Flynn Profile Picture
    3,090 on at

    Here's a possible approach.

    Go into Customize mode, and add your button.

    Go into VBA Editor

    Right Click on Modues, and choose Insert/UserForm

    You now have a Form, and a ToolBox

    Is there a common dialogue control in the toolbox?

    If not, click on Tools/Additional Controls

    Scroll down the list to Microsoft Common Dialog Control

    Select it, and click OK

    Now it should be in the toolbox.

    Now place that control on the form.

    You should now have

    (a) a button on the Solomon Form

    (b) a "VBA form", containing the Common Dialog control

    You will probably need to add other controls to your new VBA form - possibly a text box for the filename, a Browse button, a Close button.

    You will now need to write some code to:-

    - in the new "Solomon Form" button's Click event -  display the VBA form

    - In the VBA form's Browse button, "do Common Dialog stuff"

    - And a bit of general housekeeping code

    Hope tha's some use...

    Barry

  • Community Member Profile Picture
    on at

    Thank you Barry, I'll try your sugestion

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans