Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. travelnitwit

    vbscript to save attachment from Outlook only saves 2 emails?

    I have this script to auto save attachments from outlook in a folder but it only saves attachments from 2 emails at a time. How do I increase this to 3 or 4? Const olFolderInbox = 6 Set objOutlook = CreateObject("Outlook.Application") Set objNamespace = objOutlook.GetNamespace("MAPI") Set...
  2. travelnitwit

    Error while running VBscript from sql

    I have a vbscript that looks at unread emails in an inbox and saves the attachment in a folder. This script works if I click on it manually but hangs when I run it from SQL server 2005. Can some please let me know what could be wrong with it? Here is the script: Const olFolderInbox = 6 Set...
  3. travelnitwit

    How to unzip multiple zip folders using VBscript?

    I tried this: I don't get any errors but it doesn't do anything either. Can you see anything wrong? Sub Unzip Set fso = CreateObject("Scripting.FileSystemObject") For Each f In fso.GetFolder("c:\DailySearch\").Files If LCase(fso.GetExtensionName(f)) = "zip" Then Unzip f.path...
  4. travelnitwit

    How to unzip multiple zip folders using VBscript?

    I get an error : Line 8 Char 5 Object required: 'oShell.NameSpace(...)'
  5. travelnitwit

    How to unzip multiple zip folders using VBscript?

    I need a VB script to unzip multiple different zip folders. I have this script - but it does not work. Unzip "c:\DailySearch\*.zip", "c:\DailySearch" Sub Unzip(sSource, sTargetDir) Set oFSO = CreateObject("Scripting.FileSystemObject") if not oFSO.FolderExists(sTargetDir) then...

Part and Inventory Search

Back
Top