Altered OCX not showing a new sub


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
 
Ad

Advertisements

F

Family Tree Mike

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.
 
K

kimiraikkonen

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" ?
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top