473,503 Members | 2,698 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.CreateObject("IdentifyRepository.clsUser")
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 3581
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.CreateObject("IdentifyRepository.clsUser")


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.net...
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.CreateObject("IdentifyRepository.clsUser")


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
9083
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...
14
8678
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...
1
2419
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
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...
0
1587
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...
5
1554
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,...
1
11097
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. ...
0
12316
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,...
4
3945
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...
0
7064
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
7261
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,...
1
6974
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...
0
5559
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,...
1
4991
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...
0
4665
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...
0
3158
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...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
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...

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.