Hyperlink works using Win2K but terminates program when launchedusing XP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ruben

    Hyperlink works using Win2K but terminates program when launchedusing XP

    I created a simple form that includes a hyperlink field which when
    clicked, launches any given pdf file saved in a multi-user network.

    The problem is: It ONLY seems to work well when launched from a
    workstation operating under Win2k. When launched from a workstation
    operating under XP, files open succesfully only once then fail to open
    the next time the database is reopened. The database then simply
    shuts down asking if the error should be reported to Microsoft???

    This database feature appeared to be working okay for a while
    regardless of what operating system was used, but then took this
    unexpected turn. I don't know what could have caused this?
    Compact and Repair has failed to correct the problem. The only piece
    of code running behind this hyperlink field is:

    Private Sub LinkDoc_Click()
    On Error GoTo Err_LinkDoc_Cli ck

    Application.Fol lowHyperlink LinkDoc, , False, True

    Exit_LinkDoc_Cl ick:
    Exit Sub

    Err_LinkDoc_Cli ck:
    'MsgBox Err.DESCRIPTION
    Resume Exit_LinkDoc_Cl ick

    End Sub

    Does anyone have any ideas as to where the problem may lie??

    Thanks for your help!

    Ruben
  • tina

    #2
    Re: Hyperlink works using Win2K but terminates program when launched using XP

    well, this is kind of a WAG, but have you tried changing the New Window
    argument from False to True?

    hth


    "Ruben" <rubenfmunoz@gm ail.comwrote in message
    news:8b129e54-90c1-45cf-871b-6d257959f6b7@t1 g2000pra.google groups.com...
    I created a simple form that includes a hyperlink field which when
    clicked, launches any given pdf file saved in a multi-user network.
    >
    The problem is: It ONLY seems to work well when launched from a
    workstation operating under Win2k. When launched from a workstation
    operating under XP, files open succesfully only once then fail to open
    the next time the database is reopened. The database then simply
    shuts down asking if the error should be reported to Microsoft???
    >
    This database feature appeared to be working okay for a while
    regardless of what operating system was used, but then took this
    unexpected turn. I don't know what could have caused this?
    Compact and Repair has failed to correct the problem. The only piece
    of code running behind this hyperlink field is:
    >
    Private Sub LinkDoc_Click()
    On Error GoTo Err_LinkDoc_Cli ck
    >
    Application.Fol lowHyperlink LinkDoc, , False, True
    >
    Exit_LinkDoc_Cl ick:
    Exit Sub
    >
    Err_LinkDoc_Cli ck:
    'MsgBox Err.DESCRIPTION
    Resume Exit_LinkDoc_Cl ick
    >
    End Sub
    >
    Does anyone have any ideas as to where the problem may lie??
    >
    Thanks for your help!
    >
    Ruben

    Comment

    Working...