我在vs.net用windows服务模板做自动提交表单,,
如果用windows from 可以如下:
object x = System.Reflection.Missing.Value;
axWebBrowser1.Navigate(@"E:\Documents and Settings\Administrator\桌面\dddd.htm", ref x, ref x, ref x, ref x);
mshtml.IHTMLDocument2 doc = (mshtml.IHTMLDocument2)axWebBrowser1.Document;
mshtml.IHTMLFormElement f1 =(mshtml.IHTMLFormElement)doc.all.item ("form1",0);
   ((mshtml.IHTMLFormElement)(f1)).submit();
mshtml.IHTMLElement Element = (mshtml.IHTMLElement)doc.all.item("button1", 0);
Element.click();其中E:\Documents and Settings\Administrator\桌面\dddd.htm为要提交的。现在的问题是在windows服务模板中不能用axWebBrowser,,怎么办啊???