VServer list of Databases

Damon Pillinger daisychain at iinet.net.au
Wed Feb 22 10:29:37 CST 2006


Hi Ruslan,

VStudio crashed, don't know why, but the example did do it.

I have found this

Dim ret as Boolean
Ret = vs.UnregisterDatabase("test87") 

This will always return false even if it is successful.

Thanks, moving on....

Best regards

Damon L. Pillinger
Director Daisychain EDi
Suite 3
4 Winston Court
Moorabbin 3189
Phone : +61 3 9532 1220
Fax : +61 3 9532 1280


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan
Zasukhin
Sent: Wednesday, 22 February 2006 10:10 AM
To: valentina at lists.macserve.net
Subject: Re: VServer list of Databases

On 2/22/06 12:58 AM, "Damon Pillinger" <daisychain at iinet.net.au> wrote:

> Great thanks now have a list of every database I ever made so am using
> 
>     if vs.UnregisterDatabase("test87") then
>       
>       ListBox1.DeleteAllRows
>       for i = 1 to vs.DatabaseCount
>         dbi = vs.DatabaseInfo( i )
>         ListBox1.AddRow dbi.Name
>       next
>     else
>       msgbox "Cannot unregister "+ListBox1.list(i)
>     end if
> 
> to hopefully just leave the ones in the databases folder (my current
> databases)
> 
> But it wont UN register, any ideas?

A) in V4RB/Examples/Advanced you can find old test project of one
developer.
    I am not sure if it still work, but you cn try it to run

B) try connect to vserver using Vstudio and unregister that db.
    does it work from Vstudio ?

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina


More information about the Valentina mailing list