Excel Formula Referring to a UNC Path is Corrupted when Open with Particular Workstation

Hi Experts & Support,
I have a critical problem when trying to refer across Excel workbooks which all are located in different network folders.
There is a cell formula referring to another Excel file using UNC path, for instance, \\myserver\share\folder1\file.xlsm.
It works as long as anyone who is opening the file has no mapped network drive-- access this Excel file directly via UNC path. 
However, it turns out that one of the workstation (Windows 2008 Server x64), when trying to access this file--even from UNC path directly-- the link is corrupted. The formula is changed automatically to \\myserver\folder1\file.xlsm (please notice a missing
\share\).
And therefore, when the user on Windows 2008 Server save that Excel file, it causes the original file to be corrupted and every one who access the same file from another computers will all encounter a broken link then.
This Windows 2008 Server has no mapped network drive at all. We have done a lot of researches on the Internet but still couldn't find a solution to this. Is there any way we can investigate further and resolve this issue please?
Thanks in advance.

Hi,
In general,this issue should be  caused by a mapped drive.you can refer to the KB below:
http://support.microsoft.com/kb/328440/en-us
However, as you can be sure that there is no mapped drive in this server. could you please provide a litter more information about this server? Did a different version of Excel install in this server? Maybe you can try a repair of the office
program.
And I guess we can avoid this by using Hyperlink function.
Wind Zhang
TechNet Community Support

Similar Messages

  • MS Excel document as attachment to a PDF document does not open with a hot spot/link in the PDF

    Hi, I have attached an excel file to a pdf document. I need to open this document in a new window by clicking an icon/hotspot in the pdf document to which it it attached.
    I am using the Link Tool to create a hot spot around the icon in the pdf. In the next window I am using the Go to Page view option, opening the attachment to its first page and clicking the "set link" button.
    For some reason, clicking the hotspot does not open the excel document as it does another pdf document.
    Need help resolving this issue with attached documents.

    Select a particular download file. Press COMMAND-I to open the Get Info window.  In the Open With section choose the desired default application from the dropdown menu then click on the Change All button.
    For .dmg files use DiskImageMounter (System/Library/CoreServices/ folder.)
    For .zip files use Archiver - same folder as above - or download TheArchiver - MacUpdate or CNET Downloads.

  • Is it possible to add UNC paths to the favorites menu with a batch script?

    Hi all,
    at present the office I work in uses mapped drives, this works well for people in our office but one people talk with the other offices things go south as they have no idea what a t drives is. So I would like to move my users away from the mapped drive and
    add the folder locations to the favorites menu.
    Short of making the shortcuts and asking each person to copy them in to the folder location there must be a way to write a script to do this? I have looked at using mklink but that failed. 
    This is the code I used 
    mklink /d %userprofile%\Favorites\tech \\brisfp01\Tech 
    Any other ideas? 
    Thanks

    it is called an "Internet Shortcut"
    $Shell = New-Object -ComObject WScript.Shell
    $shortcut = $Shell.CreateShortcut($FullPath)
    $shortcut.TargetPath = $Url
    $shortcut.Save()
    Look in Gallery for more examples.
    ¯\_(ツ)_/¯

  • "File path not found" when opening an Encore DVD project made 2 years ago

    Configuration:
    XP SP3, Encore DVD CS3 coming from Creative Suite.
    2Gb RAM, fast-enough-CPU, large-enough-harddisk (~70Gb space).
    The project, as I remember, should has been made with Encore DVD 2.0 2 years ago.
    The project file is placed on the C:\ with no invalid characters on the path or filename.
    The message prompts when I try to open the project file and after some loading(1 sec).
    I have been searching on the Internet for these problems on other people but there are no satisfactory solutions yet. Does anyone have the same issue?
    Thanks!

    ummm - I think this must be something like:
    http://www.cs.yorku.ca/java/api/type/api/type/lang/package-summary.html
    right?

  • Windows cannot access the specified device, path, or file when opening safari

    I am on a HP Probook 4520s and when I try to run the Safari executable I get the error message:
    "Windows cannot access the specified device, path, or file.  You may not have the appropriate permission to access the item."
    I have full control to the C:\Program Files (x86)\Safari folder
    Could someone please help?

    Hey All
    I have actually managed to find out what it is so thanks for any suggestions up to now.
    At work, we use McAfee AntiVirus.  Part of this is McAfee SiteAdvisor 3.5 for Internet Security.
    In Policy Catalog in the McAfee ePO system under SiteAdvisor, there is Hardening setting.  What this does is block any unauthorised browser from being able to run.  Safari, along with the likes of Opera and some others are automatically blocked by this.  Once you uncheck, to allow users to run Safari, it works fine.
    Here's where I found the answer:
    https://kc.mcafee.com/corporate/index?page=content&id=KB73943&actp=LIST

  • Unable to access UNC path on 2012 R2 file server with ABE enabled

    Brief Description:
    We have granted access to people via a domain local group on a folder on a file server that is three levels deep from the share, i.e. \\servercluster\share\folder1\folder2\folder3, where folder3 is where the group is granted Read & Execute
    access.  The share has Access-Based Enumeration (ABE) enabled and the Everyone group has Full Control share permissions.  We also use DFS, so the path for that is \\domain\dfsrootname\folderfororganization\share\folder1\folder2\folder3.  People
    in the aforementioned group only have access to folder3, its subfolders, and files.  They do not have any access to folder2 or any of the other folders higher in the tree at all.  Also, consider that folder3 contains a subfolder folder4, which is
    simply inheriting permissions. 
    What we have found is that clients running Windows 7 SP1 have strange access issues when attempting to access the folder via either the DFS or cluster name UNC paths.
    Detailed Testing Results Accessing Folder3 Directly:
    NOTE:  "UNC path" in the following test results means either the DFS or the cluster name share path.  The results are the same regardless which path is used.
    1 - Enter UNC path without trailing backslash in Windows Explorer's address bar:
    Windows Explorer seems to do nothing for about 30 seconds and then displays the following error:
    "Windows cannot access <UNC path>
    Check the spelling of the name.  Otherwise, there might be a problem with your network.  To try to identify and resolve network problems, click Diagnose."
    2 - Enter UNC path with trailing backslash in Windows Explorer's address bar:
    The same error encountered in #1 is displayed immediately.
    3 - Enter UNC path with or without trailing backslash but contained in double quotes in Windows Explorer's address bar:
    Internet Explorer opens and displays the error:
    "Internet Explorer cannot display the webpage"
    4 - Enter UNC path without trailing backslash in Run dialog box:
    An error message immediately appears:
    "<UNC path>
    The specified path does not exist.
    Check the path and then try again."
    5 - Enter UNC path with trailing backslash in Run dialog box:
    Same as #4.
    6 - Enter UNC path without trailing backslash but contained in double quotes in Run dialog box:
    Same as #4.
    7 - Enter UNC path with trailing backslash and contained in double quotes in Run dialog box:
    Windows Explorer opens the correct UNC path location and displays the folder contents.  This is the expected behavior for all of these attempts.
    8 - Create Shortcut to UNC path by performing #7 and then dragging the folder icon in Windows Explorer's address bar to either to the desktop or the Favorites section, and then attempt to access the folder via
    the shortcut.
    Same as #7.
    9 - Attempt to create a shortcut to the UNC path using the New Shortcut wizard:
    Unable to successfully create the shortcut, regardless if you add a backslash at the end or enclose the path in double qutoes.  When you press Next after entering the UNC path, you receive the following error:
    "The file <UNC path> cannot be found."
    10 - Disable ABE on the share and repeat all tests:
    All tests with ABE disabled on the share have the same result as #7.  There is no issue whatsoever accessing the desired folder when ABE is disabled.
    Other Notable Behaviors:
    If the aforementioned folder (folder3) contains one or more subfolders (e.g. folder4), you are able to access those subfolders via UNC path directly and then go up one level to folder3 without issue, even when ABE is enabled.  You just cannot access
    folder3 directly via UNC path unless you attempt to access it via the method used in #7 above or a successfully created shortcut.
    Adding a user account directly to the folder3 ACL rather than using group membership makes no difference.
    If access is granted to folder4 instead of folder3 (the fourth folder deep rather than the third), accessing folder4 directly via UNC path is not an issue regardless of ABE status or attempted access method.
    Windows 8 and 8.1 clients have no trouble directly accessing the folder's UNC path via any method.  The unusual, undesirable behavior seen in Windows 7 is non-existent on Windows 8.x clients.
    Systems Involved:
    Client:  Windows 7 Enterprise SP1 x86
    Server:  Windows Server 2012 R2 Standard in cluster
    Other Details About the Systems:
    Both the client and the file server cluster are in the domain AD DS domain.
    The client and the file server cluster are in different subnets.
    There is no firewall or other packet inspection or compression service/device in between the client and server (not even Windows Firewall).
    Question:
    Is there a way to fix this behavior with Windows 7 clients and ABE enabled on the share so that it works correctly without forcing the clients or server to use SMBv1 or disabling ABE on the shares?

    7-Zip 9.20
    Adobe Flash Player 13 ActiveX
    Cisco WebEx Meetings
    Java 7 Update 51
    It should be noted that I can't repeat the behavior on my test machine again today after some changes were made in our environment.
    Today, I found that someone had modified permissions on the folder to give the group my test account was a member of rights to traverse the folder hierarchy from the root of the share.  Additionally, in testing something with FIPS mode, I ended up reverting
    my virtual machine to an older snapshot.
    After removing the extra permissions that weren't present when I was doing my testing and reverting to the older snapshot, I  am not having issues accessing the real equivalent of folder3 directly in Windows Explorer via DFS UNC path or creating a shortcut
    with the New Shortcut wizard.
    Things have been fundamentally changed and I cannot repeat the behavior on this particular folder.  I will see if I can recreate the same situation on another folder.

  • Mapped Path being used instead of UNC Path

    We have recently upgraded our Adobe products from CS3 to CC.  In CS3, images that were added to InDesign had the UNC path in the "Links".  With CC, we are finding that the Mapped Path is in the "Links".  This different behaviour is causing some issues.
    Here is the process that we are using to add images to an InDesign file:
    1.  Open Bridge
    2.  Browse to a folder (X:\ which is mapped to \\Server\Hi-Res\)
    3.  Drag and drop an image from Bridge to InDesign
    In CS3, a path of "X:\MyFolder\MyImage.tif" would get converted to \\Server\Hi-Res\MyFolder\MyImage.tif
    In CC, the path remains as "X:\MyFolder\MyImage.tif" which is causing us some issues.
    Is there a way, in InDesign CC, to tell the application to use UNC paths when a Link is created - similar to what we were experiencing with CS3?
    Thanks,
    Jody

    Hi Lee,
    In CS3, UNC paths were used in File Path for images but this behavior was changed in CS4 (most probably) and UNC paths are no more supported.
    Regards,
    Pooja

  • Windows Server 2012 - Printing using UNC path not working

    Hi,
    I have a problem printing using the printer's UNC path ("\\Server_Name\Printer_Hostname") to work with a web
    app hosted on IIS 8. With a windows forms application the UNC path is working fine and the app prints.
    With
    the web app I receive an error "The data area passed to a system call is tool small". 
    Also,
    in the event viewer under Applications and Services Logs -> Microsoft -> PrintService -> Operational, I receive the error "The print spooler failed to reopen an existing printer connection because it could not read the configuration information
    from the registry key S-1-5-82-1980832875-2702362896-1795126167-3622310632-1152289074\Printers\Connections. The print spooler could not open the registry key. This can occur if the registry key is corrupt or missing, or if the registry recently became unavailable."

    I have contacted IIS forum support.
    Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
    Their final response:
    Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
    works while the Samsung fails, as the HP one just "happens
    to work",
    http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
    Similarly, System.Printing was designed just for WPF.
    About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
    to help you out. This is not a trivial scenario.

  • Excel 2007 to Excel 2010 - external references no longer work for UNC paths

    Hi all,
              a client has recently moved from Excel 2007 to Excel 2010 - and found that some spread sheets - which have references to other spread sheets, no longer update data correctly. The workbooks continue to
    work fine with Excel 2007.
    The locations are listed in trusted locations from GP - and if we copy the documents locally and update the links, it all works fine.
    Excel 2010 have all patches installed as of March 2014 and the spread sheets have also been tested with Excel 2013 (again, with all current patches) and exhibit the same issues.
    Changing the unc path to a drive letter also does not resolve the issue.
    An example of the lookup is
    =IF(ISNA(VLOOKUP([@[ Cust No.]],\\server\share\February.2014.xlsx!Table1[#All],9,0)),0,VLOOKUP([@[ Cust No.]],
    \\server\share\February.2014.xlsx!Table1[#All],9,0))

    Maybe you could try to use the range reference instead of Table in excel 2010.
    e.g.
    =VLOOKUP(H5,'\\server name\share folder\[2014.xlsx]Sheet1'!$H$15:$M$25,2,0)
    If it doesn't help ,on the Data tab, click Edit Links in the Connections group. And then click 'Check Status' .
    What's the status of this link? If it is 'Error: Worksheet not found' . you can try to click the 'open source' to update the data.
    Wind Zhang
    TechNet Community Support

  • UNC paths of fileshares vs SharePoint

    Hi,
    I have some ASP.NET code on a page (see below for the URL) that basically reads the querystring parameter "source" from the URL and the "source" is always a UNC path location.  What this code is doing is basically taking an Excel
    file from a UNC Path location and converting into an Image file on the fly. Now, my code works fine if I provide a UNC path location to a file hosted on a file share. However, if I provide a UNC path location to a file hosted on sharePoint document library,
    My code doesn't work.  I am so confused as how SharePoint UNC paths are different than fileshare UNC paths.
    http://mysite/Default.aspx?source=UNCPath 
    Please help.

    Oke... I assumed mysite refers to the mysite environment of SharePoint....but you are talking about a server-name that is not within your SharePoint farm.
    First of all: Microsoft is not really delivering a UNC path to a file.... it is more a "emulator" that delivered the same behavior.
    So on the "mysite"/asp server server the webclient service needs to be running so it can connect to to that "emulated way of unc hosting.
    Of course the connection from this "mysite" server to the SharePoint server must be open. (in ways of port firewalls. I'm not sure witch ports exactly is used, but it is not or not only the default file share ports)
    Did you also check if the file unc path is working for a regular user? and did you check it with the same username as the "mysite" service account is using? (as in not all set ups the accounts are impersonating)
    (please forgive me if a advice is lost in translation, English is not my native language)
    Michiel Hamers www.SharePointman.nl Don't hesitate to contact me for a SharePoint/O365 question.

  • How do I calculate the size of files that I have UNC paths for

    I am on SQL Server 2008 R2. I have a table that contains a field called [Location]. In that field is a UNC path to the physical file on the repository. Is there a way in SQL Server that I can say give me the select sum([Location] UNC file) where criteria?
    I saw some posts about xp_filesize or xp_GetFileDetails, but I do not see them in master. I am unable to add anything and wondering if there is any native functionality that would allow me to accomplish this!? Thanks.

    Maybe you can use an Excel Macro for this kind of thing.
    Dim iRow
    Sub ListFiles()
    iRow = 11
    Call ListMyFiles(Range("C7"), Range("C8"))
    End Sub
    Sub ListMyFiles(mySourcePath, IncludeSubfolders)
    Set MyObject = New Scripting.FileSystemObject
    Set mySource = MyObject.GetFolder(mySourcePath)
    On Error Resume Next
    For Each myFile In mySource.Files
    iCol = 2
    Cells(iRow, iCol).Value = myFile.Path
    iCol = iCol + 1
    Cells(iRow, iCol).Value = myFile.Name
    iCol = iCol + 1
    Cells(iRow, iCol).Value = myFile.Size
    iCol = iCol + 1
    Cells(iRow, iCol).Value = myFile.DateLastModified
    iRow = iRow + 1
    Next
    If IncludeSubfolders Then
    For Each mySubFolder In mySource.SubFolders
    Call ListMyFiles(mySubFolder.Path, True)
    Next
    End If
    End Sub
    Try this too.
    Sub TestListFilesInFolder()
    ' Open folder selection
    ' Open folder selection
    With Application.FileDialog(msoFileDialogFolderPicker)
    .Title = "Select a Folder"
    .AllowMultiSelect = False
    If .Show <> -1 Then GoTo NextCode
    pPath = .SelectedItems(1)
    If Right(pPath, 1) <> "\" Then
    pPath = pPath & "\"
    End If
    End With
    NextCode: 'MsgBox "No files Selected!!"
    'Application.WindowState = xlMinimized
    'Application.ScreenUpdating = False
    Workbooks.Add ' create a new workbook for the file list
    ' add headers
    ActiveSheet.Name = "ListOfFiles"
    With Range("A2")
    .Formula = "Folder contents:"
    .Font.Bold = True
    .Font.Size = 12
    End With
    Range("A3").Formula = "File Name:"
    Range("B3").Formula = "File Size:"
    Range("C3").Formula = "File Type:"
    Range("D3").Formula = "Date Created:"
    Range("E3").Formula = "Date Last Accessed:"
    Range("F3").Formula = "Date Last Modified:"
    Range("A3:F3").Font.Bold = True
    Worksheets("ListOfFiles").Range("A1").Value = pPath
    Range("A1").Select
    With Selection.Interior
    .Pattern = xlSolid
    .PatternColorIndex = xlAutomatic
    .Color = 65535
    .TintAndShade = 0
    .PatternTintAndShade = 0
    End With
    With Selection.Font
    .Color = -16776961
    .TintAndShade = 0
    End With
    Selection.Font.Bold = True
    ListFilesInFolder Worksheets("ListOfFiles").Range("A1").Value, True
    ' list all files included subfolders
    Range("A3").Select
    Lastrow = Range("A1048576").End(xlUp).Row
    Range(Selection, Selection.End(xlToRight)).Select
    Range(Selection, Selection.End(xlDown)).Select
    ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Clear
    ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Add Key:=Range( _
    "B4:B" & Lastrow), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption:= _
    xlSortNormal
    With ActiveWorkbook.Worksheets("ListOfFiles").Sort
    .SetRange Range("A3:F" & Lastrow)
    .Header = xlYes
    .MatchCase = False
    .Orientation = xlTopToBottom
    .SortMethod = xlPinYin
    .Apply
    End With
    Range("A1").Select
    Cells.Select
    Cells.EntireColumn.AutoFit
    Columns("A:A").Select
    Selection.ColumnWidth = 100
    Range("A1").Select
    End Sub
    Sub ListFilesInFolder(SourceFolderName As String, IncludeSubfolders As Boolean)
    ' lists information about the files in SourceFolder
    Dim FSO As Scripting.FileSystemObject
    Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
    Dim FileItem As Scripting.File
    Dim r As Long
    Set FSO = New Scripting.FileSystemObject
    Set SourceFolder = FSO.GetFolder(SourceFolderName)
    r = Range("A1048576").End(xlUp).Row + 1
    For Each FileItem In SourceFolder.Files
    ' display file properties
    Cells(r, 1).Formula = FileItem.Path & FileItem.Name
    Cells(r, 2).Formula = (FileItem.Size / 1048576)
    Cells(r, 2).Value = Format(Cells(r, 2).Value, "##.##") & " MB"
    Cells(r, 3).Formula = FileItem.Type
    Cells(r, 4).Formula = FileItem.DateCreated
    Cells(r, 5).Formula = FileItem.DateLastAccessed
    Cells(r, 6).Formula = FileItem.DateLastModified
    ' use file methods (not proper in this example)
    r = r + 1 ' next row number
    Next FileItem
    If IncludeSubfolders Then
    For Each SubFolder In SourceFolder.SubFolders
    ListFilesInFolder SubFolder.Path, True
    Next SubFolder
    End If
    Columns("A:F").AutoFit
    Set FileItem = Nothing
    Set SourceFolder = Nothing
    Set FSO = Nothing
    ActiveWorkbook.Saved = True
    End Sub
    Sub CreateList()
    Application.ScreenUpdating = False
    Workbooks.Add ' create a new workbook for the folder list
    ' add headers
    ActiveSheet.Name = "ListOfFiles"
    With Cells(3, 1)
    .Value = "Folder contents:"
    .Font.Bold = True
    .Font.Size = 12
    End With
    Cells(4, 1).Value = "Folder Path:"
    Cells(4, 2).Value = "Folder Name:"
    Cells(4, 3).Value = "Folder Size:"
    Cells(4, 4).Value = "# Subfolders:"
    Cells(4, 5).Value = "# Files:"
    Range("A3:E3").Font.Bold = True
    ListFolders BrowseFolder, True
    Application.ScreenUpdating = True
    Cells.Select
    Cells.EntireColumn.AutoFit
    Columns("A:A").Select
    Selection.ColumnWidth = 100
    Columns("B:B").Select
    Selection.ColumnWidth = 25
    Range("A1").Select
    End Sub
    Sub ListFolders(SourceFolderName As String, IncludeSubfolders As Boolean)
    ' lists information about the folders in SourceFolder
    Dim FSO As Scripting.FileSystemObject
    Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
    Dim r As Long
    Set FSO = New Scripting.FileSystemObject
    Set SourceFolder = FSO.GetFolder(SourceFolderName)
    ' display folder properties
    Worksheets("ListOfFiles").Range("A1").Value = SourceFolderName
    Range("A1").Select
    With Selection.Interior
    .Pattern = xlSolid
    .PatternColorIndex = xlAutomatic
    .Color = 65535
    .TintAndShade = 0
    .PatternTintAndShade = 0
    End With
    With Selection.Font
    .Color = -16776961
    .TintAndShade = 0
    End With
    Selection.Font.Bold = True
    r = Cells(Rows.Count, 1).End(xlUp).Row + 1
    Cells(r, 1).Value = SourceFolder.Path
    Cells(r, 2).Value = SourceFolder.Name
    Cells(r, 3).Value = SourceFolder.Size
    Cells(r, 3).Value = (SourceFolder.Size / 1048576)
    Cells(r, 3).Value = Format(Cells(r, 3).Value, "##.##") & " MB"
    Cells(r, 4).Value = SourceFolder.SubFolders.Count
    Cells(r, 5).Value = SourceFolder.Files.Count
    If IncludeSubfolders Then
    For Each SubFolder In SourceFolder.SubFolders
    ListFolders SubFolder.Path, True
    Next SubFolder
    Set SubFolder = Nothing
    End If
    Columns("A:E").AutoFit
    Set SourceFolder = Nothing
    Set FSO = Nothing
    ActiveWorkbook.Saved = True
    End Sub
    And, finally.
    Const BIF_RETURNONLYFSDIRS As Long = &H1 ''' For finding a folder to start document searching
    Const BIF_DONTGOBELOWDOMAIN As Long = &H2 ''' Does not include network folders below the domain level in the tree view control
    Const BIF_RETURNFSANCESTORS As Long = &H8 ''' Returns only file system ancestors.
    Const BIF_BROWSEFORCOMPUTER As Long = &H1000 ''' Returns only computers.
    Const BIF_BROWSEFORPRINTER As Long = &H2000 ''' Returns only printers.
    Const BIF_BROWSEINCLUDEFILES As Long = &H4000 ''' Returns everything.
    Const MAX_PATH As Long = 260
    Type BROWSEINFO
    hOwner As Long
    pidlRoot As Long
    pszDisplayName As String
    lpszINSTRUCTIONS As String
    ulFlags As Long
    lpfn As Long
    lParam As Long
    iImage As Long
    End Type
    Declare Function SHGetPathFromIDListA Lib "shell32.dll" (ByVal pidl As Long, ByVal pszBuffer As String) As Long
    Declare Function SHBrowseForFolderA Lib "shell32.dll" (lpBrowseInfo As BROWSEINFO) As Long
    Function BrowseFolder() As String
    Const szINSTRUCTIONS As String = "Choose the folder to use for this operation." & vbNullChar
    Dim uBrowseInfo As BROWSEINFO
    Dim szBuffer As String
    Dim lID As Long
    Dim lRet As Long
    With uBrowseInfo
    .hOwner = 0
    .pidlRoot = 0
    .pszDisplayName = String$(MAX_PATH, vbNullChar)
    .lpszINSTRUCTIONS = szINSTRUCTIONS
    .ulFlags = BIF_RETURNONLYFSDIRS
    .lpfn = 0
    End With
    szBuffer = String$(MAX_PATH, vbNullChar)
    ''' Show the browse dialog.
    lID = SHBrowseForFolderA(uBrowseInfo)
    If lID Then
    ''' Retrieve the path string.
    lRet = SHGetPathFromIDListA(lID, szBuffer)
    If lRet Then BrowseFolder = Left$(szBuffer, InStr(szBuffer, vbNullChar) - 1)
    End If
    BrowseFolder = BrowseFolder & "\"
    End Function
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Creating a symlink directory on a network share to a path below a mapped drive letter, local path, or UNC path does not work

    Am I correct in assuming I can not create a `symlinkd` to a network share, local path, or a UNC path on a network share that will be accessible by clients?
    ###Mapped drive letters don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a hardlink:
    mklink /d test_sharedir t:\directory\
    dir .\test_sharedir
    #Directory of Z:\test_sharedir
    #File Not Found
    UNC paths don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a symlink:
    mklink /d test_dirunc \\windows2008server\share
    dir .\test_dirunc
    #Directory of Z:\test_dirunc
    #File Not Found
    I can create a functional `symlinkd` on a local drive to a mapped drive letter or a UNC path.
    Are my assumptions above correct?
    We are in the middle of a migration and have created two symlinkd to UNC paths for shared DLLs, one below c:\windows\system32\ (directing to a share containing 64-bit DLLs) and one below c:\windows\syswow64 (directing to a share containing 32-bit DLLs).
    On the file server, we have had a path to 32-bit DLLs (from Windows 7 clients: s:\dll\).  I am attempting to rename this directory so that it is accessible via "s:\dll32\" and would like to create a symlinkd that links "s:\dll" to
    "s:\dll32" [again where S: is a mapped drive on a Windows 2008 server].  How do I do this?
    Thanks,
    Matt

    Hello Mandy,
    The link you sent me is for Netapp CIFS server daemon contained within DataOnTap (the Netapp OS) to follow symlinks.  I am inquiring about the Microsoft products Windows Server and Windows 7.
    To gain a better understanding of the Microsoft Windows Server and client (Windows) CIFS stacks and interaction of the stacks, I have referred to Figure 6 "Server Message Block Server Model" within the following (albeit older) document: http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
    You will see the following:
    I assume that the Windows Server CIFS server service must be "smart enough" to determine that a CIFS client is attempting access to a SYMLINKD and actually fill the request by following the SYMLINKD.  The CIFS server service does not appear
    to operate like this.
    1) Am I correct in my assumption that the CIFS client (redirector) and the CIFS server (server) do not following symbolic links (whether they be file or directory)?
    2) If not, how do I submit a feature request for this so that it can be reviewed and approved or not approved for inclusion/hotfix release?
    Thanks for your time,
    Matt Brown
    [UPDATE]
    Note that you can use a `directory junction` instead of using a SYMLINKD, to link to LOCAL resources (source). However, `directory junctions` do not allow access to resources over UNC.

  • Word 2013 shows full UNC path instead of local "Documents" folder on file Open and Save

    Normally Word (and Excel) by default will show the user's local "Documents" folder when opening or saving a file. That is what we want. However, after using Windows Server Folder Redirection to redirect the Documents folder to the network (Windows
    Server 2012R2), Word now shows the full UNC path to the network share.
    Instead of seeing:
    "MyPC  Documents"
    users see
    \\sever1\redirect$\username\documents
    Folder redirection is supposed to be transparent to the user. Virtually all our other applications, including Office 2003, respect this convention and continue to show "Documents". As you can see, Word even exposes a hidden share.
    Even if we go to File / Options / Save and browse to the local Documents folder as the place Word should open and save files from, Word immediately removes the path you have browsed to, and replaces it with the UNC path.
    Is there a way to suppress this behavior? Thanx!
    Dana

    Hi,
    Based on my understanding, you only want others to see some part of path name, rather than full UNC path name. It is right?
    It seems that we can’t implement your requirement. When we open a file from “My Pictures”, it shows “My picture” instead of showing the full path “C:\Users\User\Pictures”. “My Picture” is set as a library in Windows, so it hides
    full path by design. We can't set \\sever1\redirect$\username\documents as a library.
    As a workaround, you can upload these files to OneDrive and share link to others.
    If I have anything misunderstood, don't hesitate to tell me.
    Regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • IE10 on Windows 7: Spellcheck is broken if AppData is redirected to a UNC path

    After installing the RTM version of IE10 for Windows 7 (10.0.9200.15521) on a couple of workstations here, I noticed during testing on the
    IE testdrive site that the new spellcheck feature didn't work for any domain user, but worked fine for local users. I have narrowed down the cause to our use of Folder Redirection
    for the AppData directory.
    Another symptom is that when I go to Manage Add-Ons >
    Spelling Correction, the Enable spelling correction box initially shows as ticked. However, when I click on any individual language, this is what greets me:
    For unaffected users, the box is ticked for every language, and the blank button on the right reads 'Set as default'. For affected users, the button is not only unlabelled as shown, but seems to have no functional effect. If I tick the box and click
    Close, then go back in, it shows as unticked again.
    The actual location that AppData is redirected to appears to have no effect on the problem, only that it is a UNC path. I've tried giving the user Full Control (and even exclusive permissions) to the folder with no effect, and it doesn't matter if the path
    is a DFS path or not. I have also established that redirecting to local path on the workstation (e.g.
    C:\TestAppData) does not cause the spellcheck to break, but redirecting to the
    same location when referred to as a UNC path (e.g. \\localhost\c$\TestAppData)
    does cause the problem.
    Folder Redirection is quite common in UK educational institutions as one method of keeping down the size of roaming profiles, but so far I've only been able to contact 1 other institution that is testing IE10 on Windows 7, probably due to it only recently
    being released, and not yet being available on WSUS. However, they have reproduced the problem, reducing the likelihood that it's something specific to our setup. I'd be interested to hear reports from anyone who can (or cannot) reproduce this.
    Who should I be contacting about this? We have Software Assurance as a last resort, but I'm loathe to use up one of our PSS entitlements for what seems like a straightforward, reproducible bug.

    After further testing, I think I've narrowed down the problem to incorrect UNC path parsing by the MsSpellCheckingFacility.exe component. Full details are on the
    Connect site.
    I have also found a workaround, which is to simply create an otherwise missing folder in the user's AppData, corresponding to the required dictionary language. Example: for a user language on en-US, create the folder
    %AppData%\Microsoft\Spelling\en-US
    Once the folder for the appropriate language exists, IE10 will correctly populate it with the required spelling dictionary files, and spellchecking appears to work normally.
    In a domain environment, this folder can be created quite easily via script or Group Policy Preferences.

  • Excel Formulas in SSRS 2008

    Hello,
    I need to have a report that will have formulas in excel. I understand that the limited support for exporting excel formulas has been dropped in SSRS 2008. Is there any way to work around this and still output formulas?
    obvioulsy the way to do it in previous versions of SSRS are not working (using report items). I tried to add my formulas in my dataset (I can know which excel cells I need in the formulas) but they end up being displayed as text. I then have to get in the
    excel file and enter and exit each cell so that it "becomes" a formula.
    thanks a lot!
    Simon

    Column1                          Column2                     
    Column 3
    5                                         10                         
    =5+10
    Here text box 1 .value = 5
    textbox2.value = 10
    textbox3.value = text box1 .value + textbox2.value
    Instead of referring Fields in Formula, Use Text box values...
    =ReportItems!Textbox1.value + ReportItems!Textbox2.value
    HI Gayathri ,
    How about this one
    col1  co12       col1+col2
    1     2              3
    4     5               9
    2      2             4
    Assuming the col1+col2 columns cell expression to be Reportitems!<col1-cells textbox-Name>.Value +ReportItems!<col2-cells textbox-Name>
    Now my page header textbox consisting an expression as =sum(ReportItems!<(col1+col2)-cells textbox-Name>.Value
    Now do you think changing col1 value reflects both col1+col2 value and Header value ?
    I think it might reflect col1+col2 column value but not inturn reflects the headervalue .
    Thanks .
    Rajkumar Yelugu

Maybe you are looking for