I'm not sure about Access but isn't this accomplished using something like: GRANT CONNECT TO FRED IDENTIFIED BY SESAME BTW, why don't you just: e->ReportError(); instead of e->GetErrorMessage(sError,100); AfxMessageBox(sError); Rgds, S. Bro
sorenb
Posts
-
how to create a user name and password for a database ? -
Friday at work.Damn! Hadn't thought of that one :-)
-
Friday at work.Maybe where you're at. *I'd* rather be outside and play. Rain or no rain. But it's encouraging that I'm ahead of you :-)
-
Friday at work.Halfway through the day. It raining. Taking care of daily support of a program for printing dunning letters and demurrage invoices. Do you think I'm having fun? -sbt
-
App...An arguable point, I'll grant you that. That is: if you only do this kind of thing once a month. :-)
-
App...Using an "application" to do find and replace on multiple files sound like overkill to me. Lets say you're running Windows... 1.) Create a batch file along the lines of: [foreach.bat] @echo off for %%v in (%1) do %2 %%v [/foreach.bat] 2.) Install PERL. Create another batch file along the lines of: [replace.bat] perl -i.bk -pe"s/I want to replace this/with this/" %1 [/replace.bat] Assuming above files are in your PATH you can just do: C:\>foreach *.jsp replace.bat from anywhere. You can always just edit "replace.bat" to suit your needs at any particular point in time and you have access to PERL powerful regex-functionality. Rgds, Soren