Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,804 members, 7,956,057 topics. Date: Sunday, 22 September 2024 at 10:55 PM |
Nairaland Forum / Science/Technology / Programming / Placing Vbscript In Outlook Public Folder (2348 Views)
Simple Text-To-Speech Program using Vbscript. Do It Yourself. / Outlook PST Recovery Software ? / How To Convert Folder/file To Jpeg Format (2) (3) (4)
(1) (Reply)
Placing Vbscript In Outlook Public Folder by Guk: 1:33am On Dec 02, 2010 |
Any ideas on how i can successfully place the VBScript below into Outlook Public Folder for all users to see? Sub webshortcut() On Error GoTo ServiceDeskRequest_Error Dim objOL As Outlook.Application Dim objNS As Outlook.NameSpace Dim objM As Outlook.Account Dim objIE As Object Dim strURL As String Dim strUser As String Dim strSMTP As String Dim strPassword As String Set objOL = Outlook.Application Set objNS = objOL.Session 'get user email address Set objM = objNS.Accounts.Item(1) strSMTP = objM.SmtpAddress 'Get current user email user 'strUser = objNS.Session.CurrentUser.Address 'MsgBox strSMTP Outlook.ActiveExplorer.Panes.Item("OutlookBar".Contents.Groups.Item(1).Shortcuts.Add "http://10.2.100.52/OutlookServiceRequest/TheForm.asp?email=" & strSMTP, "Service Desk", 1 'Cleanup memory Set objNS = Nothing Set objOL = Nothing Set objM = Nothing Exit Sub ServiceDeskRequest_Error: MsgBox Err.Description 'Resume Next Set objNS = Nothing Set objOL = Nothing Set objM = Nothing End Sub |
Re: Placing Vbscript In Outlook Public Folder by dellnet: 10:54am On Dec 03, 2010 |
Private Sub Application_Startup() |
(1) (Reply)
Help Me In Reviewing My Social Network Website. / Is There Any Major Website In The World Entirely Developed By A Nigerian? / Steps To Upload A File Into A Website. Urgnet Pls!
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |