New topic: 

Service help.

<http://forums.realsoftware.com/viewtopic.php?t=36569>

         Page 1 of 1
   [ 6 posts ]                 Previous topic | Next topic          Author  
Message        waveuponwave          Post subject: Service help.Posted: Wed Dec 
08, 2010 7:18 pm                                 
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 616
Location: Virginia, USA                I would like to make a windows app into 
a windows service. Any suggestions? Thanks.      
_________________
RB 2010 r4 Enterprise on Win 7  
                             Top                scarroll          Post subject: 
Re: Service help.Posted: Wed Dec 08, 2010 10:31 pm                              
   
Joined: Sat Apr 18, 2009 9:54 pm
Posts: 26                There was an OCX for VB that made this possible. It 
was very simple and the source code was freely available. It provided the event 
hooks need to respond to service requests. I'll see if I can dug up the code, 
granted, I haven't used ActiveX OCXs on RB.   
                             Top                 waveuponwave          Post 
subject: Re: Service help.Posted: Wed Dec 08, 2010 11:22 pm                     
            
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 616
Location: Virginia, USA                Wow, I didn't think it would be such an 
obscure thing to do with RB. Thanks for the input. Any suggestions would be 
appreciated.      
_________________
RB 2010 r4 Enterprise on Win 7  
                             Top                scarroll          Post subject: 
Re: Service help.Posted: Thu Dec 09, 2010 12:46 am                              
   
Joined: Sat Apr 18, 2009 9:54 pm
Posts: 26                The original code was released in 1997 as an OCX in 
the Microsoft Developer Network as the free NTSVC.ocx component. You can do a 
google search for ntsvc.ocx to find examples and its usage, limitations.   
                             Top                 timhare          Post subject: 
Re: Service help.Posted: Thu Dec 09, 2010 1:09 am                         
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 8770
Location: Portland, OR  USA                Assuming you are starting from a 
Console application, change the super of your app object to ServiceApplication. 
  
                             Top                waveuponwave          Post 
subject: Re: Service help.Posted: Thu Dec 09, 2010 1:52 am                      
           
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 616
Location: Virginia, USA                Sounds great Tim. Then when I compile it 
what do I do with it so windows will recognize it as a service? Thanks!      
_________________
RB 2010 r4 Enterprise on Win 7  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 6 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to