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 Mike Lewis 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. Dav136

    Routing Notes mail via Foreign SMTP Domain?!

    Hello, I need to route a Notes Domain (HPO_VBG_IT) to a Foreign SMTP Domain (hpovbg.it). Sent Mail to hpovbg.it is relayed properly, but (due to circumstances) all HPO_VBG_IT Mail should be "translated" into hpovbg.it. Any ideas how to accomplish this are greatly appreciated! Dav
  2. Dav136

    How to uninstall Software from Add/Remove Programs?

    Since WMI doesnt provide for non-MSI installed Software, does anyone know a possibility to uninstall such software by script? Any help is greatly appreciated!! Dav
  3. Dav136

    Strange Thing: Changing Activeprinter takes ages!

    Nope, it's only about MS Word, and it's a Word VBA Macro thats started by VBS. To make matters more simply, I run the VBA Macro in debug mode, and stepping through the line Application.Activeprinter = "MyPrinter" takes 15 minutes or longer. I have already reinstalled the Printer Driver, still...
  4. Dav136

    Do we have a virus on our system ???

    well it need not be anything dangerous, I had (using Lotus Notes) email "viruses" coming in without executable file, obviously the email code copied into the mail body as plain text, since it's att1.htm I would suspect this to be the case. Dav
  5. Dav136

    Strange Thing: Changing Activeprinter takes ages!

    Thanks, but I'm talking about an abnormality - not the usual 2 or 3 seconds but 15 MINUTES !! David
  6. Dav136

    Strange Thing: Changing Activeprinter takes ages!

    I've got a VBA Macro, which is instantiated by a VBS whenever a file gets written on the harddisk of the computer. The file (.DOC) is printed on one of many local (IP) printers. However, quite often, the command to change Printer (Application.Activeprinter) takes 15 minutes or more, in...
  7. Dav136

    processing files in directory

    I found a script that suits my needs. I had been looking in the wrong direction before, not thinking about the folders object. Thanks Dav
  8. Dav136

    processing files in directory

    hmm.. i was looking for the equivalent of the (VBA) Dir("*.*") method, but didn't come up with something useful. I've discovered that VBA doesn't read my files in the sequence of creation. I'm not sure, but it looks like the files are sorted by only the minute of the creation date, and since I...
  9. Dav136

    processing files in directory

    Hello, What I need is a VBScript, that processes all the files in a given directory. It should be in sequence of their creation date&time. how can i do that using the scripting.filesystem? thanks dav
  10. Dav136

    automatizing scanning application with VBS

    Hi, I assume this might be a tough one, but maybe there is a way to figure it out? I want to scan documents into a 2bit compressed multipage TIF file, and it should be without much user interaction, i.e. i want to set settings etc. via Script. I was thinking about the Microsoft Document...
  11. Dav136

    Deleting lines in a text file

    of course, I was writing to rashed. it would rather be: if i > 3 or i < 26 then to get your results, and if you want to write the result to a file you need to do that about this way: FileObject.CreateTextFile("c:\Temp\yourfile.txt") Set FileName = FileObject.GetFile("c:\Temp\yourfile.txt")...
  12. Dav136

    Deleting lines in a text file

    this is how i did it: Const ForReading = 1, ForWriting = 2, ForAppending = 8 Set Readfile = FileObject.OpenTextFile("yourfile.txt",ForReading,,-2) ThisTxt = Split(ReadFile.ReadAll,vbCrLF) i=0 For Each Line In ThisTxt i=i+1 if i < 4 or i > 25 then...
  13. Dav136

    passing named arguments to MS Word?

    Thanks, would have been to nice, I suppose. Dav
  14. Dav136

    passing named arguments to MS Word?

    I couldnt find a way to pass named parameters to Word, eg. equivalent to this command: Selection.HomeKey Unit:=wdStory, Extend:=wdMove Is this possible? All input appreciated, Dav
  15. Dav136

    How to set Registry in VBA?

    I need to set Registry Values in VBA without User interaction. Can anyone help? Thanks, dav
  16. Dav136

    how to destroy winword process after script termination?

    Thanks for helping!! ...still at the beginning of the VBS-road, David
  17. Dav136

    how to destroy winword process after script termination?

    I'm using this VBscript to run a Macro (contained in autodru.dot) in a Word-object I create with VBS. However, after Termination of the Macro/Script there is still a Winword.exe Process in my Task Manager. How do I destroy the object thoroughly? THANKS! David Set objWord =...
  18. Dav136

    Changing the active Printer via Script in Notes R6?

    Hi! I want to be able to set the printer onto which I print an uidoc with Lotus Script. Any Ideas (besides Sendkeys)? Is there a better forum for that? Thanks a lot, Dav
  19. Dav136

    How do I manipulate my current document in Word with VBS?

    I found this Example-Script, but still get an Error-Message &quot;Object required: 'Selection'&quot; Anyone who can help?? Dav How to access an active Word document with VBScript The following code will add &quot;Hello Word&quot; to the active document. The style will be set to heading 1...
  20. Dav136

    How do I manipulate my current document in Word with VBS?

    Thanks! However, I do not want to open a file from disk. Is it possible to access a Document that is already opened for editing in Word? Dav

Part and Inventory Search

Back
Top