Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework
Microsoft.Office.Interop.Access
Evan Camilleri
8/1/2008 8:18:00 PM
i opened a form using DoCmd, then I used
Microsoft.Office.Interop.Access.Application MSAccess = new
Microsoft.Office.Interop.Access.Application();
MSAccess.OpenCurrentDatabase(....);
MSAccess.DoCmd.OpenForm("formname",...);
Microsoft.Office.Interop.Access.Form f = MSAccess.Forms["formname"];
..........and I get some COM error!!!
"Unable to cast COM object of System.__ComObject to interface type
'Microsoft.Office.Interop.Access.Form'. The operation failed because the
QueryInterface call on the COM components for the ...."
Evan Camilleri
http://www.holi...
http://www/dotnetmushroom.com
http://www.mobilesa...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Microsoft.Office.Interop.Access
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password