Results 1 to 22 of 22

Thread: application start while booting

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52
    how can i automatically start my application when i boot computer...it must work at all login's and should not be visible in startup of start menu.

    how do i get the list of all pcs connected to lan

    how do i get the process queue info?
    ie..how much time process spends in queue etc..?


    thanx,
    lxs
    lxs

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Put it in

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

    or
    in the windows.ini to load at startup.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52
    will try.thanx
    lxs

  4. #4
    Guest
    If you want it to start up in the login screen, you need to run it as a service, thus add it to RunService instead of Run.

  5. #5

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    application start while booting

    thanks,
    it works...if i want to do this to all pcs on lan then do i hav to go to each one and put it or is there a way to do it for all at once from 1 m/c?
    lxs

  6. #6
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    well, assuming you have access rights, you can edit the registry of other computers over a lan using this api call to open their registry:
    Declare Function RegConnectRegistry& Lib "advapi32.dll" Alias _
    "RegConnectRegistryA" (ByVal lpMachineName As String, ByVal hKey As Long, _
    phkResult As Long)
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  7. #7

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Smile application start while booting

    thanks,
    will do it and see on lan.
    lxs

  8. #8
    Junior Member
    Join Date
    Feb 2001
    Posts
    27

    Wink Re: application start while booting

    but your program will fail if system is started in safe mode so if you or any body else know the solution which can autorun even in safe mode than.please tell me.

  9. #9
    Guest
    Why not just install it on the master machine?

  10. #10

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Smile application start while booting

    ok will do and see if it works in safe mode..
    where do i install in master computer ? is it possible to edit its registry frm any other pc..r any other pc fr that matter?

    how do i make the entry into windows.ini file ? will this solve the problem (or hav i gone mad!!)???

    really thanks for all these solutions..i had no idea abt it now i can start working on it!

    thanks,
    lxs
    Last edited by lxs; Mar 27th, 2001 at 12:32 AM.
    lxs

  11. #11
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    well, as a stop-gap measure, you could always disable safe-mode
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  12. #12
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    what exactly does this sofeware do? safe mode is designed to run with default configuration, so you can recover a computer you crashed. you can't realy do anything in safe mode. you can't use it as a true operating system, it's just a diagnostic tool/mode!
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  13. #13
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362

    Hmmm.... Let's See...

    Let's see....

    You want a program that will:

    - Automatically start when the system boots
    - Must work on all logins
    - Must be hidden from startup options
    - Must be functional even in safe mode
    - Must be remotely deployed to all computers on a network

    Your not working on a virus are you ???

    ( Just kidding !! Sorry I couldn't help it !!)

  14. #14
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Cool

    If he is, and it's written in vb, then it will be a pretty large one.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  15. #15

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Smile application start while booting

    u can use my appln as a virus too :-) but its not ment fr that purpose..its fr administrative use..
    what it does is to get a list of running processes in any pc..it can terminate a process if the monitor finds overuse of printer../playing gamess etc... fr colleges,schools..
    also it can logoff/restart/shutdown pc..
    monitor screen at interval of 3 milli sec..
    execute dos command..
    run any application..
    etc..
    i need to first install the server to all the terminals while bootup-so it doesnt mess the startup..
    the server listens..and monitor connects to any pc..
    i used the ping procedure to get the connections on lan..
    can i pass messages to it?
    well thats it fr viruses..it depends on the monitor!!!


    currently working to get the process timings..and trying to get the file transfer working..need a super fast file trasfer program to use to transfer captured screen
    ....


    Please tell me some more ways the appln can be of use..


    thanks!
    Last edited by lxs; Mar 31st, 2001 at 09:02 AM.
    lxs

  16. #16
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Lightbulb

    i've been thinking of ways to monitor the screen like that. Here's what i came up with:
    First you send the initial screen shot. You store the screen shot in memory also. Next time you take a screen shot, you OR it with the original one. (?). This will turn every thing that is the same as the last to black. If your program scans the new image and finds an area that isn't black, then it transmits only that area.
    When a change is detected, you send the differences then afterwards, you update your stored image.

    This is just a possibility. But i think it could be used to transmit screen shots pretty fast. Basically it works like .fli does. Each successive frame is the last frame plus changes. Perhaps you could study the format or come up with your own code. Its a little too much to come up with especially since i don't have a nt network to test it on
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  17. #17

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Smile application start while booting

    WOW i never thought of this possiblity!

    what i did was to capture the screen store it in the picture box,save it in a bmp file and transfer to other pc as a bmp file and display in image box of monitor ..i put a timer (3 millisec)to do this reguraly-so i get it in that interval..later i was asked to do slow/fast
    monitoing..and changed the interval..thats all.. will ur methord do it faster?
    thanks,
    lxs
    lxs

  18. #18
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    i don't see how it could possibly take longer. It should take a lot less time. For example if they are just moving the mouse around the screen, all you would capture would be the screen area where the mouse was, and the new area where it is.
    And if they are not doing anything, reading a text document and not scrolling, etc, then you wouldn't have to transmit ANYTHING. The last part would be real easy to implement. Just check if the screen has changed. If not then no send.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  19. #19

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Unhappy application start while booting

    u r right..my problem is that i dont think i can handle the oring part.. (its way toooo high above my head to understand!!)

    but even then there too i would hav to use a file transfer program..

    i need a super fast file transfer program..

    if i use the file system objects..it cant overwrite exisisting one..and deleting is not possiblble.
    thanks,
    lxs
    lxs

  20. #20

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Lightbulb application start while booting

    i was just wondering how these software people manage to run appln while booting without adding in HKEY_LOCAL_MACHINE or the startup?
    is there any way to do it or am i terribly mistaken?
    lxs

  21. #21
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    lots of ways.
    win.ini has load= and run= commands.
    system.ini has the shell=explorer.exe yourfilennamehere.exe
    etc
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  22. #22

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    52

    Smile application start while booting

    Thanks :-) I am going to try each 1 of the ways..

    Recently a couple of guys kept shutting our appln by entering into the HKEY_LOCAL_MACHINE They used the program in :
    www.twd-industries.com
    I was looking out a way to stop them so we could concentrate on our programs..
    thanks to you all we can do it now.. and i can do a better job by placing my application path where they wont know (so others dont delete it durning presentation!) !

    Will try with each 1 of the solns above,
    :-)
    thanks again!
    lxs
    lxs

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