Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 2001-07-10
Medium Priority
Last Modified: 2008-02-01
How can I explicit the create an object with specific version in ASP?? I got two application but they are refering to the same COM but different version.
one refer 1.0, one refer 2.0
how can I control it in ASP?
I found that some MSDN sample got some sample like
set obj=server.createobjectServer.CreateObject("Membership.Verifusr.1")
what is the ".1" at the end? I can't find any document about using this method. is it not for version control?
How can I make use of this ?
Question by:LCP
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Accepted Solution

amit12345 earned 200 total points
ID: 6272377
ya .1 is for version only. If you don't specify .1 or .2 then by defaults it takes the latest version of that component registered in ur comp, but if you know particular version number and u want to use that then you can can specify .1 or whatever with that

Author Comment

ID: 6273066
You mean this is ASP build in method so that I can create object with the specifid version no. ?
How about the case if my application is using minor version only? e.g two version of 1.01 and 1.02 ?
How can I explicit the minor version?

Expert Comment

ID: 6273092
what ever versions are there in your machine u can use that. if 1.01 is there u can use..u can check this in ur registry setting..
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 6273344
what ever versions are there in your machine u can use that. if 1.01 is there u can use..u can check this in ur registry setting..

Author Comment

ID: 6273753
How about minor version?
e.g. my com got two version 1.01 and 1.02 ? how to specify this when createobject?
Is it a build in feature of ASP?

Expert Comment

ID: 6274382

I was helping someone on here a couple of weeks ago and I initially thought that you could only create an object with it's high level version number, but I was wrong.

You can create an object with it's minor version...

set obj=server.createobjectServer.CreateObject("Membership.Verifusr.1.02")

Expert Comment

ID: 6276873
ya dave is right,
LCP you see the registry what ever name ufind there u can use that in ur ASP. If there are more then 1 version u will find all those versions in Registry

Author Comment

ID: 6309302
Sorry for response late. Don't know why I can't get this question from my question history so wasting some time to dig this question out from my mails. May be it is EE bugs.
thx for your ans.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: and…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question