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

Article translations Article translations
Article ID: 822189 - View products that this article applies to.
Expand all | Collapse all

On This Page

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.

MORE INFORMATION

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 "at" 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 "at" 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 "at" 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 "at" 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 "at" 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 "at" 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.

Properties

Article ID: 822189 - Last Review: May 30, 2007 - Revision: 2.2
APPLIES TO
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office FrontPage 2003
  • Microsoft Expression Web
Keywords: 
kbinfo KB822189

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com