Results 1 to 2 of 2

Thread: Access the Application Type

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    Just noth ah Boston
    Posts
    10

    Access the Application Type

    Hello,

    Is it possible to check the Application Type(Console Application, Windows Forms Application....) at run-time.
    I have been looking for 2 days, most of the happy application info has been made available with my.application.info but where is the application type?
    Thanks,
    Raney

  2. #2

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    Just noth ah Boston
    Posts
    10

    Re: Access the Application Type

    The information that I am liiking for is in the .vbproj file.

    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>
    </ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{B96ADDE5-3C07-4F73-88C4-6BF3F94E154A}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <StartupObject>MDIApplication.My.MyApplication</StartupObject>
    <RootNamespace>MDIApplication</RootNamespace>
    <AssemblyName>MDIApplication</AssemblyName>
    <FileAlignment>512</FileAlignment>
    <MyType>WindowsForms</MyType>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    <OptionExplicit>On</OptionExplicit>
    <OptionCompare>Binary</OptionCompare>
    <OptionStrict>Off</OptionStrict>
    <OptionInfer>On</OptionInfer>
    <PublishUrl>publish\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>0</ApplicationRevision>
    <ApplicationVersion>1.0.0.&#37;2a</ApplicationVersion>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
    </PropertyGroup>

    I would like to be able to check the <MyType>WindowsForms</MyType>
    But do not seem to be getting anywhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width