me.icon = obj.icon error 
Author Message
 me.icon = obj.icon error

This is what I'm trying to do:

    In an ActiveX server:

        public property get Icon() as IPictureDisp
            set Icon = loadrespicture("icon",vbresicon)
        end property

    In VB exe:

        [standard instantiation stuff]
        set me.icon = obj.Icon

Which causes this error:

    Method 'Icon' of object '_obj' failed

I've seen examples in the newgroup just like this. Any idea what the problem
is? I'm not sure if it matters but the ActiveX exe is marked for unattended
execution.

Thanks,



Sun, 04 Aug 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. tray icon/menu icon

2. removing system tray icon without a icon picture.

3. Icon Index? (storing 3 icons in a project)

4. help extracting icons from dll to icon property

5. changing the icon placed as the application icon.

6. ICO-Icons or BMP-Icons wanted !!!

7. ICONS, how do you assign more than just one icon to your app

8. How to get icon from Icon Handle

9. How to get Icon from Icon Handle

10. Setting a form icon to an ImageList icon

11. Help with icon files. - icons.zip (0/1)

12. Help with icon files. - icons.zip (1/1)

 

 
Powered by phpBB® Forum Software