Double Hyperlink
Posted by anirudhsaraf on February 3, 2008
I know I have been sporadic with my posts, but its just that I have been keeping super busy, with little or no free time. However, to make up for it I am finally releasing Double Hyperlink with Inking Support
.
Double Hyperlink – What is it? It creates a new page, with the user specified title, pastes a hyperlink to the new page in the current page, and navigates to the new page where it puts the hyperlink from the current page.
he default values i.e if you just click OK are
New Page Title = Blank
Hyperlink Text(new page) = Title of Current Page
Hyperlink Text(current page) = Extra Info
The installer creates a separate windows application. Since a lot of people have issues installing/uninstalling a plugin for OneNote I have not integrated this into OneNote but let it be a separate windows application. If enough people think that they want it integrated inside OneNote, leave a comment and I’ll release a separate installer. Also I have tested this only on my machine running Windows XP tablet version, so install at your own risk. I would appreciate feedback, comments and criticism.
Ani

Amit Limbu said
great job done!
Hey, this is before i’ve tested only.
I will post later after trying out.
Once again, great job done!
Jason said
Thank you! Works great. Really useful for medical school lecture notes! I would like integration in ON. Great Work.
anirudhsaraf said
thanks… i might get around to do oneNote integration, but a lot of people seem to have trouble installing/uninstalling them
Steve said
Is this download link still active? I am getting a ‘Can’t find file’ message from the Colgate link.
Thanks! Can’t wait to try it out.
Steve
anirudhsaraf said
Should be active. Let me know if you still have problems getting to it.
Ton said
Hi, nice stuff!
Here’s an idea for a powertoy:
I’d like to be able to collaps all the subpages, so i only see the page level. Real estate is a problem…Would you have any ideas?
Any ideas?
Thanks,
Ton
anirudhsaraf said
that would be a nice addition. I could probably add that to the TreeView Powertoy when I get around to updating it, but I don’t think it’s possible to do that to the navigation structure that comes with OneNote. The OneNote API doesn’t expose anything to change the UI of Onenote itself.
Ani
daniel said
Good job. I hope this will get into the next version of OneNote.
I would like it into OneNote.
As someone else said, collapsing pages is also a future must… we have so much information…
planetthoughtful said
Love the idea of this utility!
However, just to let you know that when I execute the utility after installing I get the following unhandled exception. It still appears to behave if I click on Continue (ie it will insert the page and the two links), so this error doesn’t appear to be a dealbreaker. Would love to know how to make it go away, though!
Keep up the great work, pt.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0×80040235): Creating an instance of the COM component with CLSID {AAC46A37-9229-4FC0-8CCE-4497569BF4D1} from the IClassFactory failed due to the following error: 80040235.
at Microsoft.Ink.RecognizerContext..ctor()
at DoubleHyperlinkON.frmDH.frmDH_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
—————————————-
DoubleHyperlinkWin
Assembly Version: 2.1.1.1
Win32 Version: 2.1.1.1
CodeBase: file:///C:/Program%20Files/tabletPCStudent/DoubleHyperlink/DoubleHyperlinkWin.exe
—————————————-
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
Microsoft.Ink
Assembly Version: 1.7.2600.2180
Win32 Version: 1.7.2600.2181
CodeBase: file:///C:/Program%20Files/tabletPCStudent/DoubleHyperlink/Microsoft.Ink.DLL
—————————————-
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Chris said
Excellent…I’ve always wanted to have a bi-directional hyperlink. It works fine on my Vista Lenovo X61. My Onenote got so much better because of this. I would also like to see this add-on integrated.
Thanks!
olemann said
nice utility. However, receive the same message as Planetthoughtful.
Lenovo X61, XP
alocurto said
This may help:
alocurto said
Whoops, sorry about that:
http://www.coffeeandcoding.com/blog4.php/CSharp/microsoft-ink-com-error
anirudhsaraf said
Thanks for the link!
Ani
Mat said
Good idea. I tried to install under Windows 7 x64 Business.
Hope this will help to fix the problem.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0×80040235): Exception from HRESULT: 0×80040235
at Microsoft.Ink.InkRecognizerContextClass.set_Strokes(InkStrokes Strokes)
at Microsoft.Ink.RecognizerContext.set_Strokes(Strokes value)
at DoubleHyperlinkON.frmDH.frmDH_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
—————————————-
DoubleHyperlinkWin
Assembly Version: 2.1.1.1
Win32 Version: 2.1.1.1
CodeBase: file:///C:/Program%20Files%20(x86)/tabletPCStudent/DoubleHyperlink/DoubleHyperlinkWin.exe
—————————————-
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
Microsoft.Ink
Assembly Version: 1.7.2600.2180
Win32 Version: 1.7.2600.2181
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.Ink/1.7.2600.2180__31bf3856ad364e35/Microsoft.Ink.dll
—————————————-
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
—————————————-
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.