While doing stupid things with the VBA, the name of the INBOX folder changed to "Today". Can it be changed back? Even reinstallation didn't work...
Printable View
While doing stupid things with the VBA, the name of the INBOX folder changed to "Today". Can it be changed back? Even reinstallation didn't work...
Open the VB Editor in Outlook, paste in this code and run it:
VB Code:
Private Sub RenameInbox() Dim oInbox As MAPIFolder Set oInbox = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox) oInbox.Name = "Inbox" Set oInbox = Nothing End Sub
ReInstalling wont work if your linking it back to the same .pst file as the folder data is stored in it.
Just as I thought: access denied...
So, What you are suggesting to create a new PST?
I changed it once, so I believe it's changable.
I think if you have the folder open it may be the issue. Close the Inbox folder by displaying another one instead, not a sub fiolder of the inbox either.
I have opened a folder in my archive and even going offline- still nothing.
I just Can't recall what i have done to change it.
It is possible that other part of Outlook is openinig it. Can you figure out what might that be?
As long aas you are not displaying the folder in the viewing pane and you only have one instance of Outlook open then not sure what it could be. I'll try some testing. Hold on.
It must have been renamed by some freaky method but according to this KB article its possible to rename it but not with the Outlook 2003 Object Model, only with CDO 1.21
http://support.microsoft.com/?kbid=831363
It is not working... can't fint the object. I saw that it is installed in the installaion program, though it is not in the list of components.
Its in the misc. options, I think, of the custom installation setup of Outlook. Did you select it manually from the options?
Here is the correct reference in VB 6
I know how to add components.
CDO not found though . I have even tryed to browse for it (CDO.DLL), but it's erroneous.
Its a reference and not a component. ;)
Where is that component? is it inside an OCX?
:confused: :confused: :confused:
Project > References... > check "Microsoft CDO 1.21 Library" > click OK.
Where??
See picture in Post #11. You are in the Components area and not the References area. ;)
First of all, I'm an ass.
Second, WHAT IS THE MATTER WITH THIS PROGRAM??? WHY "Outlook.Application" IS NOT DEFINED???
:lol: I feel your pain but it will all be solved soon. ;)
You also need the Reference to Outlook next just like you did with CDO.
Project > References... > check "Microsoft Outlook 11.0 Object Library" > click OK.
It took some time, but it's done.
I just did it step by step, and it's not even close to the first stupid renaming of the folder (to "Today")
10X!!!
ps: have you noticed the duck? :duck:
Yes, it was a special smilie to honor a member called Parksi who passed away about 1.75 years ago. Try a search for the thread on him. :(
Not sure if you were around during that time even though you were a member since 00.
I know of him. As you can see I'm here for ages. I was returning to my VB programming and HTML after long (long!) time of army service in my o' country... Sooting people and stuff... :sick: :sick:
He was found dead in his appartment, as I recall.
I'll check for it...
I searche and couldnt find it. Maybe you will have better luck but there was an announcement on it as I do remember that. Odds are that it was a CC thread. ;)
Here is the thread
:duck: http://www.vbforums.com/showthread.p...hreadid=303084
Thanks for the link. Its still a terrible thing to read 1 1/2 years later. :(
:duck:
I thoght it was a joke - and really bad one. Couldn't read it all, so do you know whether it was suicide?