Validating Register Key without installing .Net Pre requisities

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Solution Seeker

    #1

    Validating Register Key without installing .Net Pre requisities

    Hi,

    We have an application which is in almost completed stage. We are going
    to provide a key for activating the software which is also to be bundled.

    We are planned to write the validation in the VB.Net code itself but a
    separate simple application. We will install the .Net Pre-requisities in the
    system along with our Application package. We are planned to do the
    validation before installing the .Net Pre-requisities. We have problem in
    validating the key. Suppose consider our customer does not have a .Net being
    installed in his systems, he is going to install it in his system. Now the
    question is how can we do it using VB.Net or is there no way to run the
    VB.Net application before installing Pre-requisities. Are We need to go
    through some other langauge which does not need installation like C, ... some
    thing like that.

    Any solution will be appreciated...

    Thanks in advance
  • Herfried K. Wagner [MVP]

    #2
    Re: Validating Register Key without installing .Net Pre requisities

    "Solution Seeker" <SolutionSeeker @discussions.mi crosoft.com> schrieb:[color=blue]
    > We are planned to write the validation in the VB.Net code itself but a
    > separate simple application. We will install the .Net Pre-requisities in
    > the
    > system along with our Application package. We are planned to do the
    > validation before installing the .Net Pre-requisities. We have problem in
    > validating the key. Suppose consider our customer does not have a .Net
    > being
    > installed in his systems, he is going to install it in his system. Now the
    > question is how can we do it using VB.Net or is there no way to run the
    > VB.Net application before installing Pre-requisities. Are We need to go
    > through some other langauge which does not need installation like C, ...
    > some
    > thing like that.[/color]

    VB.NET applications always require the .NET Framework. You may want to use
    an application written in C/C++ to check the registry key. The link below
    references a sample which demonstrates how to access the registry from
    within a C-based application:

    <URL:http://dotnet.mvps.org/dotnet/articles/dnchk/dnchk.zip>

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    Working...