Most Recent Document

S

Suresh Kumaran

How do you program in VB.NET to show the most recent used
document in a dropdown menu? I am referring to something
like in MS WORD or EXCEL where it shows the recent
document the user was working with.

Appreciate help.


Suresh
 
M

Michael Lang

How do you program in VB.NET to show the most recent used
document in a dropdown menu? I am referring to something
like in MS WORD or EXCEL where it shows the recent
document the user was working with.

Appreciate help.


Suresh

Most recent opened by your application I assume?

There is no "standard" framework way of accomplishing this. You must be
tracking it somewhere if it is being shown on your file menu. It is up to
you to persist that data somewhere.

You can save settings in the applications settings file, and xml file, the
registry, a database, or any other kind of file you want. Where would you
like it saved?
 
S

Suresh Kumaran

Michael,

Yes, its the most recent document my application opened.
What is the best way to store this information? If it is
any one of the method as you have described, how do I code
this? Do you have an example?

Thanks in advance

Suresh
 
S

Suresh Kumaran

Meh,
Thanks for you reply. Do you have a web link where I can
look at "SuperPad" example from VB6?

Appreciate help.

Suresh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top