# I'm trying to open the project memo window from a dashboard but it doesn't work

**URL:** <https://www.epiusers.help/t/im-trying-to-open-the-project-memo-window-from-a-dashboard-but-it-doesnt-work/49779>\
**Category:** Epicor ERP 10\
**Tags:** e10\
**Created:** [November 15, 2018, 1:58pm UTC](https://www.epiusers.help/t/im-trying-to-open-the-project-memo-window-from-a-dashboard-but-it-doesnt-work/49779 "2018-11-15T13:58:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stevensi1018](https://www.epiusers.help/user_avatar/www.epiusers.help/stevensi1018/32/63142_2.png) [@Stevensi1018](https://www.epiusers.help/u/Stevensi1018)\
**Post date:** [November 15, 2018, 1:58pm UTC](https://www.epiusers.help/t/im-trying-to-open-the-project-memo-window-from-a-dashboard-but-it-doesnt-work/49779/1 "2018-11-15T13:58:05Z")

</div>

Here’s my code on button click:

```
string projectID;
_txtProjectID = (EpiTextBox)csm.GetNativeControlReference("19665c97-7209-4997-a03f-0dd3e3f7b052");
projectID = _txtProjectID.Text;
ProcessCaller.LaunchForm(oTrans, "XAMEMO", new LaunchFormOptions
{
	IsModal = false,
	ValueIn = projectID
});

```

I get this message since I’m in debug mode:

![image](https://epiusers.help/uploads/default/original/2X/b/be3dca3bc7d49e72a618737a9582dc85f1d4c421.png)

Problem is that nothing happens after than, no memo form…

Should I put a .dll instead of XAMEMO in the 2nd parameter of LaunchForm? I onced manage to open buld project analysis with this code but there’s a dll instead. If so, how can i find the dll of the project memo form?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [November 15, 2018, 4:48pm UTC](https://www.epiusers.help/t/im-trying-to-open-the-project-memo-window-from-a-dashboard-but-it-doesnt-work/49779/2 "2018-11-15T16:48:26Z")

</div>

You might have to look at:

> **[Change Log Viewer - Manual Add?](https://www.epiusers.help/t/change-log-viewer-manual-add/45158/5)**
>
> Theres several ways to Launch the Memo Form. You can give it a try: To your Form\_Load event you add: // Enable MemoTool new CustomMemoHelper(this.UD100Form).AddViewToWatch(this.oTrans.Factory("UD100"));...

Which shows that Epicor has a **this.LaunchMemoEditor** method. in MemoHelper class. You might have to use that or do some research how Epicor invokes it.

Actually if you just Reflect on the UI Application for Project Entry you should find:

```cs
public class ProjectEntryMemoHelper : MemoHelper

this.LaunchMemoEditor(transaction.projectID, "Project");

```

If I recall from my E9 days The MemoHelper Delegate in a Nutshell does something like this:  
Look at some of those Assemblies, not sure what their names are in E10

```cs
Assembly memoAdapterAssembly = ClientAssemblyRetriever
    .ForILaunch(this.Transaction)
    .RetrieveAssembly("Epicor.Mfg.AD.Memo.dll");
Type memoArgsType = memoAdapterAssembly.GetType("Epicor.Mfg.UI.App.MemoEntry.MemoArgs");
MethodInfo startNonModalMethod = memoArgsType.GetMethod(
    "StartNonModal",
    BindingFlags.Public | BindingFlags.Static,
    null,
    new Type[] { typeof(Form), typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), typeof(ProcessCallerCallBack) },
    null);
MemoHelper.memoLauncher = (MemoLauncherDelegate)Delegate.CreateDelegate(
    typeof(MemoLauncherDelegate), startNonModalMethod);

```

---

<div class="post-metadata">

**Author:** ![Stevensi1018](https://www.epiusers.help/user_avatar/www.epiusers.help/stevensi1018/32/63142_2.png) [@Stevensi1018](https://www.epiusers.help/u/Stevensi1018)\
**Post date:** [November 15, 2018, 6:15pm UTC](https://www.epiusers.help/t/im-trying-to-open-the-project-memo-window-from-a-dashboard-but-it-doesnt-work/49779/3 "2018-11-15T18:15:54Z")

</div>

Thanks but I’ve been testing your code in the upper section and I can’t make it work on a button click.  
Also, if I just want to add the option in the toolbar, not sure what the Key1 is supposed to be in your DataRow. Should I put Project\_ProjectID from my view and in my second parameter I put “Project:” so I can open the memo editor for the project?

---

<div class="post-metadata">

**Author:** ![Stevensi1018](https://www.epiusers.help/user_avatar/www.epiusers.help/stevensi1018/32/63142_2.png) [@Stevensi1018](https://www.epiusers.help/u/Stevensi1018)\
**Post date:** [November 22, 2018, 9:10pm UTC](https://www.epiusers.help/t/im-trying-to-open-the-project-memo-window-from-a-dashboard-but-it-doesnt-work/49779/4 "2018-11-22T21:10:14Z")

</div>

> [@hkeric.wci](#):
>
> this.LaunchMemoEditor(dr[“Key1”].ToString(), “UD100:”);

Sorry but I still can’t get it working. Any way to call the LaunchMemoEditor on button click? Nothing opens when I do this: this.LaunchMemoEditor(projectID, “Project:”);
