home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,866 of 10,840   
   Steve Wertz to argusy@slmember.on.net   
   Re: How to create backround application   
   27 Jan 06 16:28:34   
   
   From: swertz@cluemail.compost   
      
   On Sat, 28 Jan 2006 07:38:34 +1030, argusy   
    wrote:   
      
   >The only time I ever had a megabyte plus VB program was when I included a   
   >massive graphics picture in it, instead of making a reference to it.   
      
   The executable is only 92K.  Task manager shows it using 28,nnn K   
   of space.   
      
   >I would expect something in the order of kBs for what you've described   
      
   Yeah - 28,000 of them ;-)   
      
   >you'd get a more helpful response if you were using VB6 or older.   
      
   I mentioned "Visual Basic Express".  Doesn't that translate to   
   VB.NET 2005, basically?   
      
   >VB.net to express versions - look for newsgroups with .net in them   
      
   OK.  I saw other .NET questions in here.  I'll look elsewhere.   
      
   Thanks!   
      
   -sw   
      
   >Steve Wertz wrote:   
   >> Is there a walkthrough or how to that describes the general method   
   >> for creating an application (in Visual Basic Express)  that has no   
   >> initial UI, but runs in the background with an icon in the system   
   >> tray.  A context menu from the notify icon will of course bring up   
   >> an application UI for settings and exiting, etc...   
   >>   
   >> This process will simply change the contents of a text file every   
   >> 5 minutes or so.  I don't think I want a Windows Service, and even   
   >> if I did, I don't seem to have a template for it in the project   
   >> designer.  I thought I saw one once...   
   >>   
   >> I basically have the functionality of one right now by using a   
   >> Windows Form with WindowState=Minimized, Enabled=false,   
   >> ShowinTaskBar=false, and a NotifyIcon (no context menu yet), but   
   >> the application takes up 30megs of memory and doesn't even have   
   >> any code added to it yet.  There must be a more efficient way.   
   >>   
   >> I see some links in the help files and the MSDN site, but either   
   >> the links are broken  or I can't find the link to the sample code   
   >> http://msdn.microsoft.com/library/default.asp?url=/library/en   
   us/vbref/html/vbsamwindowsformssystemtraysample.asp   
   >> (where's the code?)   
   >>   
   >> Anbody have any pointers/links to a working sample or tutorial   
   >> would be appreciated.  What is the terminlogy for such an   
   >> application - it used to be a TSR, but that's pretty ancient.   
   >>   
   >> Also - is this the right forum for visual basic questions?  I see   
   >> several groups with some combination of visual & basic.  Which is   
   >> the correct group?   
   >>   
   >> -sw   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca