Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!

Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...