Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / March 2008

Tip: Looking for answers? Try searching our database.

Altered OCX not showing a new sub

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott McNair - 29 Feb 2008 22:57 GMT
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
Family Tree Mike - 02 Mar 2008 12:57 GMT
> Hi,
>
[quoted text clipped - 8 lines]
> * 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.  

> Regards,
> Scott
kimiraikkonen - 02 Mar 2008 17:20 GMT
On Mar 1, 12:57 am, Scott McNair
<smcn...@beachexpress.takethispartout.com> wrote:
> Hi,
>
[quoted text clipped - 20 lines]
> Regards,
> Scott

Is the new subroutine "Public" ?
Scott McNair - 03 Mar 2008 14:22 GMT
kimiraikkonen <kimiraikkonen85@gmail.com> wrote in news:b8c8fa09-ada4-4c9a-
8095-850e0f9e62eb@s37g2000prg.googlegroups.com:

> Is the new subroutine "Public" ?

Yes; if I create a new application and include it, the sub shows up.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.