[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

03/12/2002 at 12:06PM PST, ID: 20276027
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

converting from com to com+

Asked by kellykln in Visual Basic Programming

We have a com object that is called in ASP pages, Access and VB Programs. We decided to move over to COM+ in order to be able to be able to benefit from COM+ transactions. Since I converted the dll I've been running into problems like not being able to say myRecordset.close after an insert fails (maybe this has something to do with passing the recordset reference between procedures.) We are using W2K Server, Our workstations are W2K and W98.
 These are the steps I took to convert. Please tell me what I might have missed and what other code has to be changed in order to convert properly.

Changed each class to RequireNewTransaction

Added IMPLEMENTS OBJECTCONTEXT and included the 3 methods:
Activate, Deactivate and AllowObjectPooling (or whatever - I'm not in front of the code now)

I changed all the Dim rs as New ADODB.Recordset to
Dim rs  as ADODB.Recordset
set rs = objcont.CreateInstance("ADODB.Recordset")
-btw, is it correct to do this? Do I only have to use create Instance for myObject?

I added methods to SetAbort and SetComplete
 
I set references to the COM+ library (there are a few - which is the right one?)

I compiled as Binary

I created a new COM+ package and added  the DLL (sometimes I see that If I make changed to the DLL it is not reflected in the package unless I delete the package and recreate. Then i will see changes that I made - why is that?)

Ok that is a mouthful. I wouldn't mind if someone could direct me to a TO THE POINT MSDN article that spells this out clearly. There are articles out but I found none that spell out the necessary steps and well as problems to watch out for.

I would appreciate as much guidance as possible as SOON AS POSSIBLE (I have a dealine!!!!!! (don't we all?))

Thanks
[+][-]03/12/02 01:40 PM, ID: 6858247

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/13/02 02:49 AM, ID: 6860107

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/13/02 05:12 AM, ID: 6860436

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/13/02 12:50 PM, ID: 6862293

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/13/02 09:27 PM, ID: 6863591

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/14/02 07:23 AM, ID: 6864776

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Sign Up Now!
Solution Provided By: mdougan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03/18/02 02:31 AM, ID: 6876370

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/18/02 05:44 AM, ID: 6876699

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/11/02 01:08 AM, ID: 6933336

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/11/02 04:25 PM, ID: 6935492

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/11/02 04:31 PM, ID: 6935506

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/13/02 01:06 PM, ID: 6939098

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/15/02 04:49 PM, ID: 6943444

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/02 12:22 PM, ID: 6966846

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/02 08:42 PM, ID: 6967602

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91