home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,822 of 10,840   
   Dee Earley to Mojo   
   Re: Referencing Flash OCX properly in vb   
   09 Apr 10 14:12:12   
   
   XPost: alt.comp.lang.vb, comp.lang.basic.visual.misc   
   From: dee.earley@icode.co.uk   
      
   On 07/04/2010 21:09, Mojo wrote:   
   > Hi All   
   >   
   > I've used the shockwave flash component to good effect in my vb6 app, but   
   > when I tried to add this ocx (flash10e.ocx by the way) as part of my   
   > installler InnoSetup can't register the component.  Keeps giving a 0x5   
   > error.   
   >   
   > Some have said don't worry about it as flash is installed by default in   
   > windows these days, but looking at my ticked reference/component in the   
   > Project's usual window it specifically relates to flash10e.ocx.   
   >   
   > Now my past experience on these references is that if you do this with say   
   > Word then if the target machine has anything, but Word10 then it won't work.   
   > This process seems to suggest that if the target machine doesn't   
   > specifically have flash10e.ocx installed then it won't work!!!  Am I right?   
      
   Mostly.   
   Newer (differently named) OCXs can implement the same interfaces, but it   
   is common practice to keep the same name and preserve backwards   
   compatibility.   
      
   > I've tried to untick it like I have with the Word reference and use generic   
   > objects, but it won't do it.  I think it's because I've selected a component   
   > rather than a reference, but I might be wrong.   
      
   You can create controls/components at runtime by using controls.add with   
   its ProgID. I'm not sure what it is off hand, but you should see it if   
   you look at the .frm file in notepad.   
      
   --   
   Dee Earley (dee.earley@icode.co.uk)   
   i-Catcher Development Team   
      
   iCode Systems   
      
   (Replies direct to my email address will be ignored.   
   Please reply to the group.)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca