Minggu, 08 Februari 2009

Adding Data
When adding data to a Database we call the data "Records" (please don’t confuse these with the text box txtRECORD or the variable called RECORD, as these are only specific to this project). When you add a Record you increase the record count by one and place the data at the end of the file.
x = Filelen (filetostoredata) / Len (Typename)
‘ The above line retrieves the number of records, normally only used once ‘ at the start of a file



x = x + 1
‘ The above line increases the record count by one, this is normally used ‘when you are about add data to the file.
Put #1, x, Typename
When you add a record the picture above would become one record larger, with three fields in that new record.

source: http://www.vbexplorer.com/VBExplorer/VBExplorer.asp
--------------------------------------------------
Related :
Trik vb.net2008 code
http://basicioexplvb2005.blogspot.com">basic io explorer vb2005http://checkingiffilesexistvb2005.blogspot.com">checking if files exist vb2005http://Connectingpasswordedserverdomain.blogspot.com">Connecting passworded server another domainhttp://ConnectingreadingexcelVBnet.blogspot.com">Connecting reading from excel VBnethttp://copyfilescreatedbetween.blogspot.com">copy files created between datehttp://CopyPicturefromDatabase.blogspot.com">Copy Picture from Databasehttp://listdiskdrivevb2005.blogspot.com">list disk drive vb2005http://listfileinvb2005.blogspot.com">list file in vb2005http://listsubforldervb2005.blogspot.com">list sub forlder vb2005http://Loadexefilerunfrommemory.blogspot.com">Load exe file run from memoryhttp://movediferrentlocationvb2005.blogspot.com">move diferrent location vb2005http://networkconnectionsVisualBasic2005.blogspot.com">network connections VisualBasic2005http://openmultipleimagenoOpenFileDialog.blogspot.com">open multiple image no OpenFileDialoghttp://playaudiofilesVisualBasic2005.blogspot.com">play audio files VisualBasic2005