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. fredmartinmaine

    WebScrapBook

    Ok I got it. It turns out, for WebScrapBook, under Options some of the most obvious settings default to a setting that most would not want them to be at.
  2. fredmartinmaine

    WebScrapBook

    I just added the extension called WebScrapBook to Firefox and having a hard time getting it to work properly. I'm sure I'm misconfiguring it. Goal is simple. If I have a web page up, I want to save that page, its images, and any images for which there is a link. I don't want to recurse...
  3. fredmartinmaine

    Domain Controller without DNS Server

    We're retiring the domain. Company made the decision to move everything to the cloud. Data is already there. We've already got some of the workstations authenticating through Google with GCPW, they're not even on the domain. This is a step. In the end, DNS and DHCP will be served from the...
  4. fredmartinmaine

    Domain Controller without DNS Server

    I did not. I'll read the article, thanks. I didn't see anything in the firewall GUI config that applies, but I know this firewall sometimes needs CLI setup for advanced features. Hopefully it's able to accommodate. It's a Fortigate 60F.
  5. fredmartinmaine

    Domain Controller without DNS Server

    We had a pair of Domain Controllers that offered AD Authentication, DNS and DHCP. Dynamic DNS actually. A decision has been made to move DHCP and DNS to another device, a firewall. I moved DHCP a while ago, and other than not having Dynamic DNS, it's worked well. However, when I start up DNS...
  6. fredmartinmaine

    Robocopy OK on command line, errors when in batch file

    This robocopy command: robocopy "H:" "T:\My Drive" /E /XD "*$RECYCLE.BIN*" /XF "*thumbs.db*" /V /LOG:"H:\robocopy.txt" Works fine from a DOS command line, but in a batch file that's run from the command line, produces this: Source - I:\IT Files\Projects\My Drive\┬áH:\MX┬áT:\My Drive Dest -...
  7. fredmartinmaine

    Properly closing Outlook

    Odd thing. I was running the script all afternoon, for other development nothing to do with the Outlook bit, and it just started working. Inexplicable and annoyingly inconsistent. I would still be interested to know if the method I am using is correct.
  8. fredmartinmaine

    Properly closing Outlook

    Had a similar issue a while back with Excel and solved it, in similar fashion to the below, but it doesn't appear to be working with Outlook. My vbscript opens Outlook to parse some things out of an email body. When it comes time to quit the script, I close Outlook like this...
  9. fredmartinmaine

    MS Word Save As PDF / scheduled task

    I wanted to post back ... the solution was, the install of Office on the PC in question was very much behind in MS patches. Not sure why WSUS wasn't patching it up (like other PCs here) but after we manually patched Office up fully on that machine, by going out to MS directly ... this started...
  10. fredmartinmaine

    Issues quitting Excel

    Well, that's an improvement. I modified the closing to un-set WkSheet and ExcelFile. That seems to work fine. ExcelFile.Close FALSE Set WkSheet = Nothing Set ExcelFile = Nothing objExcel.Application.Quit Set objExcel = Nothing
  11. fredmartinmaine

    How can I combine multiple .vbs script of the same function into one .vbs?

    I think you should have a look at this: object.Run(strCommand, [intWindowStyle], [bWaitOnReturn]) For example: shell_obj.run(RUNCMD,0,TRUE) The 0 runs the CMD in an invisible window. TRUE forces your script to wait until CMD has finished. You can also test the success of the run: status...
  12. fredmartinmaine

    Issues quitting Excel

    In a vbscript, I open an Excel file to read a few items from it, then close it. I make no changes. However, even though I quit Excel, the process stays in Task Manager, until my script exits. Set objExcel = CreateObject("Excel.Application") objExcel.Application.Visible = False Set ExcelFile...
  13. fredmartinmaine

    Get HTML Email body into IE document object

    Equally frustrated. For what it's worth here's a code snippet that I found online that actually produces some results without errors. Still feels a long way from where I need to be. Set document = CreateObject("htmlfile") document.write "<html><head><title>test</title></head><body><div...
  14. fredmartinmaine

    Get HTML Email body into IE document object

    I'm afraid someone will have to hit me over the head with an example; I'm struggling with usage and I'm still getting errors like 'object required' and 'object doesn't support this property or method'. <table> <tr> <td class='text' style='margin-left:10px; margin-top:5px...
  15. fredmartinmaine

    Get HTML Email body into IE document object

    No worries. In the meantime I stumbled upon these two things which both work although I can't say I understand why. One of them matches yours: Set document = CreateObject("htmlfile") document.write objEmail.htmlBody Set oHTMLDoc = CreateObject("htmlfile") oHTMLDoc.open oHTMLDoc.close...
  16. fredmartinmaine

    Get HTML Email body into IE document object

    I'm back at this now. Here's what I have in total: EmailFile2 = "H:\Projects\Customer\Loss_Control_Inspection.msg" Set objOutlook = CreateObject("Outlook.Application") Set objEmail = objOutlook.CreateItemFromTemplate(EmailFile2) Set OutFile =...
  17. fredmartinmaine

    Get HTML Email body into IE document object

    Thanks. I started in with it but got some unexpected errors, could have been my poor setup of the example. But, I'm temporarily assigned to work on a different project but will be back on this soon. I'll post back. Fred
  18. fredmartinmaine

    Get HTML Email body into IE document object

    I have a need to open Outlook emails, which contain HTML tables. I need to parse some data out of the tables. I have the email in an object, and can access the HTML body: Set objOutlook = CreateObject("Outlook.Application") Set objEmail = objOutlook.CreateItemFromTemplate(EmailFile)...
  19. fredmartinmaine

    Outlook; user environment differences

    Thanks, that's an eye opener for me. As it turns out, you've pointed out something I had not considered - for the user that's not having the trouble - that inbox was formerly an Exchange public folder and yes, also has PDFs and Word docs in it. For working user, only email. I will look at...
  20. fredmartinmaine

    Outlook; user environment differences

    Microsoft doc says: Use GetNameSpace ("MAPI") to return the Outlook NameSpace object from the Application object. In the script above, that's Set objOutlook = Not sure how would that vary by user.

Part and Inventory Search

Back
Top