Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,556 of 10,840    |
|    Griff to All    |
|    Accessing/Updating file properties    |
|    13 Jun 05 09:37:35    |
   
   From: snormy@optushome.com.au   
      
   I am trying to write a program in VB6 to get at file properties (Owner,   
   Title, etc ). I can access them using scripting,   
      
   Set objShell = CreateObject("Shell.Application")   
   Set objFolder = objShell.Namespace("C:\")   
   string= objFolder.GetDetailsOf(strFileName, n)   
      
    but don't know how to then change them.   
      
   Can anyone point me at a resource to explain how I can do this?   
      
   Ta,   
      
   Griff   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca