Where the cause is a physical thing or an action/event, we're more likely to use by or with. Thus, for OP's first example context, "I was disappointed by my result" is the most common form. There's nothing wrong with with there, but in is unlikely. In OP's second example, the most common form is "I am disappointed in you". More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.