p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: How to debug component by visual basic


Message #1 by "Jin Yao" <3ground@s...> on Fri, 16 Mar 2001 03:02:50
I have written a component by Visual Basic 6.0. This component will be

used in asp. I want to debug this component. The steps I used as bellow:



1. Enter visual basic IDE. 

2. Open the "Project Properties Dialog".

3. Choose the "Debugging" tab.

4. Input my asp's url under "Start browser with URL". 

5. Insert a break in the component source.

6. Start debug(by click F5)



Now the error message dispalys and it says: "Server.CreateObject error".

If I open my asp directly not in debug environment, everything is ok. 



Who can tell me how to debug component by Visual Basic 6?



Thanks a lot

 
Message #2 by "Swathi Akella" <swathi@m...> on Fri, 16 Mar 2001 14:41:40 +0530
Hello,



Do u have NT SP>= 5.0?

U should have NT SP atleast 5.0 inorder to get into debug mode.











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

From: Jin Yao <3ground@s...>

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

Sent: Friday, March 16, 2001 3:02 AM

Subject: [asp_components] How to debug component by visual basic





> I have written a component by Visual Basic 6.0. This component will be

> used in asp. I want to debug this component. The steps I used as bellow:

>

> 1. Enter visual basic IDE.

> 2. Open the "Project Properties Dialog".

> 3. Choose the "Debugging" tab.

> 4. Input my asp's url under "Start browser with URL".

> 5. Insert a break in the component source.

> 6. Start debug(by click F5)

>

> Now the error message dispalys and it says: "Server.CreateObject error".

> If I open my asp directly not in debug environment, everything is ok.

>

> Who can tell me how to debug component by Visual Basic 6?

>

> Thanks a lot



Message #3 by philip.moh@a... on Fri, 16 Mar 2001 16:28:44 +0800
can send me the component to take a look???



> -----Original Message-----

> From:	Jin Yao [SMTP:3ground@s...]

> Sent:	Friday, March 16, 2001 11:03 AM

> To:	ASP components

> Subject:	[asp_components] How to debug component by visual basic

> 

> I have written a component by Visual Basic 6.0. This component will be

> used in asp. I want to debug this component. The steps I used as bellow:

> 

> 1. Enter visual basic IDE. 

> 2. Open the "Project Properties Dialog".

> 3. Choose the "Debugging" tab.

> 4. Input my asp's url under "Start browser with URL". 

> 5. Insert a break in the component source.

> 6. Start debug(by click F5)

> 

> Now the error message dispalys and it says: "Server.CreateObject error".

> If I open my asp directly not in debug environment, everything is ok. 

> 

> Who can tell me how to debug component by Visual Basic 6?

> 

> Thanks a lot




  Return to Index