Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / March 2007

Tip: Looking for answers? Try searching our database.

VB6.0 dlls in ASP.net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DH - 08 Mar 2007 12:44 GMT
When accessing VB6.0 dlls in classic asp, once the DLL was registered
on the server, you could access that DLL by using a
server.createobject...   It didn't matter where the .dll was
physically located on the server, as long as it was registered.

When trying to access these same VB6.0 dlls from asp.net, if you add a
reference to the dll in the asp.net project, you have to put in the
physical location of the .dll  This causes a problem when you move the
application to another server (i.e. from a development to a production
server) if the dll is physically located at a different path.  Is
there a way to refer to the dll without being concerned about where it
is physically located?  If the DLL is registered, why does it matter
where it is located?  In classic asp, you didn't have to specify the
physical location of the dll.  Is there a way to do this in asp.net?
Bryan Phillips - 08 Mar 2007 13:29 GMT
How are you adding a reference to your dlls?  Using the COM tab or the
Browse tab?  Are you referencing them using tlb (Type Library) files?

You can do this in asp.net and even use COM+ to call a dll on another
box.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> When accessing VB6.0 dlls in classic asp, once the DLL was registered
> on the server, you could access that DLL by using a
[quoted text clipped - 10 lines]
> where it is located?  In classic asp, you didn't have to specify the
> physical location of the dll.  Is there a way to do this in asp.net?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.