Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional VB.NET, 2nd Edition or 2003
This is the forum to discuss the Wrox book Professional VB.NET, 2nd Edition by Fred Barwell, Richard Case, Bill Forgey, Billy Hollis, Tim McCarthy, Jonathan Pinnock, Richard Blair, Jonathan Crossland, Whitney Hankison, Rockford Lhotka, Jan D. Narkiewicz, Rama Ramachandran, Matthew Reynolds, John Roth, Bill Sheldon, Bill Sempf; ISBN: 9780764544002
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional VB.NET, 2nd Edition or 2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 24th, 2005, 07:09 PM
Registered User
 
Join Date: Jul 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows Services in VB.Net

In the book "Professional Vb.Net 2003", in the chapter on Windows Services, it says (p 750), "it is possible to create a Windows Service with a user interface but Visual Basic.Net (VB.Net) cannot be used to do it; we'll discuss why later on."

I haven't been able to locate this discussion, which I was most interested to read, since I have developed a Windows Service with a UI entirely in VB.NET. This is used for data logging and has a fully functioning user interface to enable the user to change logging parameters.  It works by creating a System Tray Icon that the user can use to bring up a UI Form.  Although I am using the 2005 Beta 2 version, I don't believe that makes any difference.

What I want to know if it is correct that my Service with a UI should not be working, and if so, under what conditions will it fail.

Can anyone help?
Reply With Quote
  #2 (permalink)  
Old October 7th, 2005, 01:38 AM
Registered User
 
Join Date: Oct 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Jimmy,
I read your topic and found very useful coz since 2 days i am trying to find out some this very similar ..as you told in your topic that u have been working with windows service with inerface..i have to implement same ...but not able to find a right approach..
Please help me and send a sample solution which u have worked on, in the same column or in my personal Id-pjethlia@mahindrabt.com

It would be gr8 help..
Looking for your reply as early as possible

Reply With Quote
  #3 (permalink)  
Old November 30th, 2005, 07:52 AM
Registered User
 
Join Date: Nov 2005
Location: Witney, Oxfordshire, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, I'm trying to create a windows service with a form just to display a progress label -- I can create the form object, and if I test it's visible value it says it is visible, but it isn't! Can you tell me how you managed this? Is it possible without the system tray? Thanks, Justin Hemming, Thinking Software.

Reply With Quote
  #4 (permalink)  
Old March 7th, 2006, 10:33 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi jimmy777,

I would like to implement a program that monitor file reading program. the program is implemented using window service. While window service is running, I would like to show a tray icon to show the status of window service. When right click on tray icon, a window form will prompt out showing the information of window service such as date created and name of window service.

I wonder how you implement your system? If can, please provide some simple program or tutorial. You can email me at green_merlin1982@ahoo.com.

Thanks in advance for any help...



Quote:
quote:Originally posted by jimmy777
 In the book "Professional Vb.Net 2003", in the chapter on Windows Services, it says (p 750), "it is possible to create a Windows Service with a user interface but Visual Basic.Net (VB.Net) cannot be used to do it; we'll discuss why later on."

I haven't been able to locate this discussion, which I was most interested to read, since I have developed a Windows Service with a UI entirely in VB.NET. This is used for data logging and has a fully functioning user interface to enable the user to change logging parameters.  It works by creating a System Tray Icon that the user can use to bring up a UI Form.  Although I am using the 2005 Beta 2 version, I don't believe that makes any difference.

What I want to know if it is correct that my Service with a UI should not be working, and if so, under what conditions will it fail.

Can anyone help?

Reply With Quote
  #5 (permalink)  
Old May 10th, 2006, 11:28 AM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I too would be interested in this subject. Our company is now requiring use to write services but I would like to have a service that has a system tray icon that I can open and if need be pause or stop a process but only when it is finished.
Please send information to jboden@imcwv.com.

Thanks Jim

Reply With Quote
  #6 (permalink)  
Old June 28th, 2006, 01:56 PM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by jimmy777
 In the book "Professional Vb.Net 2003", in the chapter on Windows Services, it says (p 750), "it is possible to create a Windows Service with a user interface but Visual Basic.Net (VB.Net) cannot be used to do it; we'll discuss why later on."

I haven't been able to locate this discussion, which I was most interested to read, since I have developed a Windows Service with a UI entirely in VB.NET. This is used for data logging and has a fully functioning user interface to enable the user to change logging parameters.  It works by creating a System Tray Icon that the user can use to bring up a UI Form.  Although I am using the 2005 Beta 2 version, I don't believe that makes any difference.

What I want to know if it is correct that my Service with a UI should not be working, and if so, under what conditions will it fail.

Can anyone help?

Hi Jimmy,

I have to create similar windows service which can show UI.
It will be really helpfull if you can share your knowledge/code on as how did you create same.

you can reply me @ bachelor_25m@yahoo.com

Thanks

Reply With Quote
  #7 (permalink)  
Old June 17th, 2008, 10:56 AM
Registered User
 
Join Date: Jun 2008
Location: SAINT PAUL, mn, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI Jimmy,

  can you please send me sample code to kesava.kumarreddy@gmail.com.

  It is very urgent for me.
   Thanks in advance...

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing vb.net console app via report services rickyc1 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 March 31st, 2006 02:56 AM
VB.NET Beta 2 and web services anin .NET Web Services 0 May 17th, 2005 09:42 AM
VB.Net question on Windows VB.Net datagrids dmsousa VS.NET 2002/2003 1 January 19th, 2005 01:45 PM
Windows VB.Net Sheikha General .NET 0 December 19th, 2004 11:54 PM
.Net Windows Services Revisited - Help Rhonda Fischer General .NET 0 September 1st, 2004 12:36 PM



All times are GMT -4. The time now is 09:37 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.