School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,136 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,930 people online right now. Registration is fast and FREE... Join Now!




About Wndow Form Runtime

 

About Wndow Form Runtime

avani@swayamsoftware.com

22 Oct, 2009 - 04:28 AM
Post #1

D.I.C Head
**

Joined: 2 Jun, 2009
Posts: 51



Thanked: 1 times
My Contributions
Hi Friends,

In my application i want to create a window form at runtime and save this newly created form in my current root directory. so that i can access that form in future.

So, if any one has any idea how to do this then please help me.

Here is the code what i did :
CODE


Form f = new Form();
            f.Name = "Frm_Test";
            f.Text = "Test Form";
            f.Show();


I can able to create a form dynamically but i did not know how to save this created form.

Thanks in advance.

Waiting for reply.

User is offlineProfile CardPM
+Quote Post


janne_panne

RE: About Wndow Form Runtime

22 Oct, 2009 - 09:16 AM
Post #2

D.I.C Addict
****

Joined: 9 Jun, 2009
Posts: 531



Thanked: 107 times
My Contributions
If Form can be serialized, you could serialize it and save it then.

But if the form can't be serialized, you could try to create your own form control and make it serializable.

Google "[your programming language name] serializing object" for more information.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 02:56PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month