Обсуждение: PgAdmin exporter DLL's

Поиск
Список
Период
Сортировка

PgAdmin exporter DLL's

От
"Tim Kane"
Дата:
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



RE: PgAdmin exporter DLL's

От
Dave Page
Дата:

> -----Original Message-----
> From: Tim Kane [mailto:timk@blazelimited.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.