I've created a Windows Forms VB.Net application communicating to K2 via the K2ROM. I was trying to reproduce the K2 workspace functionality in windows forms by showing the workflow (ViewFlow.aspx).
I have successfully done this by displaying Internet Explorer with the correct link and processID by the code below.
I however have a small problem with authentication. For workspace I have integrated windows authenticatin set and workspace opens up correctly for the logged on user. However displaying the view flow page by my code it asks me to log in.
Do I need to create an ASP.Net wrapper around this page to use integrated windows authentication or should it work automatically?
Reference: Interop.SHDocVw
Private WithEvents ThisieSKB As SHDocVw.InternetExplorer
ThisieSKB = New SHDocVw.InternetExplorer
ThisieSKB.AddressBar = False
ThisieSKB.Visible = True
ThisieSKB.Navigate("http://192.168.16.200/K2V3/Workspace/K2MIS/ViewFlow.aspx?ProcInstID=") & WLItem.ProcessInstance.ID)
thanks
Dean
ViewFlow.aspx
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
