My projekt has many forms. When the user closes the program, then the next time the program is being opened I want it to start with the form that was last used by the user. How do I do this?

Recommended Answers

All 3 Replies

for that u need to handle the registry.

what does that mean, and how do I do that?

Hi,

One way wud be, Every time u open a Form, Write Form name In a Text File Stored Locally. This File should contain name of one Form at any given time. Next Time when u open the Project, read the text file and depending on the form name, open the form...

REgards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.