Sebastian Wojciechowski’s WebLog

.NET Developer

Archive for November, 2007

If you do a custom activity, configure it to use Lookup fields on field configured as DesignerType=”StringBuilder” and instead of field value you get [%_x005f_String0%] you need to process this value with this function: public static string ProcessStringField ( string str, Activity activity, WorkflowContext context ) Here is a code sample:

//…
public static DependencyProperty __ContextProperty =
    […]

Read Full Post »

I recently had this problem. I have a Windows Form that hosts a WebBrowser control. The page in the WebBrowser control closes itself using window.close and when it does that the Windows Form freezes up.
Found a solution here posted by Jeff Sanders on his blog (thanks man!)
The sample code is provided in VB.NET Below is […]

Read Full Post »