Skip to content

Run JChemPaint from .Net how to handover a File? #183

Description

@Christoph1972

Hello,
is there a way to start JChemPaint in a .Net application with handover a mol file?

I tryed this:
string jcpfolder = System.AppDomain.CurrentDomain.BaseDirectory + @"\JChemPaint";
string application = "jchempaint-3.3-1210.jar";
string app = System.IO.Path.Combine(jcpfolder, application);
Process.Start(app, @"c:\Test\Test.mol");

Unfortunatly JChemPaint will not start by handover a parameter. It runs only withaout parameter.

Has anybody an advice to handle this concern?

Kind reguards
Christoph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions