Microsoft KB Archive/822189

= Considerations that apply when you use the URLComponent or fpURLComponent object in Expression Web, in SharePoint Designer 2007, and in FrontPage 2003 =

Article ID: 822189

Article Last Modified on 5/30/2007

-

APPLIES TO


 * Microsoft Office SharePoint Designer 2007
 * Microsoft Office FrontPage 2003
 * Microsoft Expression Web

-



SUMMARY
This article discusses some of the considerations that apply when you use the Microsoft Visual Basic editor in Microsoft Expression Web or in Microsoft Office SharePoint Designer 2007 to programmatically access URLComponent objects, or in Microsoft Office FrontPage 2003 to programmatically access fpURLComponent objects.

This article also contains information to help you troubleshoot some issues that may occur when you use the Microsoft Visual Basic editor in Expression Web or in SharePoint Designer 2007 to programmatically access URLComponent objects, or in FrontPage 2003 to programmatically access fpURLComponent objects.



Expression Web and SharePoint Designer 2007
When you try to programmatically access URLComponent objects by using the Microsoft Visual Basic editor in Expression Web or in SharePoint Designer 2007, you may experience unexpected results. Use the following information to help troubleshoot some issues that you may experience:
 * The password is not returned when you specify the URLComponentPassword object.

This issue may occur if you specify the URLComponentPassword object but do not specify the URLComponentUserName object. To obtain the password, you must also obtain the user name.
 * An &quot;at&quot; sign (@) is appended to a returned user name.

This issue may occur if you specify the URLComponentUserName object but do not specify the URLComponentServer object. In this case, the &quot;at&quot; sign is appended to the returned user name or password.
 * A period character (.) appears before the returned file name extension.

This issue may occur if you specify the URLComponentPath and the URLComponentFileExtension objects but do not specify the URLComponentFileName object.

Note This issue also occurs when you request only the URLComponentFileExtension object.

When you use the URLComponent object, the following considerations apply:
 * An &quot;at&quot; sign is appended to the end of returned user names and passwords.
 * A colon character is inserted at the beginning of returned port numbers.
 * A period character (.) is inserted at the beginning of returned file name extensions.

FrontPage 2003
When you try to programmatically access fpURLComponent objects by using the Microsoft Visual Basic editor in FrontPage 2003, you may experience unexpected results. Use the following information to help troubleshoot some of the issues that you may experience:
 * The password is not returned when you specify the fpURLComponentPassword object.

This issue may occur if you specify the fpURLComponentPassword object but do not specify the fpURLComponentUserName object. To obtain the password, you must also obtain the user name.
 * An &quot;at&quot; sign (@) is appended to a returned user name.

This issue may occur if you specify the fpURLComponentUserName object but do not specify the fpURLComponentServer object. In this case, the &quot;at&quot; sign is appended to the returned user name or password.
 * A period character (.) appears before the returned file name extension.

This issue may occur if you specify the fpURLComponentPath and the fpURLComponentFileExtension objects but do not specify the fpURLComponentFileName object.

Note This result also occurs when you request only the fpURLComponentFileExtension object.

When you use the fpURLComponent object, the following considerations apply:
 * An &quot;at&quot; sign is appended to the end of returned user names and passwords.
 * A colon character is inserted at the beginning of returned port numbers.
 * A period character (.) is inserted at the beginning of returned file extensions.

Additional query words: kbnoOfficeAlertID fp2003 SPD2007 EW MEW

Keywords: kbinfo KB822189

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.