Launch Call Log from a custom button

I am trying to launch the call log from Project Entry via a custom button. I mimicked the values from when the Call Log is launched from the customer tracker but I cant get it to launch. I get the error "Object reference not set to an instance of an object". Here is what I have so far.

Dim opts As LaunchFormOptions = new LaunchFormOptions()

opts.ValueIn = "CRGO9999"

Dim valueIn As StringDictionary = New StringDictionary()

valueIn.Add("RelatedToFile", "customer")
valueIn.Add("Key1", "6788")
opts.ContextValue = valueIn

ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UI.CRMCallEntry.dll", opts)
I am trying to launch the call log from a custom button. I mimicked the values from when the Call Log is launched from the customer tracker but I cant get it to launch. I get the error "Object reference not set to an instance of an object". Here is what I have so far.

Dim opts As LaunchFormOptions = new LaunchFormOptions()

opts.ValueIn = "CRGO9999"

Dim valueIn As StringDictionary = New StringDictionary()

valueIn.Add("RelatedToFile", "customer")
valueIn.Add("Key1", "6788")
opts.ContextValue = valueIn

ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UI.CRMCallEntry.dll", opts)