Keep on "destroying"
Bart Pietercil
bart.pietercil at gmail.com
Wed May 9 16:15:21 CDT 2007
This is the narrowed project
1 window 1 method in the window DeployCCS
generate the file --> load in Server (manually)--> Works
if it works what platform are you on ?
Big thanks for helping me out here
Bart
On 9-mei-07, at 23:08, Thorsten Hohage wrote:
> Hi Bart,
>
> I must admit, I never has done this in one of my commercial apps,
> but I try to help, as much as I can
>
> On 2007-05-09, at 22:46, Bart Pietercil wrote:
>
>> I started from the other side (V4RB)
>>
>> Can you see what is wrong with this code
>>
>> Function DeployCCS() As Boolean
>
>
>> Try
>>
>>
>> Valentina.Init("")---> edited for mail
>> f = GetSaveFolderItem("","CSB.vdb")
>
> is this a typo in the sample, or do you use another name here?
>
> Second in your other mail you mixed CSS and css for the database,
> it might be an issue to mix upper and lower case?!?!
>
>
>> aTable = myDB.CreateTable
>> ("custom_lists",EVTableKind.kTblPermanent)
>> VarCharField = aTable.CreateVarCharField("internal_name",
>> 100,EVFlag.fUnique)
>> VarCharField = aTable.CreateVarCharField("displayname",
>> 100,EVFlag.fNullable)
>> myDB.Flush
>> myDB.Close
>
> looks reasonable
>
>> //here a bunch of table defs has been cut, still the same problem
>
> but you close the db before adding other tables?
>
>
>> I narrowed the problem down to this code.
> I think it must really NOT be related to the generation code, if
> you're able to load the file locally
>
>
>> The 4 files are generated, I can load them in the server ( the
>> name does not show in the schema) I restart the server and the db
>> is NOT loaded
>
> Do you use VStudio to do the taks? Then you don't need to restart
> the server, you only need to re-open VStudio
>
>
>> Do you see anything wrong in my code ?
>
> No, but if you want, send me your project I'll check it here,
> perhaps something other went wrong
>
>
>
>
> regards
>
> Thorsten Hohage
> --
> objectmanufactur.com - Hamburg,Germany
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list