From: Paul D B on
Alessandro Antonangeli wrote:
> Il Mon, 25 Jan 2010 00:21:19 -0800, Mathias ha scritto:
>
>> Hi Alessandro,
>>
>> I do a get the Workdir() path first thing in the start method and
>> store it in a global variable. After each use of OpenDialog I set
>> the Path back to the original workdir path.
>
> There is no OpenDialog involved when double click. And when I use it,
> it gives no problem with CATO*
>
>> The dlls used for the data browser are not loaded with the exe. They
>> are loaded dynamically when needed. The same goes for the
>> splitwindow dlls.
>>
> Yes, but the problem is that the exe should know that the CATO* dll
> are in the exe dir and not in the current dir (as for the others
> dll): this is IMHO the BUG


Just checked this because i was also curious (especially about the use of
the CATO.dll's .
Made a new VO standard MDI application and threw the CATO dll's out.
Alessandro is right: when you open a VO -application and the CATO dll's are
not there, you do not get an error. But the standard databrowser will be
read-only mode. Strange effect...

Alessandro why don't you ask Robert VDH?

--
Paul


From: Massimo Bighelli on



> not there, you do not get an error. But the standard databrowser will be
> read-only mode. Strange effect...
>

Confirmed.
I have had the same behaviour when working on my very personal DBU...
doubleclick on DBF, dragin a DBF, and so on.
Databrowser in readonly mode.
I don't remember the solution... some years ago... maybe adopted bBrowser at
that time!

Massimo Bighelli
ARCA Sistemi S.r.l.
www.arcasistemi.it
www.arcasistemi.eu

From: Alessandro Antonangeli on
> Just checked this because i was also curious (especially about the use
> of the CATO.dll's .
> Made a new VO standard MDI application and threw the CATO dll's out.
> Alessandro is right: when you open a VO -application and the CATO dll's
> are not there, you do not get an error. But the standard databrowser
> will be read-only mode. Strange effect...

I was just to post something to let you see:
Make a new MDI
Replace the Start with this, so it can accept file as parameters or you
can use with DBF association
Make the exe and try.
****CODE****
METHOD Start() CLASS App
LOCAL oMainWindow AS StandardShellWindow
LOCAL DBF AS STRING
DBF:=AsString(GetCommandLine())
DBF:=SubStr(DBF,At(" ",DBF)+1)

SELF:Initialize()
SetExclusive( FALSE )
SetAnsi(TRUE)
SetDeleted( TRUE )
SetDateCountry(ITALIAN)
SetCentury(TRUE)
SetEpoch(1990)
RddSetDefault("DBFCDX")

oMainWindow := StandardShellWindow{SELF}
oMainWindow:Show(SHOWCENTERED)
IF !Empty(DBF)
//Clean the name
DO WHILE Left(DBF,1)=" "
DBF:=SubStr(DBF,2)
ENDDO
IF Left(DBF,1)='"'
DBF:=SubStr(DBF,2,SLen(DBF)-2)
ENDIF
IF !Upper(Right(DBF, 4)) == ".DBF"
DBF+=".DBF"
ENDIF

oMainWindow:DoOpenFile(DBF,FALSE)
ENDIF
SELF:Exec()
RETURN NIL
****END CODE****

> Alessandro why don't you ask Robert VDH?
I'm just telling all of you, hoping it is just an error of mine

If Robert is reading (as I hope), he will see and fix it

Anyway, why should I report for a bug (loosing my time) and pay for it to
be solved? Or they made bug fix free or they should pay bug hunters :-P

Still on SP2.

--
Ciao, Alessandro
From: Robert van der Hulst on
Hi Alessandro,
On Mon, 25 Jan 2010, at 16:47:27 [GMT +0000 (UTC)] (which was 17:47 where I live)
you wrote about: 'CATO*.DLL problem'

> I'm just telling all of you, hoping it is just an error of mine

> If Robert is reading (as I hope), he will see and fix it

> Anyway, why should I report for a bug (loosing my time) and pay for it to
> be solved? Or they made bug fix free or they should pay bug hunters :-P

> Still on SP2.

This has nothing to do with SP3. When the CATO DLLs are not available
then VO uses a DataListView in stead of a DataBrowser when in Browse
mode. I think this was already so in VO 2.0.


--
Robert van der Hulst
AKA Mr. Data
Vo2Jet & Vo2Ado Support
VO & Vulcan.NET Development Team
www.heliks.nl

From: Alessandro Antonangeli on
Hi Robert

> This has nothing to do with SP3. When the CATO DLLs are not available
> then VO uses a DataListView in stead of a DataBrowser when in Browse
> mode. I think this was already so in VO 2.0.

Yes, but this is the minor problem: tha main is that even if CATO* dll
are in the exe dir they are not used when the exe is called by an
associated file


--
Ciao, Alessandro
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9
Prev: CDX numeric Seek (old problem?)
Next: CATO*.DLL BUG