Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Beginning Components for ASP


Message #1 by shah_kashyap@r... on Mon, 29 Jan 2001 04:26:01 -0000
Hi



I am using windows 2000 professional 

In chapter 4 of Beginning Components for ASP,  

I am into creating of rdssingle.asp

I am not having any key such as ADCLaunch in registry and 

Secondarily In rdssingle.asp CODE, how to get the clsid for 

dsoAuthors and dspDataSpace 

I am very bad in need of help.



Thanks in advance 

Kashyap



Message #2 by Imar Spaanjaars <Imar@S...> on Mon, 29 Jan 2001 07:34:16 +0100
Usually, in ASP you can just use the "YourProjectName.YourClassName" syntax 

to create an object.

So Server.CreateObject("YourProjectName.YourClassName") should work.



If this is not what you want, you can lookup the CLSID in the registry. 

First, make sure your component is registered. If not, or in doubt, do this 

by typing regsvr32 yourDLL.dll at the command prompt in the dir where your 

dll resides.

Then do a Find in the registry for YourProjectName.YourClassName



Most likely, under HCR\CLSID you will find your component. The CLSID is the 

name of the key in the tree-structure.



HtH



Imar





At 04:26 AM 1/29/2001 +0000, you wrote:

>Hi

>

>I am using windows 2000 professional

>In chapter 4 of Beginning Components for ASP,

>I am into creating of rdssingle.asp

>I am not having any key such as ADCLaunch in registry and

>Secondarily In rdssingle.asp CODE, how to get the clsid for

>dsoAuthors and dspDataSpace

>I am very bad in need of help.

>

>Thanks in advance

>Kashyap



Message #3 by shah_kashyap@r... on Tue, 30 Jan 2001 04:47:39 -0000
Hi 



First Part 



Thanks for the answer. But I wanted know how to call 

the components through Java Script. 



Second Part



I am not having any key such as ADCLaunch in registry and

but for RDS U should have Key ADCLaunch, But windows 

2000 professional does not have it 

Is that I have to download something



Thanks





------------- Original Message --------------

Imar Spaanjaars <Imar@S...> wrote:

To:"ASP components" <asp_components@p...>

From:Imar Spaanjaars <Imar@S...>

Date:Mon, 29 Jan 2001 07:34:16 +0100

Subject: [asp_components] Re: Beginning Components for ASP



Usually, in ASP you can just use the "YourProjectName.YourClassName"

syntax

to create an object.

So Server.CreateObject("YourProjectName.YourClassName") should work.



If this is not what you want, you can lookup the CLSID in the registry. 

First, make sure your component is registered. If not, or in doubt, do

this

by typing regsvr32 yourDLL.dll at the command prompt in the dir where your

dll resides.

Then do a Find in the registry for YourProjectName.YourClassName



Most likely, under HCR\CLSID you will find your component. The CLSID is

the

name of the key in the tree-structure.



HtH



Imar

Message #4 by Imar Spaanjaars <Imar@S...> on Tue, 30 Jan 2001 09:44:30 +0100
Aha, OK. You didn't mention the JavaScript, but here is how that works:



var objConn = Server.CreateObject("YourProjectName.YourClassName");



Further, I don't have the book here anymore so I don't know what ADCLaunch 

should be.

Maybe the following articles (although a bit outdated) might help:



http://www.15seconds.com/issue/980527.htm

http://webdev.wrox.co.uk/resources/articles/183507/18350704.htm





HtH



Imar







At 04:47 AM 1/30/2001 +0000, you wrote:

>Hi

>

>First Part

>

>Thanks for the answer. But I wanted know how to call

>the components through Java Script.

>

>Second Part

>

>I am not having any key such as ADCLaunch in registry and

>but for RDS U should have Key ADCLaunch, But windows

>2000 professional does not have it

>Is that I have to download something

>

>Thanks




  Return to Index