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.
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...
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...
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.
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...
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 -...
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.
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...
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...
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
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...
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...
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...
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...
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...
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 =...
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
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)...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.