locked
Need help with wildcard characters RRS feed

  • Question

  • User426001450 posted

    I am working with VWD 2010 Express and VB. When the page is on the local server the following statement works pretty well:

    'This part handle the pictures presentation
    'Dim PicturesPathVariable As String = "c:\bPhones\UploadedImagesClassifieds\"

    However when the page in on the remote server I do have to use this one:

    'Dim PicturesPathVariable As String = "e:\HostingSpaces\3040bG\bPhones.com\wwwroot\UploadedImagesClassifieds\"

    The point here is that I want to have uniformity between the local and remote coding in order to avoid confussion. So, is there any way that I can use wild characther to represent the part before the \UploadedImagesClassifieds\:  ........................ ????????????????? .........................\UploadedImagesClassifieds\"

    I tried something like ~\UploadedImagesClassifieds\"   ;       or    * \UploadedImagesClassifieds\"  and  ? \UploadedImagesClassifieds\"

    But nothing work. Can anybody help me. Thanks

    Saturday, July 6, 2013 12:02 PM

Answers