473,666 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CreateOb ject 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=VBScri pt %>
<%
Response.Buffer = True
Set objTest = Server.CreateOb ject("miBenefit s_1_1.ComClsNhs enc")
response.Write( objTest.strTest It("test"))
set objTest = nothing
%>
<html>
<body>

</body>
</html>

VB.NET
<ComClass(ComCl sNhsenc.ClassId , ComClsNhsenc.In terfaceId,
ComClsNhsenc.Ev entsId)> _
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 988

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

Similar topics

2
3097
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... This is the content of my XML Schema (minus the schema tag): <xsd:complexType name="AType"> <xsd:attribute name="attr1" type="xsd:string" />
6
1707
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" onmouseover="JavaScript:window.status='Hello'; return true;">Hello</option> <option value="2" onmouseover="JavaScript:window.status='Bye'; return true;">Bye</option> <option value="3" onmouseover="JavaScript:window.status='Dammit'; return...
2
1287
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 the time. Examples I study in different newsgroups uses >this< all the time - like the example below. Why is >this< used so extensively when it is not required? (like in the example below) - if it is required then why?
3
3419
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 methods in the intellisense, the summary shows up only within the namespace and if I use my classes and methods in other projects, I don’t see my summaries, only the summaries of the base class which is a .NET original class. How come?
2
4995
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 a tooltip. But when I point at the name of a class in some other file (still in the same project), it just shows "class " and the name of the class. I looked into generating an XML file, but it produced a bunch of errors because I don't have...
6
12995
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 is not an ASP.NET related question, but I know this group is knowledgeable and quick with responses. Thanks
29
3668
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 id="Form1" method="post" runat="server"> <%
1
2229
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. Thank you. Anand.
8
5896
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 by reference /// </param> /// <param name="source_id"> /// Default Value = 0
0
8440
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8352
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8780
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7378
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4358
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.