Microsoft Knowledge Base Email Alertz

(822189) - This article discusses some of the considerations that apply when you use the Microsoft Visual Basic editor in FrontPage 2003 to programmatically access fpURLComponent objects. This article also contains information to help you troubleshoot some...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 822189 - Last Review: May 30, 2007 - Revision: 2.2

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

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.

APPLIES TO
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office FrontPage 2003
  • Microsoft Expression Web
Keywords: 
kbinfo KB822189
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate