Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
IE7 gotcha
Old
  (#1)
Raoul Watson
Guest
 
Posts: n/a
Default IE7 gotcha - 06-04-2007, 09:32 AM

I have used IE7 beta for a while and yesterday finally Microsoft auto update
installed "the real one".
Now every single project / source I have with references to toolbar (e.g
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) gets
"User-defined type not defined."


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: IE7 gotcha
Old
  (#2)
Raoul Watson
Guest
 
Posts: n/a
Default Re: IE7 gotcha - 06-04-2007, 09:32 AM


"Raoul Watson" <EMAIL REMOVED> wrote in message
news:4sm_g.272$ke4.191@trndny02...
>I have used IE7 beta for a while and yesterday finally Microsoft auto
>update installed "the real one".
> Now every single project / source I have with references to toolbar (e.g
> Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) gets
> "User-defined type not defined."


I forgot to mention, basically everything with references to MSComctlLib
broke.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: IE7 gotcha
Old
  (#3)
Tim
Guest
 
Posts: n/a
Default Re: IE7 gotcha - 06-04-2007, 09:32 AM

Raoul Watson wrote:
> "Raoul Watson" <EMAIL REMOVED> wrote in message
> news:4sm_g.272$ke4.191@trndny02...
>> I have used IE7 beta for a while and yesterday finally Microsoft auto
>> update installed "the real one".
>> Now every single project / source I have with references to toolbar (e.g
>> Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) gets
>> "User-defined type not defined."

>
> I forgot to mention, basically everything with references to MSComctlLib
> broke.
>
>


I installed IE7 over the weekend (will be sticking to Firefox though!)
and do not see this problem with my (same) code.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: IE7 gotcha
Old
  (#4)
Jan Hyde
Guest
 
Posts: n/a
Default Re: IE7 gotcha - 06-04-2007, 09:32 AM

"Raoul Watson" <EMAIL REMOVED>'s wild thoughts
were released on Sat, 21 Oct 2006 10:20:02 GMT bearing the
following fruit:

>
>"Raoul Watson" <EMAIL REMOVED> wrote in message
>news:4sm_g.272$ke4.191@trndny02...
>>I have used IE7 beta for a while and yesterday finally Microsoft auto
>>update installed "the real one".
>> Now every single project / source I have with references to toolbar (e.g
>> Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) gets
>> "User-defined type not defined."

>
>I forgot to mention, basically everything with references to MSComctlLib
>broke.
>


Can you post a small example that demostrates your problem
that we could try.



Jan Hyde (VB MVP)

--
I got a sweater for Christmas. I really wanted a screamer or a moaner.
(LOL Lude)

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: IE7 gotcha
Old
  (#5)
Raoul Watson
Guest
 
Posts: n/a
Default Re: IE7 gotcha - 06-04-2007, 09:32 AM


"Jan Hyde" <EMAIL REMOVED> wrote in message
news:EMAIL REMOVED...
> "Raoul Watson" <EMAIL REMOVED>'s wild thoughts
> were released on Sat, 21 Oct 2006 10:20:02 GMT bearing the
> following fruit:
>
>>
>>"Raoul Watson" <EMAIL REMOVED> wrote in message
>>news:4sm_g.272$ke4.191@trndny02...
>>>I have used IE7 beta for a while and yesterday finally Microsoft auto
>>>update installed "the real one".
>>> Now every single project / source I have with references to toolbar (e.g
>>> Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
>>> gets
>>> "User-defined type not defined."

>>
>>I forgot to mention, basically everything with references to MSComctlLib
>>broke.
>>

>
> Can you post a small example that demostrates your problem
> that we could try.
>
>
>
> Jan Hyde (VB MVP)
>


Oh it's not a problem at all, I had to run regsvr32 to register mscomctl and
mscomct2.ocx.
For some reason after IE7 install, both ocx's are not recognized inside
projects anymore.
So any project having a listview, toolbar (anything using those ocx's)
will treat it as a control that's not loaded.
Reregistering them seems to clear up the problem.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: IE7 gotcha
Old
  (#6)
Dean Earley
Guest
 
Posts: n/a
Default Re: IE7 gotcha - 06-04-2007, 09:32 AM

Raoul Watson wrote:
> I have used IE7 beta for a while and yesterday finally Microsoft auto update
> installed "the real one".
> Now every single project / source I have with references to toolbar (e.g
> Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) gets
> "User-defined type not defined."


I haven't seen this here.
You could try re-registering MSCOMCTL.OCX.

--
Dean Earley (EMAIL REMOVED)
i-Catcher Development Team

iCode Systems
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top