RE: PgAdmin exporter DLL's

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "'Tim Kane'" <timk(at)blazelimited(dot)com>, "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: PgAdmin exporter DLL's
Date: 2000-11-08 08:27:12
Message-ID: 8568FC767B4AD311AC33006097BCD3D61A271C@woody.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

> -----Original Message-----
> From: Tim Kane [mailto:timk(at)blazelimited(dot)com]
> Sent: 07 November 2000 12:37
> To: PSQL Interfaces
> Subject: [INTERFACES] PgAdmin exporter DLL's
>
>
> Just noticed that it's possible to write my own exporters for
> pgAdmin via a
> DLL.
> Any pointers on where I should start with this?
>
> Never written a DLL before but I can't imagine that would be
> a problem, is
> there source available for the existing exporters?
>
> Thanks heaps!
>
> Tim
>

Check out the source code - the code for the HTML exporter is heavily
commented. Please note though, in the next release of pgAdmin which has been
seriously overhauled, there are a couple of changes to the exporters:

1) The interface now expects a variant to be passed to the export function.
This fixes major problems I was having with VB not recognising the recordset
on the interface , as a recordset (if that makes sense!). The declaration
now looks like:

Sub pgExporter_Export(rsData As Variant, Optional szConfig As String)

2) There is a new ASCII text exporter in the new version which replaces the
Export Wizard.

Regards,

Dave.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Anders Bengtsson 2000-11-08 08:55:51 Re: Status of full blob support in JDBC?
Previous Message George P. Esperanza 2000-11-08 02:09:46 Dirty Read