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

  • SEARCH
  • Home
  • 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 8074085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:32:28+00:00 2026-06-05T14:32:28+00:00

I started studying about AppDomains, and I just cannot understand the difference between CreateInstance

  • 0

I started studying about AppDomains, and I just cannot understand the difference between CreateInstance and CreateInstanceFrom. Both returns objecthandle which needs to be unwrapped.
Can anyone please help in this.

  • 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-06-05T14:32:29+00:00Added an answer on June 5, 2026 at 2:32 pm

    They both return an AppDomain however the difference lies in how to locate the AppDomain that is to be created. CreateInstanceFrom is based on providing an assembly filepath, where CreateInstance is based on providing the assembly name to load.

    See the following (note the difference with the first parameter in both):

    CreateInstanceFrom
    http://msdn.microsoft.com/en-us/library/2xkww633.aspx

    assemblyFile

    The name, including the path, of a file that contains an assembly that
    defines the requested type. The assembly is loaded using the LoadFrom
    method.

    CreateInstance
    http://msdn.microsoft.com/en-us/library/44s54yc4.aspx

    assemblyName

    The display name of the assembly. See Assembly.FullName.

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

Sidebar

Related Questions

I have just started studying Objective - C..and I encountered a problem which I
I just started studying programming about 6 months ago and I have really been
I have recently started studying about threads. I thought of starting from the beginning
I started studying android NFC ,I am Confused about NFC tag(i think it is
I just started studying Drupal 7 and learned how powerful CCK and Views are.
I download asp.net mvc2 preview 2 days back. I've just started studying MVC. I
I have just started studying JOGL and there is one problem. Below is simple
I have started studying about C++0x. I came across the follow expression somewhere: int
I have just started studying Python . I am referring to the tutorials at
I have just started studying Android and I am still lost. I would just

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.