473,432 Members | 1,439 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,432 software developers and data experts.

VB.NET DLL --> ASP with intellisense

Hi all,

If I open an asp page and am using a vb6 dll, I get intellisense when I
use the Server.CreateObject syntax. When I create a dll using vb.net,
the methods and functions work, but I get no intellisense. Any ideas?
Here is some code I am testing with:

ASP Page
<%@ Language=VBScript %>
<%
Response.Buffer = True
Set objTest = Server.CreateObject("miBenefits_1_1.ComClsNhsenc")
response.Write(objTest.strTestIt("test"))
set objTest = nothing
%>
<html>
<body>

</body>
</html>

VB.NET
<ComClass(ComClsNhsenc.ClassId, ComClsNhsenc.InterfaceId,
ComClsNhsenc.EventsId)> _
Public Class ComClsNhsenc

Public Function strTestIt(ByVal strToEncrypt As String) As String

Return strToEncrypt + " <-- here"

End Function

#Region "COM GUIDs"

' These GUIDs provide the COM identity for this class

' and its COM interfaces. If you change them, existing

' clients will no longer be able to access the class.

'Public Shared ClassId As String =
"{59B430BF-4033-4f6b-A78A-5991E8D0C4A2}"
'Public Shared InterfaceId As String =
"{11F54F59-A30E-4147-BFF4-133B007B4823}"
'Public Shared EventsId As String =
"{F1687BA1-4189-416f-B4A5-9DBD1FDCF8B9}"

Public Const ClassId As String =
"59B430BF-4033-4f6b-A78A-5991E8D0C4A2"

Public Const InterfaceId As String =
"11F54F59-A30E-4147-BFF4-133B007B4823"

Public Const EventsId As String =
"F1687BA1-4189-416f-B4A5-9DBD1FDCF8B9"

#End Region

' A creatable COM class must have a Public Sub New()

' with no parameters, otherwise, the class will not be

' registered in the COM registry and cannot be created

' via CreateObject.

Public Sub New()

MyBase.New()

End Sub

End Class
Thank you for any assistance and have a great day,
Ryan

Nov 23 '05 #1
0 978

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sean Bright | last post by:
Hi there. I'm having a problem which I hope is a simple one... Any help would be appreciated. I think it has something to do with the way attributes are (or are not) inherited in schemas... ...
6
by: George Hester | last post by:
Try it. Using Microsoft Internet Explorer 5.5 SP2 (that's the version I am using) in Windows 2000 SP3: In a html put this in: <select type="select-one" id="oSel1"> <option value="1"...
2
by: Jesper. | last post by:
Hi, I'm a former C++ programmer, and normally I didn't see the use of the this pointer (pointer in c++) used as often as I see it in C#. When the VS generates code for you it uses >this< all...
3
by: Sam | last post by:
I have an extended class in a dll and have put summaries for each method like this /// <summary> /// Removes all occurences of a given object. /// </summary> The problem is that when I see my...
2
by: carl.manaster | last post by:
Hi, Within my project, I've got a number of classes in separate files. When I point at the name of a class in the file in which it is defined, it shows the <summary> information for the class in...
6
by: Chris Fink | last post by:
Does anyone know it is possible to include a small image(.gif .jpeg) within a <SELECT><option> so that the user would see the option text as well as a little image(icon) in the option? I know this...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
1
by: Anand S | last post by:
Hi! I was wondering if the Immediate window in VB.NET supports the Intellisence dropdown listbox during debugging. Just like in VB6. I tried and could not get it to work. Any help appreciated....
8
by: Michael.Suarez | last post by:
So I wrote a DLL in 2.0. An example of one of the funtions is: /// <summary> /// db_task..file_master_list /// </summary> /// <param name="panConnection"> /// Pass the PanApp.Connection object...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.