473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

ComVisible is still visible???

I am creating a DLL in VB 2005. I have one class that I want to expose for use with COM. That class has several underlying classes that it uses which I do not want exposed. I set the ComVisible parameter to false on those classes:

<System.Runtime.InteropServices.ComVisible(False )> Public Class Communications

However, when I use the DLL in production, when I am creating an instance of the DLL, I can still see that class come up in the list. Is there something else that I need to do?
Sep 19 '07 #1
1 1182
Plater
7,872 Expert 4TB
Did you make them private? and protected?
And I'm mad at myself for not remembering it now, but there's another little [ ] bracket command you can use to hide things from intellisense and the like.

Also: For DLLs don't you have to specify what exactly is allowed (like setting an entrance point or something)? I seem to recall having to do that for an unmanaged c++ dll.
Sep 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mitchell Vincent | last post by:
I can't find the post now but several months back I posted a problem I was having using the WebBrowser control when trying to have a systray icon pop back up a window that hadn't been shown in the...
0
by: ThisBytes5 | last post by:
We are developing a comvisible object that will be called from an asp page. This object in turn will load other .net assemblies, E.G. Entlib, other in house items, WSE3.0 imp, etc... Most if not...
0
by: Scheu | last post by:
Hi all, I'm hoping someone can help me with this bizarre problem. If I create a new PerformanceCounter object in a ComVisible class and invoke it from wscript, it never seems to terminate. When...
1
by: cashdeskmac | last post by:
I have one resource telling me that if I want to expose just 4 out of 10 methods in my class to COM I simply apply the ComVisible attribute to the class and set it to false, then apply the same...
3
by: Adam Clauss | last post by:
I am working on modifying an existing library to expose portions through COM. Is it possible to return a generic object (say, List<string>) via this? So far I have not had much luck. When...
6
by: Dan | last post by:
Hi, i defined a html table with Visible="false", but i still see it in the browser. Why and how to hide that table? Thanks Dan %@ Page Language="VB" AutoEventWireup="false"...
6
by: =?Utf-8?B?L2Rldi9udWxs?= | last post by:
Hello, i am using visual studio 2003 enterprise architect version. I am making apps for the .Net framework 1.1. While testing an interface, i discovered something strange. In this application...
1
by: nassersh | last post by:
I am using a bound control to embed word documents within an access form. I have created two buttons on the form One to embed aand display and one to close. I embed one doc and then save the doc...
1
by: RedLars | last post by:
Hi, Ran Fxcop on three projects today and it complainted about not having set ComVisible. Must admit I have no experience or knowledge of COM. The three projects consist of an application and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.