473,385 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Adding to Recent Documents

Hello,

How do I add an entry to the Windows Recent Documents list during the
execution of a windows app?

In MFC you could call a function in the Shell library from my memory. Is
there a .NET equivalent?

Thanks in advance,
Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
Nov 20 '05 #1
3 1146
I guess this will work: adding a shortcut to the C:\Documents and
Settings\MyUserName\Recent\-directory?

"Simon Jefferies" <si****@headfirst.co.uk> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,

How do I add an entry to the Windows Recent Documents list during the
execution of a windows app?

In MFC you could call a function in the Shell library from my memory. Is
there a .NET equivalent?

Thanks in advance,
Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk

Nov 20 '05 #2
"Simon Jefferies" <si****@headfirst.co.uk> schrieb

How do I add an entry to the Windows Recent Documents list during the
execution of a windows app?

In MFC you could call a function in the Shell library from my memory.
Is there a .NET equivalent?


I didn't find one. You probably still have to call
http://msdn.microsoft.com/library/en...recentdocs.asp

(I think that's what you meant)
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
* "Simon Jefferies" <si****@headfirst.co.uk> scripsit:
[...]

Double post, see reply in other thread.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: GrelEns | last post by:
hello, i wonder if this possible to subclass a list or a tuple and add more attributes ? also does someone have a link to how well define is own iterable object ? what i was expecting was...
0
by: arachno | last post by:
Hello ppl, Is anyone can help me to figure out how to add data to TextML server document base? I have attached snipped, which taking XML source from file and adding it to documentbase, but my...
5
by: Konrad L. M. Rudolph | last post by:
I hope this is the right NG, please notify me if not. I have got a problem with the "recent files" list of the start page in VS.NET: yesterday I created a new projekt which has the same name as...
11
by: Steven D'Aprano | last post by:
Suppose I create a class with some methods: py> class C: .... def spam(self, x): .... print "spam " * x .... def ham(self, x): .... print "ham * %s" % x .......
9
by: Simon Jefferies | last post by:
Hello, How can I register my own .NET DLL through a setup project? In other words perform a regasm on a dll? Thanks In Advance Regards Simon Jefferies Tools Programmer, Headfirst...
2
by: satyaprakash47 | last post by:
Hello How can we remove a specific file from the window recent file list through vb.Net.
1
by: Julian | last post by:
Hi In VS2005 how can you remove projects from the start page's recent projects list? Julian
3
by: lumpybanana247 | last post by:
I want to add a code that will ask... Type... 1. Rich Text Format 2. HTML 3. Text (Pressing 1 will make the variable "FileExt" ".rtf") (And Pressing 2 will make the variable "FileExt"...
1
by: luthriaajay | last post by:
Has anyone used the 'importNode' and the 'replaceChild' methods of Interface Document and Node or adding 2 XML documents ? I need to add 2 XML documents in Java. DocumentOne -----------...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.