C# - Simple Application That Run In Windows Task Bar
Feb 19, 2011
I want to write a very simple application, containing a pop-up menu when user click on it, that will appear in windows task bar, exactly like language bar, this is the only need. it does not contain any more functionality at the time being. Does anybody know where to start or do you have any sample code for it.
I am an intermediate programmer with a basic understanding of VB.NET, however, I am having a problem with a special loop named "recursive".
To select the 3rd subitem/node inside a control named "CrumbBar", I have to: CrumbBar1.SelectedItem = CrumbBar1.Items(0).SubItems(0) CrumbBar1.SelectedItem = CrumbBar1.Items(0).SubItems(0).SubItems(1) CrumbBar1.SelectedItem = CrumbBar1.Items(0).SubItems(0).SubItems(1).SubItems(2)
And go through all items, but I need to do this in a LOOP. And I don't know how many nodes I will have to go inside. So I wanna know how can I loop the above code?
is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
I have written an application in Visual Basic 2010 that I would like to hide from the Task Manager Application Tab, if possible. It's fine if it is listed in the Processes tab.
The purpose of the application is to allow users to postpone a restart following software update installations that require restarts. The application includes a form the user's must interact with so it can't be permanently hidden from view on the desktop. I am basically looking to mimic the WSUS Windows Update dialog which allows users to postpone restarts.
VB6 has app.taskvisible which is no longer included in VB 2010. I have seen a lot of discussion around this topic but no real solutions.
I've just completed my first multi-threaded task under windows. Historically I am a VMS Engineer. You could multithread in drivers in VMS but VMS never had formalized threads. Which means it never had applications threads. Threads will become increasing important in the future. I thought this maybe a good time to discuss them. Not having access to sources hurts in terms of the amount of depth one can achieve in Windows. Some of the topics for this thread might be...compute resource regulation, how to do multi-threading and of course things to watch out for.
I have an import program which I run manually everyday. I want to automate it but i'm not sure whether to make it a windows service or add it as a scheduled task. It needs to run at 11:00 and again at 16:00. Please advise
At my school people use the keyboard shortcut (CTRL+Shift+ESC) to open Task Manager. We are not allowed to use it so we get a message box saying that we do not have permission to do that. People hold down the buttons, so that a long line of hundreds of popups open. What code do i need to close all of the popups when a button is pressed?
I'm upgrading from Windows XP 32-bit to Windows 7 64-bit, and I'm using VB in VS 2008. Under XP, I used the Task Scheduler to run a program at 3pm every weekday, and it ran fine. Now in W7, when the Task Scheduler runs the programs, it encounters an exception when it gets to the code MyForm.ShowDialog(). The error is:
System.InvalidOperationException was unhandled Message="Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application." Source="System.Windows.Forms"
When I run the program from a shortcut with the same parameters as in the Task Scheduler (i.e. the shortcut runs the .exe file with some paramters after it), it runs fine, so I'm guessing there is some setting in the Windows 7 Task Scheduler I need to set, but I can't find it. I've tried checking "Run with highest privledges" (and unchecking it), but that didn't help. I have tried it with the "Hidden" box unchecked and checked and that didn't help. I've also tried it with "Configure for" set either way (Windows 7 or Vista). So how do I get rid of this error?
I have set up several tasks on a new installation of Windows 7 and they are working as expected.But when I attempted to run a batch file it fails. It works fine from the command line and I can run it from the scheduler on Windows XP manually (although not on the timer yet).What is about batch files that I need to know to make them run from the Task Scheduler?
I only know how to add your program to windows task scheduler to schedule automatic execution but what if you wanted to have a particular thread run on a weekly schedule. Someone mentioned windows powershell for all these types of scripting; but it seems too hard to learn on short notice.
Just finishing off an update to an application written in VB.NET that used to run fine under CE.NET 4.2. Deployment platform is now Windows Mobile 6.1. The application runs in full screen, however whenever a new form is opened, the task bar, i.e. the bar with the start button comes to the fore and then the new form takes over. This is particularly annoying as I have a form that has many sub forms which are 128,128 and still the task bar flashes and obscures part of the user input screen
I'm using VB 2010 and simply want to have a button on the form that says Minimize.I want the form to minimize to the task bar or the notification section .I've looked at other ideas, but the code is for prior versions of VB (2003 and 2005) and some for C #Could you please email me some sample code to handle this?
I create a form and set the border style to FixedSingle , this form dosen't have (control box) and when i want to unload this form i should press ALT+CRLT+DEl and cancel it form process tab ( not Applications tab) how can i set my program in application tab in task manager?(show in taskbar is true)