Results 1 to 5 of 5

Thread: How to run a java application with the start of computer before explorer is visible

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    2

    How to run a java application with the start of computer before explorer is visible

    Hi all,
    I want to run a java application with the start of the computer. I want this programme to check some criteria before run of explore. Is there any short method to do that. If it is there please reply me.
    Thank in advance.
    Gopal

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: How to run a java application with the start of computer before explorer is visible

    Needs to be moved - wrong forum.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to run a java application with the start of computer before explorer is visible

    Moved from CodeBank.

  4. #4
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: How to run a java application with the start of computer before explorer is visib

    Create a Shortcut on the Desktop (directions below). Drag it onto the Start/Programs/Startup menu entry (which adds it to one of the Startup folders - for example, C:\Documents and Settings\All Users\Start Menu\Programs\Startup.

    1) To create the shortcut, right-click the Desktop and select new/shortcut.
    2) Type (or browse and select) the location of javaw.exe into the shortcut location entry area. In XP this is "C:\WINDOWS\system32\javaw.exe".
    3) Click Next.
    4) Enter a name for the shortcut and click Finish, which creates the shortcut.

    5) Right-click the new shortcut and click Properties.

    6) In the Target: box, add the class name of your program to the end of the line. Leave a space following "javaw.exe", and enter only the class name, without the extension ".class".

    7) In the Start in: box, replace the existing entry with the full path of the directory that contains your Java class. Do not include the class file name, this is just the directory path to this file. If the path contains spaces, place double quotes around the entire path.

    If you wish, change the shortcut icon, or type tooltip text into the Comment: box.

    8) Click OK

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: How to run a java application with the start of computer before explorer is visible

    The Startup menu is read and executed by Explorer, so that's no option.
    Come to think of it, I think HKCU/Software/Microsoft/Windows/CurrentVersion/Startup (or whatever it's called) is also scanned by Explorer.

    Anyway, running a Java app at any point is not really different from running any other app. So you'd be better off asking this in a general Tech forum, or a Windows forum.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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