If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Rebuild Contacts Links
No it's not, I'm now in Vista, and I tried to create a new path that would
mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#12
|
|||
|
|||
Rebuild Contacts Links
Too bad that the path was to My Documents.
The only other solution would involve running some VBA code. I hesitate to suggest that unless you're comfortable working with VBA (see http://www.outlookcode.com/d/vbabasics.htm) and take care to make a backup of the data before running the code. Let me know. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#13
|
|||
|
|||
Rebuild Contacts Links
Yes! That's what happened last time. You gave me some VBA code to fix it. I
have multiple copies of my Outlook file, so I'm not concerned about the data. "Sue Mosher [MVP-Outlook]" wrote: Too bad that the path was to My Documents. The only other solution would involve running some VBA code. I hesitate to suggest that unless you're comfortable working with VBA (see http://www.outlookcode.com/d/vbabasics.htm) and take care to make a backup of the data before running the code. Let me know. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#14
|
|||
|
|||
Rebuild Contacts Links
FWIW, I had no similar problem when I migrated to Vista. Although the path
changes, Vista's junction points seem to have taken care of the redirection. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#15
|
|||
|
|||
Rebuild Contacts Links
See if the code sample at http://www.outlookcode.com/codedetail.aspx?id=1519 does the job.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... Yes! That's what happened last time. You gave me some VBA code to fix it. I have multiple copies of my Outlook file, so I'm not concerned about the data. "Sue Mosher [MVP-Outlook]" wrote: The only other solution would involve running some VBA code. I hesitate to suggest that unless you're comfortable working with VBA (see http://www.outlookcode.com/d/vbabasics.htm) and take care to make a backup of the data before running the code. Let me know. "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#16
|
|||
|
|||
Rebuild Contacts Links
Maybe it's a difference with Outlook 2007 as well? Or do you have 2003 on the Vista machine?
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Russ Valentine [MVP-Outlook]" wrote in message ... FWIW, I had no similar problem when I migrated to Vista. Although the path changes, Vista's junction points seem to have taken care of the redirection. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#17
|
|||
|
|||
Rebuild Contacts Links
Outlook 2007. I migrated a PST file from Outlook 2003.
-- Russ Valentine [MVP-Outlook] "Sue Mosher [MVP-Outlook]" wrote in message ... Maybe it's a difference with Outlook 2007 as well? Or do you have 2003 on the Vista machine? -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Russ Valentine [MVP-Outlook]" wrote in message ... FWIW, I had no similar problem when I migrated to Vista. Although the path changes, Vista's junction points seem to have taken care of the redirection. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#18
|
|||
|
|||
Rebuild Contacts Links
I tried the ReconnectLinks () from Listing 20.2 and I keep getting an error
at the line which is as follows; If objLink.item Is Nothing Then strFind = "[FullName] = _ " & Quote(objLink.Name) If I type it as written then I get an compile error for unexpected end of statement because I hit return after the "_". If it keep the 3rd line as part of the 2nd line so that it looks as follows; strFind = "[FullName] = _" & Quote(objLink.Name) then I get an error when running it that Sub or Function is not defined and it focuses on this line. "Russ Valentine [MVP-Outlook]" wrote: Outlook 2007. I migrated a PST file from Outlook 2003. -- Russ Valentine [MVP-Outlook] "Sue Mosher [MVP-Outlook]" wrote in message ... Maybe it's a difference with Outlook 2007 as well? Or do you have 2003 on the Vista machine? -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Russ Valentine [MVP-Outlook]" wrote in message ... FWIW, I had no similar problem when I migrated to Vista. Although the path changes, Vista's junction points seem to have taken care of the redirection. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... No it's not, I'm now in Vista, and I tried to create a new path that would mimic the old one, but when I try to creat a folder called Documents and Settings, I get a message that the info in this folder will get moved to Users. "Sue Mosher [MVP-Outlook]" wrote: No, that's not a problem that can be fixed with a command-line switch. Is the .pst file on the new machine in exactly the same folder path as the one on the old machine? If not, that could be part of the problem. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I remember talking to Sue at one point about this a year or so ago and she had some kind of Command line switch that fixed this problem. "Russ Valentine [MVP-Outlook]" wrote: Inexplicable. -- Russ Valentine [MVP-Outlook] "chunnel" wrote in message ... I just removed and created a new Outlook address book, if that's what you meant. But the problem remains. "Russ Valentine [MVP-Outlook]" wrote: Even though you migrated data correctly, you still need to reset your Outlook Address Book Service to use the file you migrated. Did you? -- "chunnel" wrote in message ... I created a new mail profile and added the Outlook file and Archive, made them the default and deleted the Outlook file that came with the new profile. I recently installed Vista and and Office 2003. Now when I click on a Contact link on the bottom left hand corner of a Contact in Outlook, I get the following message. "Cannot perform the requested operation. The command selected is not valid for this recipient." I remember that there is a command to rebuild these links, but I can't remember what it is. |
#19
|
|||
|
|||
Rebuild Contacts Links
The underscore is a continuation character. If you put the entire statement on one line, you must take the underscore out. If you leave it in, the quotation mark needs to be after the equals sign.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I tried the ReconnectLinks () from Listing 20.2 and I keep getting an error at the line which is as follows; If objLink.item Is Nothing Then strFind = "[FullName] = _ " & Quote(objLink.Name) If I type it as written then I get an compile error for unexpected end of statement because I hit return after the "_". If it keep the 3rd line as part of the 2nd line so that it looks as follows; strFind = "[FullName] = _" & Quote(objLink.Name) then I get an error when running it that Sub or Function is not defined and it focuses on this line. |
#20
|
|||
|
|||
Rebuild Contacts Links
I have tried what you mentioned but am still getting "Sub or Function not
defined". I hate to cut and paste the whole thing, but can you see an error with what I've written? Sub ReconnectLinks() Dim objApp As Outlook.Application Dim objNS As Outlook.NameSpace Dim objFolder As Outlook.MAPIFolder Dim colItems As Outlook.Items Dim objItem As Object Dim colLinks As Outlook.Links Dim objLink As Outlook.Link Dim colContacts As Outlook.Items Dim objContact As Outlook.ContactItem Dim strFind As String Dim intCount As Integer Dim I As Integer Set objApp = CreateObject("Outlook.Application") Set objNS = objApp.GetNamespace("MAPI") Set objFolder = objNS.PickFolder If TypeName(objFolder) "Nothing" Then Set colContacts = _ objNS.GetDefaultFolder(olFolderContacts).Items Set colItems = objFolder.Items For Each objItem In colItems Set colLinks = objItem.Links intCount = colLinks.Count If intCount 0 Then For I = intCount To 1 Step -1 Set objLink = colLinks.Item(I) On Error Resume Next If objLink.Item Is Nothing Then strFind = "[FullName] = " & Quote(objLink.Name) Set objContact = colContacts.Find(strFind) If Not objContact Is Nothing Then colLinks.Remove I colLinks.Add objContact End If End If Next If Not objItem.Saved Then objItem.Save End If End If Next End If Set colContacts = Nothing Set objContacts = Nothing Set objLink = Nothing Set colLinks = Nothing Set objItem = Nothing Set objItems = Nothing Set objFolder = Nothing Set objNS = Nothing Set objApp = Nothing End Sub Private Function Quote(varInput) Quote = Chr(34) & varInput & Chr(34) End Function "Sue Mosher [MVP-Outlook]" wrote: The underscore is a continuation character. If you put the entire statement on one line, you must take the underscore out. If you leave it in, the quotation mark needs to be after the equals sign. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "chunnel" wrote in message ... I tried the ReconnectLinks () from Listing 20.2 and I keep getting an error at the line which is as follows; If objLink.item Is Nothing Then strFind = "[FullName] = _ " & Quote(objLink.Name) If I type it as written then I get an compile error for unexpected end of statement because I hit return after the "_". If it keep the 3rd line as part of the 2nd line so that it looks as follows; strFind = "[FullName] = _" & Quote(objLink.Name) then I get an error when running it that Sub or Function is not defined and it focuses on this line. |
Thread Tools | |
Display Modes | |
|
|