Re: Setting info on Summary tab of the Properties page for a file.

Tech-Archive recommends: Fix windows errors by optimizing your registry




"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 PLEASE
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

The part of your question I'll address is the difference between "Classic VB" and VB.NET.
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.


.



Relevant Pages

  • Re: run32dll.exe will not start
    ... Run the programs in Safe Mode after assuring you have shut down all running tasks except explorer or systray and all apps are fully up to date. ... Read the quick start here on how to create a log file that can be copied/pasted into a forum that can provide assistance on removal of unwanted pests. ... Please read any sticky notes for proper posting which are most commonly posted first at the top in each specific forum. ... Read any information under each forum category name for information on what that particular one is used for, look for the proper one that you post logs to. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: File associations vanish!!
    ... Run a full system virus scan with your fully updated av app in Safe Mode. ... Copy HJT to it's own folder, this is where the log files will be saved. ... Do not remove anything with it until you get advice on what to remove, HJThis will list many apps that are needed along with the bad ones. ... Read the quick start here on how to create a log file that can be copied/pasted into a forum that can provide assistance on removal of unwanted pests. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Visual web Developer 2005 Express beta 1 questions.
    ... Great all my answers resolved and i'm happy that this forum exist. ... > very reasonable to develop commercial apps with it. ... One reason being that ... you can make public/commercial apps when MS releases GoLive ...
    (microsoft.public.dotnet.framework.aspnet)
  • Setting info on Summary tab of the Properties page for a file.
    ... If this is not the right forum for this question, ... but no info on how to do this myself in my own apps. ... 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 ...
    (microsoft.public.vsnet.general)
  • Re: [Full-Disclosure] unreleased php-nuke sql injections
    ... > earlier discussion on this forum: the security scene is becoming devided ... > along lines of languages. ... This fragmentation will in all probability ...
    (Full-Disclosure)