|
-
March 12th, 2003, 09:38 AM
#3
If I explicity type in the object.interface I get error "CS0144: Cannot create an instance of the abstract class or interface".
I found an example of where someone else had the same problem with Adobe. Here is the link
http://www.dotnet247.com/247referenc.../11/57853.aspx
I went back to VB6 and noticed I couldn't early bind to it there either...
Dim obj as new object.?
but I can...
Dim obj as object.inter
then create it...
But with the 'New' command it's a nogo.
I am able to late bind just like the Adobe post in C#. Note I had to use the class ID also. If I used program ID to create the object I get a null?
Sorry I can't give the exact example because it is to a product my company purchased (Siebel).
Thanks,
Jerod
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|