You must call this member function to initialize a newly constructed CDaoDatabase object that represents an existing database. Open associates the database with the underlying DAO object. You cannot use the database object to construct recordset, tabledef, or querydef objects until it is initialized. Open appends the database object to the associated workspace's Databases collection.
Use the parameters as follows:
* If you are opening a Microsoft Jet (.MDB) database, use the lpszName parameter and pass an empty string for the lpszConnect parameter or pass a password string of the form ";PWD=password" if the database is password-protected (.MDB databases only).
* If you are opening an ODBC data source, pass a valid ODBC connect string in lpszConnect and an empty string in lpszName.
For related information, see the topic "OpenDatabase Method" in DAO Help.
I dont think you can get some handlers for toolbar doubleclick,but i got an idea:-
1) Map the WM_COMMAND
2) put a static boolean variable inside it at the first click make it true and set a timer .
3) The timer will be to trigger at a fixed time(the time for the second click) nothing hapens in that time set the static variable back to false .
4) kill the timer .
I'm looking to create some sort of database. I need to store details for students and divide them acording to year and class. Having never dealt with any for of database before I'm not really sure how to proceed. My project currently has Excel functions built in, but I'm not sure if storing something like this would be efficient enough using Excel.
Any ideas or suggestions? What databases are easy and fast to learn?
actually, i wanted to send multibytes to the machine, like 02 00 02 00 20 42 51 08 to a function through which we could send this data to a machine, but i am able to send one byte at a time, how is it possible to send all the bytes at a time to a function?