-
Dec 27th, 2018, 11:07 AM
#1
Thread Starter
Hyperactive Member
[Outlook] Is there a place in the outlook ui that is easily writable and visible?
I have some information I want to display from specific recipients. I can get the info based on the sender data on the mail item but have not found a place to put my extra stuff.
I was modifying the Subject line (and removing before replying) but it confused some of the people trying to use it and want to find a new location to write the data.
I Only need about 10-12 characters and it would ideally be somewhere on the mail item but would also be acceptable in the status bar or title bar (tried writing to the title bar using WM_SETTEXT with no luck). I'm also trying to avoid custom forms so I don't have to update eveyone's form every time a new version changes or the get a new computer\reinstall outlook.
-
Dec 28th, 2018, 09:26 AM
#2
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
Are you trying to automatically create a reply, based on (and at the time of) receiving emails from these specific recipients, with the added text somewhere in the reply? Or are you wanting to search through the inbox to find emails from these recipients, then create a reply with the added text?
-
Dec 28th, 2018, 10:56 AM
#3
Thread Starter
Hyperactive Member
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
Originally Posted by vbfbryce
Are you trying to automatically create a reply, based on (and at the time of) receiving emails from these specific recipients, with the added text somewhere in the reply? Or are you wanting to search through the inbox to find emails from these recipients, then create a reply with the added text?
I have a list of all my customers and the version of my software they are using. I want to display this version number. I can match up the email to my list and get the version number, I just don't have anywhere I can display it.
-
Dec 28th, 2018, 01:36 PM
#4
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
Need more information on how you are using it for your needs. You get an email from a customer and query teh db for their software version etc but what do you do with that info? Do you email it back or ???
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Dec 28th, 2018, 02:14 PM
#5
Thread Starter
Hyperactive Member
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
Originally Posted by RobDog888
what do you do with that info? Do you email it back or ???
I just want to show it somewhere on the screen so I don't have to keep looking it up.
For example, if someone emails with a problem and they have an old version, I'll likely just tell them to update.
So my process now is: 1) get an email 2) figure out the company 3) switch to the database 4) find the company in the list 5) get the version number.
It is something I may have to do 10-20 times a day and I was hoping I could write to the status bar or title bar so I don't have to keep looking up the version numbers. I have all the other parts working, I just need a place to display the version number.
-
Dec 28th, 2018, 03:48 PM
#6
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
Maybe just a topmost tool window then as it doesnt have to be integrated into Office 365, I assume you are using as per the thread tag.
You can use any language to write the tool window but if you have Access then you can use that as well
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Dec 28th, 2018, 04:38 PM
#7
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
possibly you could use a baloon?
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 2nd, 2019, 05:16 PM
#8
Thread Starter
Hyperactive Member
Re: [Outlook] Is there a place in the outlook ui that is easily writable and visible?
Originally Posted by westconn1
possibly you could use a baloon?
i wanted it to be "contained" to outlook but this would be a good place
I did end up finding a solution: the "to-do bar" section seems to be on for most people here and the bar contains the "tasks" section. So I just create or reuse a task and put the text in there.
Thanks for all the suggestions. The code I use is:
VB Code:
Option Explicit Public WithEvents m As Outlook.MailItem Private Sub Application_ItemLoad(ByVal Item As Object) If TypeOf Item Is MailItem Then Set m = Item End If End Sub Private Sub m_Read() Dim TaskFolder As Outlook.Folder Dim o As TaskItem Dim tsk As TaskItem Set TaskFolder = Session.GetDefaultFolder(olFolderTasks) For Each o In TaskFolder.Items If InStr(1, o.Subject, "v:") > 0 Then Set tsk = o Exit For End If Next If tsk Is Nothing Then Set tsk = TaskFolder.Items.Add End If tsk.Subject = "v: " & GetVersionInfo(m.SenderEmailAddress) tsk.Save End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|