This should get you most of the way there (from memory, so no promises it will compile!)
Dim dbQuery As New PDDatabaseQuery Dim dbInfo As PDDatabaseInfo Set dbInfo = dbQuery.ReadDbInfoByCreatorType(dbCreator, dbType, true) dbQuery.RemoveDatabase( dbInfo.DBName ) So you pass your creator id and type to ReadDbInfoByCreatorType, which retrieves the db name, which you then pass to RemoveDatabase. Remember though - you may get multiple db's with the same type and creator - so you need to use this with care... Cheers, Gavin. M. Paramasivan <[EMAIL PROTECTED]> wrote in message news:108299@palm-dev-forum... > > Hi all, > > I am developing a conduit using VB and CDK 403. > > Can any one of help me in how to remove a PDB file from the > palmtop > using the creator id. > > Regards, > M.Paramasivan > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
