Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 877671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:38:54+00:00 2026-05-15T11:38:54+00:00

I just read through a 2002 article on MSDN called Calling a .NET Component

  • 0

I just read through a 2002 article on MSDN called Calling a .NET Component from a COM Component to get a basic understanding of calling .NET objects from VB6 code. However, I still wondering what else I might be concerned about when referencing .NET objects from VB6 and if there’s anything newer information than what was available when that article was written 8 years ago.

In our specific implementation, we need to add a component to both a VB6 and a classic ASP (VB Script) application that will apply discount rules to items in a shopping cart. I was planning on writing the solution in .NET and then calling the component from our VB6 app.

However, we’re concerned that we might have performance bottlenecks related to translating the ADO recordset to simpler types, instantiating the .NET component to do the work, then translating back to the ADO recordset once we’re done. I’m hoping that performance and code maintenance gains by using .NET will outweigh any costs of translating to and from ADO recordsets, but I’m not sure of that; nor am I aware of other concerns that might make a .NET assembly slower than simply using a COM assembly. Any suggestions and insight would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:38:54+00:00Added an answer on May 15, 2026 at 11:38 am

    The main problems I’ve had in this area are around maintenance; making a COM-callable dll isn’t hard, but making it stay callable when you update it (i.e. re-deploying the changes) can be a real pain. Or maybe I just got used to robocopy deployment, which isn’t going to be enough in this case – and it didn’t help that I had COM+ to contend with as well.

    Re the data… you really want to keep the API basic. I would be happy throwing strings over the boundary (xml perhaps, but not the only choice), but I would avoid recordsets etc. That is just asking for pain. Of course, you might not have a choice.

    Last time I had to do this, I actually got fed up trying to fight the different layers, and I ended up using http for the interface instead; both VB6 and C# are more than capable of throwing http messages around, or under-pinning a basic http server (either ASP or ASP.NET). Maybe a bit more overhead, but the separation was worth it. And it means I can swap either client or server at any time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 513k
  • Answers 513k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer $(function () { var i = 5, values = $('#myTable').find('td:odd').map(function… May 16, 2026 at 5:51 pm
  • Editorial Team
    Editorial Team added an answer Doesn't something like A : ({out("Before");} B {out("After");})+; work? May 16, 2026 at 5:51 pm
  • Editorial Team
    Editorial Team added an answer I would create a Windows Service to watch a secure… May 16, 2026 at 5:51 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I've read through a lot of the Learn C# .Net questions just to see
I just read about unset variable through php manual. The php manual says unset()
I've read through all of the Spring 3 Web docs: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/spring-web.html but have been
Hello I'm a trying to learn python, In C++ to read in string from
I'm doing what seems like a simple read from a data file, and it's
In 2002 I did a pretty large VB6 app for a client. It used
I have set up an SVN repository from scratch, and I have successfully tagged
EDIT: please read the question and why I want to do it before passing
I have read several interesting C#/F# comparisons here on stackoverflow. So, first of all,
I need to read a large space-seperated text file and count the number of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.