Re: Setting info on Summary tab of the Properties page for a file.
- From: "PvdG42" <pvdg@xxxxxxxxxxxxx>
- Date: Sun, 29 Mar 2009 09:57:10 -0500
"PMBottas" <PMBottas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:AC7A6765-C507-4FA7-A2DC-DDDBEEAC2DED@xxxxxxxxxxxxxxxx
If this is not the right forum for this question, could somebody PLEASEThe part of your question I'll address is the difference between "Classic VB" and VB.NET.
direct me to the right one.
I originally posted this on the MSDN .NET Base Class Library forum and they
told me to post it on a MS communties fourm, so since I assumed the question
was related to a call to a Visual Basic/Shell WIN32/COM function, I posted it
on the MS Communties Visual Basic/Windows API forum. I got a little info
there with regards to the fact that different apps (i.e Windows, MSWord, an
app that creates JPEGs) create their own application specific fields for the
Summmary tab, but no info on how to do this myself in my own apps. Then they
(username "Mayayana") told me that the forum wasn't a Visual Basic .NET
forum and that I should post it on a .NET forum, so here I am!
Anyway, here's my story, sad but true.....
I'm creating a data file via a C# app I'm currently developing.
After I create the file, if I open Windows Explorer, bring up the file's
Properties Page, then open the Summary tab, there are 6 (actually 8) fields
defined, all unassigned (Title, Subject, Author, Category, Keywords,
Comments, and if you click "Advanced ", Source and Revision Number)
I see how to "get" information under Visual Basic by using a call to the
ShellFolderItem.ExtendedProperty() method, but I'm looking to "set" a couple
of these fields (Source & Revision Number) and I don't see any set" method.
How do I do this?
If I need to write a VB or C++ class lib to wrap around the funciton calls,
no prob. Even if I have to make a WINAPI call(s), I have no problems with
doing that either (i.e. DllImport mappings & PInvolk calls).
I'm assuming that I will have to do one of the two, since I don't see any
Shell functionality under C#
And, I just had an afterthought with regards to username Mayayana's comments
about Visual Basic vs VB.Net......
Is the ShellFolderItem.ExtendedProperty() method even available under VB.Net
or this a Visual Basic method and how can I tell the difference (I'm still
not sure if I understand the differences between VB.Net and plain Visual
Basic, I gotta browse for a post with that info)
Any and all help is greatly appreciated!
Thanks,
Paul
Classic VB predates .NET and does not use the .NET Framework. VB.NET is a ..NET programming language and as such is dependent on the .NET Framework and its classes.
Therefore, the two languages have very little in common beyond a syntax similarity.
As to how to find the best discussion groups for your question: There are groups specific to VB.NET, such as microsoft.public.dotnet.languages.vb vs. groups that begin with microsoft.public.vb... which support classic VB.
Here's how to find the group you need:
As you appear to be using a web interface, start here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
In the tree on the left, first open the English category, then open Developer Discussions.
InDeveloper Discussions, find and open the category for Visual Tools and Languages.
In that category, find Visual Basic, then scroll down to the entries that begin with "VB.NET".
Those are the discussion groups that support VB.NET.
.
- References:
- Prev by Date: Copy Web Site / Synchronization confusion (question marks)
- Next by Date: webdev.webserver.exe and firewall problem
- Previous by thread: Setting info on Summary tab of the Properties page for a file.
- Next by thread: VS .Net 2008 crashes opening a form
- Index(es):
Relevant Pages
|