473,770 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using assemblies registered with regsvr32

Hi

We have just bought a product what has a classic ASP front end that uses 2
assemblies.
These are registered with the following command:
regsvr32 Repository.dll /s
regsvr32 Dynu.dll /s

The way they are used int the code is as follows:
dim objUser
Set objUser = Server.CreateOb ject("IdentifyR epository.clsUs er")
Now how can i use this in ASP.NET code.
I believe i'll be using the System.Runtime. InteropServices namespace,
but am battling to find good articles to guide me on how, or infact am not
entirely sure what i'm looking for.

Any advice/guidance will be appreciated, or if anyone can point me to a good
article

TIA

Grant
Nov 19 '05 #1
2 3616
Grant Merwitz schrieb:
We have just bought a product what has a classic ASP front end that uses 2
assemblies.
These are registered with the following command:
regsvr32 Repository.dll /s
regsvr32 Dynu.dll /s
AFAIK regsvr32 can not work with assemblies. What you got are two
Containter with COM/ActiveX-Objects.
The way they are used int the code is as follows:
dim objUser
Set objUser = Server.CreateOb ject("IdentifyR epository.clsUs er")


That is the late binding variant. This way is not wrong but you should
better create a wrapper-assembly with tlbimp.exe for each dll you have.

See tlbimp documentation:
http://msdn.microsoft.com/library/de...rtlbimpexe.asp

Jan
Nov 19 '05 #2
Thanks for your advice

"Jan Peter Stotz" <jp*****@gmx.de > wrote in message
news:t9******** *************** *****@40tude.ne t...
Grant Merwitz schrieb:
We have just bought a product what has a classic ASP front end that uses
2
assemblies.
These are registered with the following command:
regsvr32 Repository.dll /s
regsvr32 Dynu.dll /s


AFAIK regsvr32 can not work with assemblies. What you got are two
Containter with COM/ActiveX-Objects.
The way they are used int the code is as follows:
dim objUser
Set objUser = Server.CreateOb ject("IdentifyR epository.clsUs er")


That is the late binding variant. This way is not wrong but you should
better create a wrapper-assembly with tlbimp.exe for each dll you have.

See tlbimp documentation:
http://msdn.microsoft.com/library/de...rtlbimpexe.asp

Jan

Nov 19 '05 #3

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

Similar topics

5
9110
by: Giles Brown | last post by:
I'm feeling quite dumb this morning. I'm trying to build a COM server DLL using py2exe and it ain't working. Here's what ain't working... setup_dll.py based on py2exe sample: """from distutils.core import setup import py2exe
14
8737
by: Curtis Tammany | last post by:
Hello- Can someone tell me if DSOFile.dll can be accessed within ASP.NET? DSOFile.dll is registered and I have no problem using it in my .ASP scripts. I have tried the following: Dim oFilePropReader As DSOleFile.PropertyReader Dim oFileProperties As oFilePropReader.GetDocumentProperties("C:\MyDoc.doc") Response.write ("<table>" & vbCRLF) Response.write ("<tr><td><B>Title: </B></td><td>" & oFileProperties.Title & "</td></tr>" &...
1
2434
by: Raed Sawalha | last post by:
Hello I have ActiveX DLL and I usually register it using following procedure 1. gactutil -i ActiveXDLL 2. regasm ActiveXDLL /tlb:DLLNAME/codebase 3. then using the activeX can I automate step 1 and 2 inside ActiveX itself
1
650
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
1606
by: Jerry Harper | last post by:
Trying to Create a msi (Setup project) for a service and I received the following Error: D:\Projects\TestSetup.vdproj Could not find file 'D:\Program Files\Microsoft Visual Studio ..NET\Common7\Tools\Deployment\.\MsiRedist\1033\MsiLoadr.Bin' 'Interface not registered' Searching through Google, did not immediately produce results. I
5
1563
by: Mavrik | last post by:
Hi all, I run a exe of VBNET on computer A, it run OK. But there is an error (missing DLL - ag8614x_32.dll) when I run the same program in computer B. I search dll on computer A and found at i386, Window\system and Window\system32. I copied the dll from computer A to the same location on computer B. Restart computer B and run program, the same error (missing DLL display). Please help me to fix this problem. Thank you very much.
1
11139
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes, Reservations, Exclusions, Options and so forth. Since the dll...
0
12359
by: screenbert | last post by:
Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes, Reservations, Exclusions, Options and so forth. Since the dll that is used was written several years ago by Microsoft, you cannot manage things on the DNS tab when looking at a reservation and few things such as that however it gives you main things you...
4
3965
nikpreek
by: nikpreek | last post by:
Hi All, Another strange and one-off problem. I have an class library (written c#) having code for loading DTS pkg (saved on HDD as structured file) (from SQL 2000) and then executing it with a parameter of source text file name. It works fine on development PC. My destination app server or testers PCs doesn't have SQL server or any of its components installed. Hence, I referred a column from this site (http://www.sqldts.com/225.aspx) and I...
0
9618
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
9454
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
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
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...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7456
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
5354
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...
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.