ISDBSongData::FileLength: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				MoDementia (talk | contribs)  No edit summary  | 
				||
| Line 2: | Line 2: | ||
===Property description===  | ===Property description===  | ||
{{Property Summary|SongData|FileLength|Value|Songs|FileLength|Integer|File Size|4388864 (4.2MB)|}}  | |||
[[Category:Scripting|{{PAGENAME}}]]  | [[Category:Scripting|{{PAGENAME}}]]  | ||
Latest revision as of 02:00, 12 April 2008
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let FileLength As Long
Property description
| Scripting Object | SDBSongData | 
| Value Name | FileLength | 
| Value Type | Value | 
| Database Table | Songs | 
| Field Name | FileLength | 
| Field Type | Integer | 
| Tracklist Column | File Size | 
| Example Data | 4388864 (4.2MB) | 
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) ValueFileLength = objSongData.FileLength SDB.MessageBox "Value = '" & ValueFileLength & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.FileLength = ValueNewFileLength 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub