Search results for query: *

  1. R

    How to play a sound from a service in Windows 7

    Hello, I created and installed a service. Everything is working properly except playing sounds. How can I play a wav (or any sound file if it's easier) in a vb.net service? I heard it might have something to do with running in a different session than the user that is logged in? How can I...
  2. R

    Memory usage rises constantly.

    This is a simple application that monitors the print queue. Every object is released right away - why would it continue to grow? I'm not storing anything at all. This leads me back to my initial question - I wish I could do a Me.WindowState=FormWindowState.Minimized from a service - is there...
  3. R

    Memory usage rises constantly.

    So your saying it can be perfectly normal for an application to grow to use all of the available memory? I guess the only way to find out would be to let it run on a computer until it uses 100% of the memory and see what happens?
  4. R

    Memory usage rises constantly.

    Ok - so 15 hours ago my program was at 15MB in the task manager. Now it's at 90MB. Are you saying when Windows runs out of memory, then my program's memory will go down, and never before that? Is this normal .Net operation? This looks bad for end users as they only see the memory increasing...
  5. R

    Memory usage rises constantly.

    Hello, Here is my scenario. I made a service that has a timer with an interval of 500ms. When watching the task manager - I notice that every second or so my program uses 4 more kb of memory. I've even commented out all of the code in the timer - the memory usage still goes up (much slower...
  6. R

    Need help with Monitoring Printer Queue

    Hello, I use the code from here: HOW TO: Determine Printer Status and Print Job Status from Visual Basic It all works fine - I need to get the user name of the job. However, they are defined as longs, not strings. I tried using the functions that came with the code, but I haven't had luck...
Back
Top