Re: Funky error loading form

From: Mark Burns (mburns_at_quixnet.net)
Date: 05/06/04


Date: Thu, 6 May 2004 10:47:15 -0400

Peter,

I had to combine what both you and Jan said to recover.

I first followed your suggestion, ad that did not resolve the issue, but it
did provide me with a clue about the .oca file.

After your suggestion didn't work, I followed Jan's thoughts.
I started a new project, (which had no references to the TabDlg.SSTab
control).
I added a reference, and successfully inserted the control into a new form.

I then went out and opened both my old and new project files and both forms,
and I found that somehow my old project has gotten a REFERENCE to the .oca
file embedded inside it!?

I manually ripped that out and replaced it with the proper object= reference
line, and *poof* all problems disappeared.

Many thanks to you both!
\
Weird, how that happened in the first place, though.
(I certainly never manually removed the Component and replaced it with a
Reference myself...)

""Peter Huang"" <v-phuang@online.microsoft.com> wrote in message
news:J7atmSxMEHA.3364@cpmsftngxa10.phx.gbl...
> Hi Mark,
>
> First of all, I would like to confirm my understanding of your issue.
> From your description, I understand that when you load a project which
will
> use the TabDlg.SSTab control, and you encounter error.
> Have I fully understood you? If there is anything I misunderstood, please
> feel free to let me know.
>
> To isolate the problem can you try to create a new project and try to use
> the TabDlg.SSTab control, to see if the problem persists.
> If yes, I think you may try to re-register the control by using the
> regsvr32 tool.
>
> You can found the tabctl32.ocx and TABCTL32.oca in the C:\windows\system32
> directory.
> 1 Move TABCTL32.oca to another place.
> 2 re-register the tabctl32.ocx
> 2.1. Regsvr32 /u C:\windows\system32\tabctl32.ocx
> 2.2 Regsvr32 C:\windows\system32\tabctl32.ocx
>
> Please apply my suggestion above and let me know if it helps resolve your
> problem.
>
> However, if the problem still persists, please help me collect more
> information for further troubleshooting.
>
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>



Relevant Pages

  • RE: Again Error 0x80244010
    ... Click "Control Panel". ... please follow the next suggestion. ... to follow the steps I have provided below in order to resolve this issue: ... type regsvr32 MSXML.dll in the Open box and click OK. ...
    (microsoft.public.windowsupdate)
  • Re: Referencing problem
    ... I wasn't sure how to use your suggestion -- I ... It could be the tab control, or another control (e.g. for an ... Perhaps you could use use Form.ActiveControl, or pass a reference to the ... Dim frm As Form ...
    (comp.databases.ms-access)
  • get reference of the containing form
    ... I am trying to create a custom control, & in this control i need to access ... I don't want to drop the control onto the form & set the reference to the ... How can i resolve my problem. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Need help to fix this code
    ... Would you please give your suggestion on what to do with: ... data type intReportDate as a String ... Try use a reference to a control ...
    (microsoft.public.access.reports)
  • RE: Built in function errors.
    ... located on other tabs in a tab control. ... I had to find a way to use the reference. ... TLBs on the client computer. ... reselect libraries simply makes the application not worth building using ...
    (microsoft.public.access.modulesdaovba)