We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hyperlink - File - Relative Path

Thread ID:

Created:

Updated:

Platform:

Replies:

61282 May 23,2007 12:34 AM UTC May 24,2007 01:05 PM UTC Windows Forms 3
loading
Tags: XlsIO
David Conorozzo
Asked On May 23, 2007 12:34 AM UTC

In Excel I can create a Hyperlink using a relative path. When I try to specify a relative path for the Address in a Syncfusion.XlsIO.IHyperLink, it automatically prepends the current path. Can I get it to stop that? I have tried many things and can't get rid of it.

Melba Winshia [Syncfusion]
Replied On May 23, 2007 11:53 AM UTC

Hi David,

I was not able to reproduce the issue. I created a sample to specify a relative path for the Address in a Syncfusion.XlsIO.IHyperLink and it works fine for me. Here is the sample that I used to test this issue:

http://websamples.syncfusion.com/samples/XlsIO.Windows/61292/main.htm

Could you please take a look at the sample above and kindly let me know if you still find any problem, if not could you please modify this sample so that I can reproduce the issue? This would help me in investigating this issue further.

Thanks,
Melba

David Conorozzo
Replied On May 23, 2007 09:11 PM UTC

I ran the code and got the same results. The link is not relative. If you open the file in Excel and right-click on that cell and pick edit, you will see that the path is a full path. I was not saying that I can't supply a relative path for the Address property of the Hyperlink, what I was saying was that your class code changes it to a non-relative path.

If you create a Hyperlink through Excel itself, I can specify a relative path. Attached is an example showing what I get with your code (cell B2), and you will see that in cell A1 I have created a truly relative hyperlink.

after.zip

Melba Winshia [Syncfusion]
Replied On May 24, 2007 01:05 PM UTC

Hi David,

We have created a Direct-Trac incident with the ID #34325 in this regard. Could you please follow up this incident to get details regarding this?

Thanks,
Melba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;