Ok, I've developed the first form using the code suggested. Basically, I'm pulling @ows_currentStatus out of the ItemMetadata and setting the value of the dropdown accordingly.
The project builds ok on my laptop where I do the form design and I then use the publish feature to save the XSN file onto my dev system within the VS2005 project directory that references the task edit form.
I now copy the .dll created by InfoPath into the same directory on the VS2005 machine during the build process.
Once the workflow is deployed and running, I can access the edit form without any problems, however my drop down values aren't being set. What would be the best approach to try and debug the infoPath dll? Can I do it within VS2005 on the dev box or would I have to remotely attach the VSTA software on my laptop?
(On a side note, how does the XSN no to look in it's current location for the DLL and not where it was saved on the build machine? Is it just a default path to look in the current container?)
Cheers
Paul.
www.myfatblog.co.ukMCTS: WSS 3.0
MCTS: MOSS 2007