Questions about integrating Mathematica and .Net using the .NET/Link functionality provided with Mathematica.

learn more… | top users | synonyms (1)

17
votes
2answers
2k views

Open Excel file with Mathematica

I would like to open an Excel file and manipulate it as a COM object. While I'm able to open an instance of excel with ...
17
votes
2answers
383 views

MathKernel doesn't return all Messages

In Mathematica I run this command: Plot[Sin[x], {x, 1, 15}, GridLines -> error] It generates a Plot with this error message: A GridLines specification ...
25
votes
3answers
1k views

Calling IronPython code from Mathematica

I'd like to call some IronPython code from Mathematica using .NET/Link. The problem is that the code lives in .py files, yet from Mathematica I can only load .NET assemblies which are DLLs. So it ...
15
votes
1answer
2k views

How can I deploy DLL files created by a Fortran function and call them from Mathematica

This is my Fortran function, established by Intel visual Fortran 11.1 ...
12
votes
2answers
805 views

Does Mathematica have a “MATLAB Builder” equivalent?

I was wondering if Mathematica has an equivalent of MATLAB's "MATLAB Builder" as seen here? I found this but it reads as if all programs using .NET/Link must have Mathematica installed on them as ...
15
votes
2answers
745 views

Is it possible to embed the Mathematica editor?

Is it possible to embed a Mathematica window into a .NET application? I mean not just the interop, but actually making the notebook editor window part of a .NET form. Is this possible?
1
vote
1answer
454 views

Converting Excel serial dates with NETLink

Excel serial dates are not straightforward to convert since they include non-existent dates, e.g. {DatePlus[{1990, 1, 0}, 59], DatePlus[{1990, 1, 0}, 60]} ...
22
votes
1answer
1k views

Using .NET 4.0 from NETLink

Using Mathematica 8, I can check the version of the .NET framework used by NETLink as follows: ...
11
votes
1answer
729 views

Mathematica Functions from VBA

I'm trying to call Mathematica functions from VBA (Excel) using .NETLink without success. (Yes, I know Mathematica Link for Excel exists. And yes, I know the proper thing to do is buy it. However, ...
5
votes
1answer
165 views

Prevent package from being opened in a notebook interface

I have a package which I need to deploy in a client's environment. It has proprietary code and solutions that I need to protect from prying eyes and inquisitive minds. The forum has discussed much ...
5
votes
1answer
121 views

Run encoded package code through .NET/Link?

An earlier question of mine, Prevent package from being opened in a notebook interface, never received an answer, but Albert Retey's comments did lead me to an entirely different solution. To secure ...
9
votes
1answer
297 views

Suppress Mathematica Kernel taskbar tab when using .NETLink

Is there a possibility to suppress the Mathematica Kernel taskbar tab when accessing it through .NETLink on Windows?
4
votes
1answer
331 views

How to output from a .NET console app to an existing Notebook in Mathematica?

I'm wondering if its possible push output from a .NET console application to an existing Notebook that is open in Mathematica. The reason I'd like this is that I want to use Mathematica as a ...
2
votes
1answer
432 views

Evaluate Notebook from .Net

How is it possible to send the whole content of an existing notebook to Mathematica for evaluation by using NetLink/C#?
6
votes
1answer
206 views

How can multiple null terminated strings be handled in a DLL-function result?

I am trying to connect a classic System Dynamics tool (Vensim DSS) with Mathematica using a DLL that is included in Vensim DSS. Reading though the instructions on how to define DLL functions on how to ...
9
votes
1answer
440 views

Running .NET/Link on Mono (On MacOS or any UNIX or Linux Distro)

Has anyone have any luck running .NET/Link on Mono? When I run .NET/Link to call Mathematica from within a Mono program, this is the error message I receive. ...
11
votes
1answer
1k views

Load a Mathematica Package via .Net code

I'm using C# to pass data to Mathematica and return graphs: ...
7
votes
1answer
679 views

Efficiently deleting rows in many large text files

I have 500 text files each of about 200000 rows. I need to delete one row in each of them as fast as possible (later such operations will repeat). What is the best way to do this with Mathematica? ...
7
votes
0answers
202 views

MathLink error while calling a custom Mathematica function - MLGet out of sequence

I am trying to call Mathematica 10 from F#. Following the C# sample code found in the Mathematica directory, I have written the following F# code: ...