Đang Thực Hiện

148051 VB script for Outlook

I have been trying to put a script together. What I am trying to do is to set all users Outlook profile to offline. We are using Outlook from Office XP. I know the changes I need to do to set the profile offline, but my problem is the registry path is different for all users. Here is what I have so far:

Set WshShell = [url removed, login to view]("[url removed, login to view]")

strUserName = [url removed, login to view]("%USERNAME%")

Dim WshShell

Set WshShell = [url removed, login to view]("[url removed, login to view]")

[url removed, login to view] "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" & strUserName & "\13dbb0c8aa05101a9bb000aa002fc45a\00036601", 20, "REG_BINARY"

[url removed, login to view] "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" & strUserName & "\13dbb0c8aa05101a9bb000aa002fc45a\00036606", 512, "REG_BINARY"

The problem is, the profile name I put in this script is ?&strUsername & ? but that may not be the case. Sometimes it is the users full name or other times it may simply be outlook. I was looking for a wildcard but from what I have read there is no such solution.

Kỹ năng: Bất kì công việc gì, Visual Basic

Xem thêm: outlook 00036606, do i need microsoft office, basic shell script, outlook visual basic, set outlook users, windows script shell, shell windows, outlook script, wscript shell, script visual basic outlook, outlook microsoft, windows shell script, shell outlook, visual basic outlook, registry visual basic, script case, shell visual basic, read path, wildcard, visual script, script visual, visual basic offline, script outlook, outlook visual basic script, outlook vb

Về Bên Thuê:
( 0 nhận xét ) Canada

Mã Dự Án: #1894230