Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL Blowing Up on Sub Main

Status
Not open for further replies.

finny

Programmer
Nov 16, 2000
58
US
Hi All,
Maybe somebody has seen this error problem before.

Scenario # 1. I've created a 2 Class Module, 3 Module DLL for use within an ASP page.

In the project properties for the DLL, I have 'Sub Main'
as the Startup object. After compiling the dll I need to create a package and register the components in Transaction Server. Everytime I try to add the DLL, I get the following error for each component in the DLL

"Run-time error 91:
Object Variable or with block Variable not set"

However, if I have 'none' as startup object in project properties everything is created fine in MTX, but obviously the DLL does not work.

Everything I've found re:the error message tells me that something is out date, but all references are the same version as dev and test boxes and it works fine there.

If anyone has seen this before, I'd greatly appreciate your feedback. Thx in advance...finny
 
Runtime error 91, means that something isn't declared. Do you have Option Explicit as the first line in all your projects? Craig, mailto:sander@cogeco.ca

Remember not to name the Lambs...
It only makes the chops harder to swallow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top