Altered OCX not showing a new sub

  • Thread starter Thread starter Scott McNair
  • Start date Start date
S

Scott McNair

Hi,

I'm using an interop assembly to pipe a VB6 OCX into my application. Today
we altered the original OCX to add a new subroutine. The new subroutine is
not showing up in my intellisense. I created a new application and added
the OCX, and it shows up fine there.

Here's what I did in my original application:

* Removed the control from my form
* Removed USBIOACS from References
* Removed AxUSBIOACS from References
* Removed the references from bin/debug
* Removed the control from the toolbox
* Checked to make sure there were no references in Form1.Designer.vb
* Re-added the control to my form

However, it still doesn't show up in intellisense, and when I try to
compile it, the compile bombs.

What else can I try to get this working?

Regards,
Scott
 
Scott McNair said:
Hi,

I'm using an interop assembly to pipe a VB6 OCX into my application. Today
we altered the original OCX to add a new subroutine. The new subroutine is
not showing up in my intellisense. I created a new application and added
the OCX, and it shows up fine there.

Here's what I did in my original application:

* Removed the control from my form
* Removed USBIOACS from References
* Removed AxUSBIOACS from References

You removed any imports statements, right?
* Removed the references from bin/debug
* Removed the control from the toolbox
* Checked to make sure there were no references in Form1.Designer.vb

I would rebuild at this step. This would have no information about the
control.
* Re-added the control to my form

However, it still doesn't show up in intellisense, and when I try to
compile it, the compile bombs.

What else can I try to get this working?

Otherwise, it seems like you are doing things right.
 
Hi,

I'm using an interop assembly to pipe a VB6 OCX into my application.  Today
we altered the original OCX to add a new subroutine.  The new subroutineis
not showing up in my intellisense.  I created a new application and added
the OCX, and it shows up fine there.

Here's what I did in my original application:

* Removed the control from my form
* Removed USBIOACS from References
* Removed AxUSBIOACS from References
* Removed the references from bin/debug
* Removed the control from the toolbox
* Checked to make sure there were no references in Form1.Designer.vb
* Re-added the control to my form

However, it still doesn't show up in intellisense, and when I try to
compile it, the compile bombs.

What else can I try to get this working?

Regards,
Scott

Is the new subroutine "Public" ?
 
Back
Top