Dizzi's Support Forum

Advanced Library => Feature Requests => Topic started by: acanthis on December 13, 2005, 07:13:47 AM

Title: Right-Click -> Open With
Post by: acanthis on December 13, 2005, 07:13:47 AM
How hard would it be to add the option "Open With..." to the right click context menu for an item in AL's display?

So, if I have a .cr2 selected, I could do something like Open With -> ZPad. Be nice if you could configure a list of common programs or can you invoke the standard Windows Explorer Open With dialogue in .Net 2.0?

This is sort of related to the support you've been adding for things like Studio and Poser 4 Artist, but adds another layer of flexibility.

EDIT: This is in Library view, not Settings view.  be even nicer if you could have a customisable toolbar of programs; so you select an object in the library view, then click a toolbar button to open the object in the program represented by the button - but that's a lot of work.
Title: Re: Right-Click -> Open With
Post by: Dizzi on December 15, 2005, 10:14:55 PM
Very basic support added to latest beta (http://www.neocron.webspaceforme.net/library/installer/Advanced_Library_1_0_1_10.zip). "More..." will have all programs from Window's Explorer's "Open with..." dialog.
Title: Re: Beta Updates...
Post by: acanthis on December 16, 2005, 02:45:33 PM
Quote from: Dizzi on December 15, 2005, 10:19:29 PM
Beta 1.0.1.10 (http://www.neocron.webspaceforme.net/library/installer/Advanced_Library_1_0_1_10.zip): "More..." lists all programs from Window's Explorer's "Open with..." dialog, so you can now open the files from the Display directly without opening an Explorer window first.

Thanks for adding this, but it always fails for me (on any of the programs listed) with an exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Advanced_Library.Form1.tsmiMoreFiles_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Advanced_Library
    Assembly Version: 1.0.1.10
    Win32 Version: 1.0.1.10
    CodeBase: file:///C:/Documents%20and%20Settings/acanthis/Local%20Settings/Apps/2.0/K7Z40B1Q.HNV/07D30AHZ.R6A/adva..tion_ce6ab65508030bfe_0001.0000_644a32e2427b7f9a/Advanced_Library.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.IWshRuntimeLibrary
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/acanthis/Local%20Settings/Apps/2.0/K7Z40B1Q.HNV/07D30AHZ.R6A/adva..tion_ce6ab65508030bfe_0001.0000_644a32e2427b7f9a/Interop.IWshRuntimeLibrary.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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.