- What did you expect?
  Create an account
:: Home  ::  Downloads  ::  Your Account  ::  Forums  ::
Google Adsense
  • Home
  • Downloads
  • ExpectationReviews
  • Forums
  • Group29 FAQ
  • MovieReviews
  • OtherReviews
  • Stories Archive
  • Submit News
  • Top 10
  • Topics
  • Web Links
  • New at Group29
    ·Movie Review: Avengers: Infinity War [26]
    ·Movie Review: Incredibles 2 [25]
    ·2018 UCLA vs USC preview
    ·Expectation Review: Avengers: Infinity War [24]
    ·2017 USC vs UCLA preview
    ·Forum Topic: Update your Facebook property
    ·Expectation Review: Star Wars: The Force Awakens [29]
    ·Web Link: WEP Key Converter
    ·Forum Topic: Why does my IPA file get saved as a zip file in IE?
    ·Web Link: BeyondCompare

    ·Rebelscum Breast Cancer Awareness Charity Patch
    ·BBC Interviews J.J. Abrams About Trek And Wars
    ·CEII: Jabba's Palace Reunion - Massive Guest Announcements
    ·Fathead's May the Fourth Be With You!
    ·Star Wars Night With The Tampa Bay Storm Reminder
    ·Stephen Hayford Star Wars Weekends Exclusive Art
    ·ForceCast #251: To Spoil or Not to Spoil
    ·New Timothy Zahn Audio Books Coming
    ·SDCC: Exclusive Black Series Boba Fett With Han In Carbonite Set
    ·Star Wars Art Exposition May 4th

    Hot trends

    Group29 Discussion Board :: View topic - Visual Basic and Windows NT/2000/XP/2003 Services
    Log in Register Forum FAQ Memberlist Search
    Ratings, Links, Free Speech and more

    Group29 Discussion Board Forum Index -> Group29 Tech Tips -> Visual Basic and Windows NT/2000/XP/2003 Services
    Post new topic  Reply to topic View previous topic :: View next topic 
    Visual Basic and Windows NT/2000/XP/2003 Services
    PostPosted: Fri Apr 08, 2005 11:54 am Reply with quote
    Joined: Jun 23, 2004
    Posts: 340


    Dan Fox wrote in chapter 19 of his book Pure Visual Basic, information on how to create a Visual Basic Service. It could be done in VB6 and even VB5 and VB4 32bit, if I recall.

    Here is an article by Dan, VB.NET Makes Windows Services a Breeze talking about the finer points of writing a Visual Basic service using Visual Studio.NET

    I had experience with srvany.exe from the Windows NT resource kit. It really was not a good solution for putting Windows console apps as a service, but it was all we had.

    Microsoft used to supply VB6 code that you could attempt to use to build a service application. It would appear that it is no longer available through MSDN, technet, or support. But now, what would be the point? Use Visual Studio .NET and create a Windows Service application in any language. The framework handles the rest.

    Here are some notes on other console-app-to-NT-Service tools.
    Windows Networking: Create Registered Windows NT Services out of Applications
    VBWire: How to Create Visual Basic NT Services

    A person from our corporate help desk was talking to me about one of our Windows 2000 servers about an issue. I mentioned that we had an app running on the console (renditions services) where you needed to be logged in. He recommended a program called FireDaemon. I would have blown him off, but he said he got it to work with a product I have worked with extensively from 1998-2003. I then gained newfound respect for him.

    FireDaemon is a utility that allows you to install and run virtually any native Win32 application or script (eg. BAT/CMD, Perl, Java, Python, TCL/TK) as a Windows NT, 2000, XP, 2003 & Longhorn service. FireDaemon features easy configuration (via GUI or XML), a low memory/CPU overhead, subprocess prioritisation, custom environments, CPU binding plus monitoring and logging to the event log and on-disk log files.

    The Firedaemon Lite 1.6 "free" version is no longer available from them. But I may go with the trial version. The problem I have is that my app consists of two services that are already services, but need a specific user ID. These services do not work unless the console is logged. I believe the key is that they use the Adobe distiller, which Adobe warns you specifically should not run as a service.
    View user's profile Visit poster's website
    Visual Basic and Windows NT/2000/XP/2003 Services
      Group29 Discussion Board Forum Index -> Group29 Tech Tips
    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum
    All times are GMT - 6 Hours  
    Page 1 of 1  

     Post new topic  Reply to topic  

    Powered by phpBB © 2001-2003 phpBB Group
    Theme created by Vjacheslav Trushkin
    Forums ©
    Group29 Productions

    All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest (c) 2006 by Group29 Productions.

    You can syndicate Group29 Productions news with an RSS Feeder using the file backend.php

    PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
    Page Generation: 0.22 Seconds

    :: HeliusGray phpbb2 style by CyberAlien :: PHP-Nuke theme by ::