L
Lee C.
I'm going to go set up a new e-mail program for my mother here next weekend on my little brother's computer, not the one coming, but the one after, so I have time to practice on this and get it right perhaps. (It's a couple hundred miles, so I want to have the trick down pat when I get there).
Notion is to get her arranged so's she can draft her e-mails offline so's she doesn't lose them into the ether as has been happening with the web mail my little brother set up for her. A Hotmail account and an OE identity seems to be a promising way to handle this, but I'll need for OE to come up in offline mode even after little brother has been browsing in the interim. Doesn't seem to be too hard a trick. I have an old vbs script I got from, I think, MVP Doug Knox's site that I've edited selectively, and it'll set for my Mother's identity and then open an .EML file preset to a type style amenable to her older eyes. The only thing is I don't know anything about vbs scripting, and am stuck on a point I haven't been able to figure out by the trial and error method.
The script as edited goes like this:
Set WshShell = WScript.CreateObject("Wscript.Shell")
'Clear the values from the registry
WshShell.RegWrite "HKCU\Identities\Last Username", "Momma"
WshShell.RegWrite "HKCU\Identities\Last User ID", "{584094C3-8546-49AC-AB6D-04C2A776AF0D}"
WshShell.RegWrite "HKCU\Identities\Default User ID", "{584094C3-8546-49AC-AB6D-04C2A776AF0D}"
WshShell.RegWrite "HKCU\Identities\Start As", "{584094C3-8546-49AC-AB6D-04C2A776AF0D}"
[hereabouts is where I get lost]
WSHShell.Run "d:\winxp\forms\eml-form.eml"
Into the part where I get lost I need to insert something to get OE to start offline even though little brother may have set it for online during the meantime. I have found the key that controls this to be:
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\GlobalUserOffline
And I've figured out that switching the value back and forth from 0 to 1 causes OE (and I presume IE also) to load up either offline or online
However at this point I'm out of my depth. I have yet to even figure out what exactly a DWord is in the first place, nor have I been able to stumble across the command line for the vbs script that will cause it to switch to offline mode before it loads up that eml-form.eml file.
Can somebody enlighten me as to how to change that DWord value to 1 via a vbs script?
Notion is to get her arranged so's she can draft her e-mails offline so's she doesn't lose them into the ether as has been happening with the web mail my little brother set up for her. A Hotmail account and an OE identity seems to be a promising way to handle this, but I'll need for OE to come up in offline mode even after little brother has been browsing in the interim. Doesn't seem to be too hard a trick. I have an old vbs script I got from, I think, MVP Doug Knox's site that I've edited selectively, and it'll set for my Mother's identity and then open an .EML file preset to a type style amenable to her older eyes. The only thing is I don't know anything about vbs scripting, and am stuck on a point I haven't been able to figure out by the trial and error method.
The script as edited goes like this:
Set WshShell = WScript.CreateObject("Wscript.Shell")
'Clear the values from the registry
WshShell.RegWrite "HKCU\Identities\Last Username", "Momma"
WshShell.RegWrite "HKCU\Identities\Last User ID", "{584094C3-8546-49AC-AB6D-04C2A776AF0D}"
WshShell.RegWrite "HKCU\Identities\Default User ID", "{584094C3-8546-49AC-AB6D-04C2A776AF0D}"
WshShell.RegWrite "HKCU\Identities\Start As", "{584094C3-8546-49AC-AB6D-04C2A776AF0D}"
[hereabouts is where I get lost]
WSHShell.Run "d:\winxp\forms\eml-form.eml"
Into the part where I get lost I need to insert something to get OE to start offline even though little brother may have set it for online during the meantime. I have found the key that controls this to be:
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\GlobalUserOffline
And I've figured out that switching the value back and forth from 0 to 1 causes OE (and I presume IE also) to load up either offline or online
However at this point I'm out of my depth. I have yet to even figure out what exactly a DWord is in the first place, nor have I been able to stumble across the command line for the vbs script that will cause it to switch to offline mode before it loads up that eml-form.eml file.
Can somebody enlighten me as to how to change that DWord value to 1 via a vbs script?