DerMedizinmann Posted October 13, 2007 Share Posted October 13, 2007 the script is working just fine! Thank you veeerrryyy much!! Link to comment Share on other sites More sharing options...
ptrex Posted October 13, 2007 Author Share Posted October 13, 2007 @DerMedizinmann Good to hear this. And welcome to this forum !! regards, ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
randallc Posted October 22, 2007 Share Posted October 22, 2007 (edited) Hi,OMG, I have looked at all the MS sites you have quoted, and , as far as I can see, there are -no- examples of usage!How hopeless are they!could you possibly show me 1. How to do a query which retrieves -all- the results ("*" or "*.*" retrieve nothing, that I can see?)2. Why leading or trailing "*" seem to mess up getting a result?3. All results; is there a default for "Max"?Preferably with examples I can modify?TIA, if you have the time, \ interest...?Best, randall Edited October 22, 2007 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
ptrex Posted October 22, 2007 Author Share Posted October 22, 2007 @randallc Example of a Predefined Indexing Query : $objConnection = ObjCreate("ADODB.Connection") $objConnection.ConnectionString = "provider=msidxs;" $objConnection.Properties("Data Source") = "system" ; Script Catalog $objConnection.Open $objCommand = ObjCreate("ADODB.Command") ; $strQuery = "Create View #AllProps as Select * from Scope()" $objRecordset= $objConnection.Execute("Select * from Extended_FileInfo") While Not $objRecordSet.EOF ConsoleWrite( $objRecordSet("Filename") & ", " & $objRecordSet("Size") & _ ", " & $objRecordSet("DocAuthor")& @LF) $objRecordSet.MoveNext WEnd As you can see it all come up to get the correct SQL statements do to the job. This will get you started. regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
randallc Posted October 22, 2007 Share Posted October 22, 2007 (edited) Hi, Thanks for your efforts, but I can't see which, if any, of my questions 1, 2 or 3, that answers? Best, randall PS, Are you in any way still referring to post #1 which you started here?; or starting another method altogether? Edited October 22, 2007 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
ptrex Posted October 22, 2007 Author Share Posted October 22, 2007 @randallcFirst of all all examples are still relating to the Indexing Service.Nevertheless it seems confusing, but it still does.Why an "ADODB.Connection", because this is the fastest way to do so.1. How to do a query which retrieves -all- the results ("*" or "*.*" retrieve nothing, that I can see?)"Select * from Extended_FileInfo" -> Meaning to select all2. I don't know, never used this.3. MAX. Not sure best is to check out the SQL syntax for Indexing services here : SQL Syntax for Indexing ServiceI hope this get's you going.regardsptrex mLipok 1 Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
randallc Posted October 23, 2007 Share Posted October 23, 2007 Hi, So maybe it is just my computers? 1. Neither of the scripts in post #24 return anything at all. 2. From post #1, if ".query" is "*sea*", or "s*", I return empty results; [whereas "sea*" returns appropriate results]! I think it is not worth persisting with, even though it seems logical to use the MSindex already present! There is not enough info on MS sites to get it working, in my opinion, and I have yet to find examples anywhere which work reproducably. At least I understand the results with "in house" index! Best, randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
ptrex Posted October 23, 2007 Author Share Posted October 23, 2007 @RandallcI am sorry to hear you are giving up so soon.Saying there are no examples I can hardly believe this.Google is bulking of it.This is one for .NET but surely you can understand this.MS Indexing ExampleIf you look for Indexing Service + VBscript you will see quite some usefull examples.But of course before scripting it, you first need to understand the nature of the beast On quick way of doing a search is like this :Go the your Desktop -> right click -> choose Manage -> Services and Applications -> Indexing Service -> System -> Query the Catalogand voila !! You have access to your search Engine Natively.First try the first steps before scritping the engine.Once you have a grip on that you can take the next step.I hope this keeps you going.regardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now