SuperNeo Posted July 28, 2004 Posted July 28, 2004 Hi, everybody. I can use CodeDom to dynamically create a Windows Console Application(a exe file), like this: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q304/6/54.ASP&NoWebContent=1 But I don't know how to dynamically create a Windows Form Application(a exe file) use CodeDom?Who can help me? If you can write a very simple example(just need display a windows form) to guide me?I will thank you much! Quote
Diesel Posted July 28, 2004 Posted July 28, 2004 Ummm... They give you a step by step example on the link you specified. It creates a Windows forms. The CodeDom namespace is pretty cool. Quote
SuperNeo Posted July 29, 2004 Author Posted July 29, 2004 Now I can get a windows form appliction. And now, I wanna embed a resource file (a .rtf file) to the dynamically create windows form application. So I add this following code: parameters.Win32Resource = "my.rtf" But above code line result to compile error. The Error Number is BC31019, Error Text is "specified mapping file not include resource file". I don't know what the Error Text meaning. Who can give me a guide? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.