Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How do I make a formless windows application?

How do I make a formless windows application?

Scheduled Pinned Locked Moved C#
questionadobe
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    I_Need_Help
    wrote on last edited by
    #1

    Hi I want to write a windows application that doesn’t have a form, that is no input or output. I have tried the console project but that causes a CMD box to flash up, I have tried the windows service option but this doesn’t allow it to be run from the command line. This is what I want to do: My application will be launched from a function key in our main application (uses Shellexecute) it then checks some items and launches another existing application. no user interaction is required.

    G V 2 Replies Last reply
    0
    • I I_Need_Help

      Hi I want to write a windows application that doesn’t have a form, that is no input or output. I have tried the console project but that causes a CMD box to flash up, I have tried the windows service option but this doesn’t allow it to be run from the command line. This is what I want to do: My application will be launched from a function key in our main application (uses Shellexecute) it then checks some items and launches another existing application. no user interaction is required.

      G Offline
      G Offline
      Gulfraz Khan
      wrote on last edited by
      #2

      use the "main" method do not show any form (if u have any)

      1 Reply Last reply
      0
      • I I_Need_Help

        Hi I want to write a windows application that doesn’t have a form, that is no input or output. I have tried the console project but that causes a CMD box to flash up, I have tried the windows service option but this doesn’t allow it to be run from the command line. This is what I want to do: My application will be launched from a function key in our main application (uses Shellexecute) it then checks some items and launches another existing application. no user interaction is required.

        V Offline
        V Offline
        vikas amin
        wrote on last edited by
        #3

        you can hide the form on start up < note this will show the application in taskbar > private void Form1_Load(object sender, System.EventArgs e) { this.WindowState = FormWindowState.Minimized; this.Visible = false; }

        Vikas Amin UNITED STATES STEEL CORPORATION

        My First Article on CP" Virtual Serial Port "[^]

        modified on Thursday, July 24, 2008 5:33 PM

        V 1 Reply Last reply
        0
        • V vikas amin

          you can hide the form on start up < note this will show the application in taskbar > private void Form1_Load(object sender, System.EventArgs e) { this.WindowState = FormWindowState.Minimized; this.Visible = false; }

          Vikas Amin UNITED STATES STEEL CORPORATION

          My First Article on CP" Virtual Serial Port "[^]

          modified on Thursday, July 24, 2008 5:33 PM

          V Offline
          V Offline
          vikas amin
          wrote on last edited by
          #4

          If you want to hide the window ShowInTaskbar = false;

          Vikas Amin UNITED STATES STEEL CORPORATION

          My First Article on CP" Virtual Serial Port "[^]

          modified on Thursday, July 24, 2008 5:33 PM

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups