CSV-Viewer (table form layout) (32-bit only)

Schnikes...

...BACK IN MY FACE - :laughing:

Hi Dinkelhopper

Thanks for the update, it works! :slight_smile:

Cheers
Roger

Just wanted to add a thanks :wink:

Great Idea and a great Plugin.

Best Regards

Kornelis

Bugfixrelease (Post #1)

New Release post #1
(Bugfix)

Update: A workaround for this problem is included in Directory Opus 9.1.1.8 which just came out.

Please see Heads-up: dopus_fileinfo crashes and solution if you're using this plugin and have found Opus crashes sometimes.

Hopefully it'll be easy to fix but I figure the mysterious crash may be causing problems for some people so it's worth giving everyone a heads-up on how to avoid it for now.

A workaround for the dopus_fileinfo crashes has been included in Opus 9.1.1.8. If you use this plugin then you should update Opus to avoid the crashes.

This is a very useful plugin for viewing files with comma-separated values. Is it possible to configure the plugin to use a comma rather than a semicolon as the default separator?

Yes: Edit CSVViewer.ini in the same directory as the plugin DLL and change the separator line:

[config]
separator=;
quote="
autosize=1
noheaderrow=0
fieldmaxsize=100
colsize=100

I feel very dim. CSVViewer is the first "forum" plugin I've tried to install (apart from Delphi Preview which "just worked" from its own installer).

I copied the dll and ini to the Viewers subfolder as directed in readme.txt, but I don't get nice preview in the Preview window if I click on a csv file.

I tried closing all DOpus windows and reopening, or even ending all Dopus tassks in task manager, then restarting. But nothing gets the proper preview working.

What have I missed? Or is it perhaps because it won't run in the x64 version of DOpus??

Dopus 10.0.2.3.4367.x64

Thanks!

The plugin linked in the original post is 32-bit only unfortunately.

Right. It looks like it might be compiled in Delphi. If anyone has a way to put Dinkelhopper in touch with me (I can't find a contact means for him), I am happy to try compiling a 64 bit version in XE2. Find me under the People link at webcentre.co.nz.

Try the PM or Email links on the right of his posts, if you haven't already.

Thanks for pointing that out - I kept looking for a URL over his handle at left or right, but missed the PM button at right completely. Have used it.

Any news on contacting the author / an x64 version !?.. o)

Had to deal with massive csv-data these days and could not get the plugin to run, i found these last posts, now i know why.. o)

Rob.

12 years have past since the last post, so I guess there's no chance for x64bit version.
Now days with the availability of AI would it be possible to comeup with a plugin or script to preview CSV files ?

I guess it should be easy to recompile it for x64 if we had the source code.
Unfortunately, the author didn't share the source code.

By the way, is it possible to write a viewer plugin in JScript? It is certainly possible to create a separate dialog in JScript that displays CSV data as a table.

Also, does anyone have a screenshot of how this plugin displays a CSV file?

If I remember correctly, this plugin was written in Delphi, which did not have the ability to target 64-bit at the time. I think it does now, but have never used the language or tools for it myself. Don't know if it would be easy to convert or not.

It looked similar to a simple Excel-style grid.

Using JScript to write viewer plugins isn't possible, since they need to be DLLs, unless there's something out there that lets you write DLLs in JScript that can create Win32 HWNDs and so on. You could have a DLL which hosts the Edge browser control and runs custom JS inside that, however. (Similar to how the MetaPlugin can already use Edge to display HTML, SVG etc. files in the viewer pane, but with some kind of JS wrapper/viewer between Edge and the file being displayed.)

Hi all. I can provide the source code if sb is really interested and can port it to a 64-bit architecture. As Leo correctly mentioned it is written in Delphi. Send me a PM....

I don't currently know which third-party libraries I used, but I think that was the problem for a 64-bit update back then...

1 Like

I was able (thanks to Copilot) to port it to 64-bit using standard components.
The project is linkable and I received a DLL which I placed in the DOpus Viewer-Directory.
But unfortunately the Viewer does not appear in the list - don't know why.
I am afraid there are some fundamental things in the DOpus plugin architecture that have changed in the last 16 years :sweat_smile:

And I don't know whether the Viewer will work as expected or not

1 Like