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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiling vb dll for ASP application

Status
Not open for further replies.

anorakgirl

Programmer
Jun 5, 2001
103
GB
hi,
i have been given the source of a web app that someone alse developed, and asked to get it up and running to look at.

The app is ASP vbscript, and it seems to use some custom dlls.

for example, there are lines in the code such as

set objUser = server.CreateObject("myApp.User")

There were some dlls supplied, which I have registered using regsrv32 /path/to/dll

However, I am getting errors with the app and have traced these to the dlls rather than the ASP.

My usual strategy is to add debugging lines to the code to track down the error, but obviously the dlls are compiled code so I can't do this.

I have some .cls files which look like they might be the source to the dll files,. and also some .vbp files/.vbw files, which I am guessing are to do with visual basic?

So, my question is, how can I edit the .cls file then regenerate the dll? Do I have to buy some MS Visual Basic product?

Sorry if this is a stupid question, but I don't know anything about VB, except for a bit in MS Access, and have always done my ASP in JScript.

Ta for any pointers...!
AG

~ ~
 
Hi AG -

CLS files are simple TXT files, so can be opened with any text editor to have a look at the code. However, you can't easily compile them.... VBP is a Visual Basic Project file which defines multiple FRM/CLS/MOD/etc files that make up a "project" to be compiled, e.g. an application/DLL/etc/etc/. Your best bet is to get the Visual Basic development environment and proceed from there.

If you can describe the type of errors you're encountering, there is some possibility that the errors come from implmentation of the DLL rather than a problem with the underlying code....

Any additional info you care to provide could be useful. Otherwise, good luck!



<bw>
"I swear by my life and my love of it that I will never live for the sake of another man, nor ask another man to live for mine."
— John Galt
Atlas Shrugged

If you want to get the best response to a question, please check out FAQ222-2244 first

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top