Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2005, 09:44 AM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem while calling a VB COM DLL in ASP

I am trying to call a VB COM DLL in ASP.
this VB Dll using the methods from the VC++ Win32 dll.
the code is working with VB client,
But when i am calling it through ASP its giving error at the 2nt line.

"An exception occurred Microsoft VBScript runtime error 507"

my ASP code is:

Set objCom=Server.CreateObject("ExtractFile.Files")
strFileContent=objCom.FileCrawler(strFolder & File.FileName)


please if anybody has solution of the problem,tell me.

I have registered the COM DLL with regsvr32.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling a VB program or DLL from Access JOK Access VBA 1 October 12th, 2007 12:59 AM
Calling VB.Net Dll from Excel VBA zyphax Pro VB.NET 2002/2003 4 July 16th, 2007 08:41 PM
Calling a .Dll of Vb.NET enggalok C++ Programming 0 March 1st, 2004 06:51 PM
Problem reusing the Existing VB 6 DLL in ASP.NET francis VS.NET 2002/2003 3 July 11th, 2003 03:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.