Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Interopoledde > Microsoft.Offic...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 431 of 439
Post > Topic >>

Microsoft.Office.Interop.Access.Form

by "Evan Camilleri" <evan@[EMAIL PROTECTED] > Aug 1, 2008 at 10:06 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.holisticrd.com
http://www/dotnetmushroom.com
http://www.mobilesalesman.com
 




 3 Posts in Topic:
Microsoft.Office.Interop.Access.Form
"Evan Camilleri"  2008-08-01 22:06:22 
must check it
"Asad Ali" <  2008-08-01 22:40:39 
Re: Microsoft.Office.Interop.Access.Form
=?iso-8859-9?Q?kazan=E7_e  2008-08-18 09:40:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 11:21:28 CST 2008.