I am writing a small app in VB and I would like to know how I would set it up so that when a user pressed a button, a sechduled task is ran. Keep in mind that this task is already created, I just need it to run.
have you of any ideas in why does my software in vb 2010 still exist in the task manager (process tab), after i closed the program? i noticed it when i want to delete the .exe file.
I was wondering how to set a task in my program, For example if the user selects to take a screenshot on a chosen date and time the program would take that screenshot at the specified date and time. I have a DateTimePicker for my users to select a specific date and time to run the task. Since the date and time includes the date i don't think i can use a timer. And FX Cop said that timer intervals shouldn't be longer then a minute.
I want to create a task scheduler in vb.net and I want to use the windows schedule wizard to schedule the tasks. So, how to link or call the windows schedule wizard in vb.net?
Is there an easy way to do this? I have an application that needs to flash a minimized icon when there is an issue. I saw the VisualStyleElement.TaskBand.FlashButton class example but it just draws an orange rectangle on the form
I am making a security program in visual basic 2008, and am wondering is there anyway i can stop the program appearing in the applications tab in task manager. Theres the option to close the program via the taskbar with a password, I just don't want anyone to be able to just end it from task manager. I know you can stop it somehow cause other programs manage to but how?
This works for XP, VB.NET 2003/2005/2008. This example does not work on Windows Vista. Add a ListView, and Timer to a form. {Timer must have the Elapsed Event}
Code: Public Class Form1 Const WM_COMMAND As Int32 = &H111 Const MF_ENABLED As Int32 = &H0 Const MF_GRAYED As Int32 = &H1 Const LVM_FIRST As Int32 = &H1000 [Code] .....
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)
I have a function coded for on_click operation and it is not cycling all the way through. I have moved various "If" block controls as well as the code itself around several times and I can not figure out how to get it to go all the way through.
As of now, it will check to see if the Company Name is in the database, then check to see if the field is blank, then check to make sure the zip code box is numeric. That's as far as the code goes. I can not get it to cycle through and actually add the row to the database. If I move various lines of codes around, I can get it to add the row, but it will allow the errors such as incorrect zip format as well as blank values also. I need the code to perform the checks, then if all entry is valid, it adds the row.
I am only working on one form as of now, but this exact problem will be applied to several other forms within my overall project. However, if I can not get this one form to work, I will not be able to get the others to work either.
I tried to build my project but it failed and said the exe was already in use by another process. So I looked in the Task Manager and saw several instances of this exe and several instances of another exe that I wrote. Why wouldn't the processes be stopped after I close the programs I wrote. Is there something I can do so that the processes end after I close the program?
Is it possible to code a program so that the name displayed in the Task Manager can be changed mid-process?I have searched for it but everything I found was either someone wanting to hide the name or was for VB6.I am developing a program that will be run in a dozen instances at the same time. There will be two (2) user input forms followed by a processing form containing nothing but a third-party component that we are forced to use to capture our data. What I am trying to do is change the name after the user input to indicate which instance this particular program is. That way, if the third-party component hangs, we will know which instance to kill.
I would like to get my program to run in the background. The EXE file I have created, I want it to run in the background and yet do not want to show the user that the program is running. Like I don't want to have the minimized screen on the task bar. Can I do it in my VB.net program.
I have an application that's using NotifyIcon control. Everything is fine except when I exit the application by the Task Manager, the icon is still in the "system tray" area. I want it to disappear once I exit the application by the Task Manager. [code]...
i created a windows blocker to prevent users access, and only give access to the computer for a certain time if they pay....In the block state taskmgr can not be accessed also no other method can close the blocker. but once the computer is unblocked for use it become vulnerable only to the taskmgr since i have to give access to the taskmgr when the program is not blocking access. Is there anyway to prevent my program from being KILLed in the taskmgr or is there a way to restart the blocker if the user KILLs the program?
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.
A long time ago, on a PC far, far away from Windows, one MS-DOS program (the father) could run / execute / spawn another MS-DOS program (the son). When the son terminated, it could set a return code which could certainly be interrogated by an MS-DOS batch program or, I think, by any father program that invoked it (depending on the language in which that program was written). I have a small utilility which I want to invoke from my application, and, since that utility sets a return code, I would like to interrogate it in my application when the utility terminates. I've looked through the MSDN Library but could not find anything that seemed to cover this situation. Is there a way to do this in Visual Basic 2008 Express
is it guaranted that a task A started before TaskB will be completed before task B assuming the task do the same level of operatons?or in other words is there a chance that a task B will finish before tast A in the assumption that the task calls the same procedure?
I am creating an application in vb.net in which many users can add, update, and modify data stored in sql, but one user at a time. Users have to login to the application and then they can start their work. I want to know how I can monitor their work after they log out, like which user updated the record and at which time.
I've been having huge problems having a VB.NET Windows Forms program run as a scheduled task under XP SP3. The program runs when I set the task up to use my non-admin network username and password, I can see the interface fine (albeit without the desired results - the program requires access to remote shares). When I set the task up with the network administrator account credentials, the task is "Running" but I do not see any interface. It doesn't error - it just kind of sits there happily in the background.
what I would like to do is create a program that runs in the task bar next to the time. What I want this to do is listen for the key stroke combo of CTRL-ALT-T no matter what program they are in. When they hit this key stroke I want the program to do is hide the task bar on the bottom of the screen. you know how you can change the hight to two rows one row and so on but you can also drag it down so it has no rows and can't see it. Then when they hit CTRL-ALT-T it will then display the task bar with what ever the hight wa set to. Just don't know what direction to go to do this.
Need help removing a copy of my program shown on the Task Manager after I close.
I must kill a conflicting program that cannot share the COM port and then reinstate when myprogram ends. To reinstate I use: System.Diagnostics.Process.Start(conflictingPath & conflictingProgram)
In the last line of my Form1.Closed I try to end all with:System.Windows.Forms.Application.Exit()
Not working - each time I run this program it does kill the conflicting program, can do its dialing function and upon closing reinstates the conflicting program. But each time another copy shows under Task Manager.