Yes i think it would help !!! I found this article yesterday ... thank you !!! cr97
cr97
Posts
-
DAO Access and system.mdw -
DAO Access and system.mdwthanx ... But how can i do that in C++ ??? i found this ...
void CDaoWorkspace::Create(LPCTSTR lpszName, LPCTSTR lpszUserName, LPCTSTR lpszPassword)
{
...// Get the DAODBEngine interface and initialize if necessary \_AFX\_DAO\_STATE\* pDaoState = AfxGetDaoState(); if (pDaoState->m\_pDAODBEngine == NULL) InitializeEngine();
...
}and i know that DAODBEngine has the method ...
pDaoState->m_pDAODBEngine->put_SystemDB(THIS_BSTR SystemDBPath);
Can i call this like it is to change the SystemDB ??? And i can't use this AfxGetDaoState() ... it's unknown ... mhg cr97
-
DAO Access and system.mdwHow can i open an access-file (database.mdb) with DAO using a special systemdb/workgroupfile (database_sys.mdw) ??? if i use ODBC i can defien a systemdb in de ODBC-connect-string ... but it doesn't work with DAO !!! thx a lot cr97
-
Open access-file without installhello ... I have a big problem with an application. with this application i have to open an access file on a server somewhere in the net. the clients use my app to open this access-file. i used ODBC, i use DAO ... but always there must be something installed on the clients that i can open the access-file (mdac, jet,...) but i need a solution where i can start the app-exe on a naked client (no installation of jet before). it is ok, if dll's are in the app-directory ... how can i do this ?????????????????????????????????? P.S. the database must be a file ... no server ...
-
How to make a multiline cell in MFCGridctrlOk ... i'm glad that i could help you ... But i'm not chris ... cr doesn't mean chris :o) Doesn't matter ... cr97
-
Sending text as popup messageGood question ... ähm ... next one ... Therefore at the moment i don't know a solution ... maybe you find something in the "google groups" ??? cr97
-
Sending text as popup messageYou can try to send the message to the user ...
NET SEND bob "Hi ... are you online ?"
This sends the message not to a machine but to a user in the network ! In this case it doesn't matter on which machine "bob" is logged in. Try it at the DOS-Prompt ... cr97 -
Sending text as popup messageAt moment i don't know if this s possible but i think so ... why do you wanna know who is logged in at a special machine ??? cr97
-
Sending text as popup messageIMHO if you have the user name it is not necessary to know the machine name ... cr97
-
Sending text as popup messageAnd why don't you make a dialog, where the you can select the text and the user ??? And after pressing "SEND" you concatenate all the strings like
strCall = "NET SEND "+strUserName+" \""+strMessage+"\"";
then you can execute "strCall" ... is it a solution for you ? cr97 P.S. Sprichst du deutsch ? -
How to make a multiline cell in MFCGridctrloh sorry ... i mean the message board there ... try this ...
-
Sending text as popup messageI don't know special api-calls for this ... but maybe you can use the Windows command "net send" ??? (translated from a german windows ...)
NET SEND {Name|*|/DOMAIN[:Name]|/USERS} Message
Example:NET SEND ThomasBoseKenn "Do you need further help ?"
cr97 -
How to make a multiline cell in MFCGridctrlIt works ... but you have to change the autosize-function ... the actual autosize calculates a height for only one line of text !!! Look at http://www.codeproject.com/miscctrl/gridctrl.asp ... Search for multi-line, word-wrap etc. cr97