Save Log Of Tasks?

Jan 24, 2012

My program performs a bunch of task in a loop. After each task completed it saves log/status of task in a text file. The program runs fast but if there is more than 10,000 tasks it becomes slower and it takes a lot of CPU because of frequent I/O operation.

Is there a better way to save the log/status of task without making the program slower? At first i used a textbox control to store the log but the problem is textbox control can not hold a lot of text.

View 2 Replies


ADVERTISEMENT

VBS Script - Delete All Scheduled Tasks Which Start With "My Application Tasks

Mar 19, 2010

Ineed a VBS script that removes all scheduled tasks which start with a specific string.

For example, delete all scheduled tasks which start with "My Application Tasks..."

I wanna use this VBS script in my application uninstaller so all tasks created by my application are removed at the uninstall time, however am not familiar with VBS.

View 1 Replies

Threading Tasks In .net?

Sep 23, 2010

how the threading within vb actually works. am i of the understanding that every time you create an event, through a button control for instance, that this infact creates a seperate process which will run independantly to another. say for instance you had two buttons on a form and each contained code which took 5 seconds to execute. if i were to click one button into action and then the other with a second, would the two processes run alongside one another or would i have to wait for the first code to execute before the second button could be executed?

View 13 Replies

Creating Scheduled Tasks ?

Sep 1, 2011

I am trying to create a vb application that will create sscheduled tasks .Created a windows service and set it to start manually for now.Just as a test, when the timer expires I have set it to start 'Notepad' as a process which I can see listed under processes in the Task Manager, but cannot see it as a scheduled task.What I am unsure whether this is the right way to create a scheduled task and if it why can't I see Notepad in scheduled tasks.

View 5 Replies

Delete Scheduled Tasks?

Feb 2, 2011

Ineed a VBS script that removes all scheduled tasks which start with a specific string.For example, delete all scheduled tasks which start with "My Application Tasks..."I wanna use this VBS script in my application uninstaller so all tasks created by my application are removed at the uninstall time, however am not familiar with VBS.

View 4 Replies

Too Many Excel.exe Tasks Are Opened?

Jan 14, 2011

I have the code below:

Dim i As Integer
Dim objExcel As New Excel.Application
Dim objWorkbook As Excel.Workbook
objExcel.Workbooks.Add()

[code]....

At the end of this routine, eventhough the data was correctly saved to my Data.xlsx file, this routine also opened 15 EXCEL.EXE tasks in task manager.I thought that I had cleaned up before quitting. By the way, whether I write to 1 or 5 or 10 cells in Data.xlsx, 15 EXCEL.EXE tasks would be opened regardless.Is there a way to (easily and) completely close all EXCEL.EXE in task manager before leaving my application?

View 8 Replies

Attaching A Progress Bar To The Tasks Of A Button?

Apr 25, 2009

simple way of attaching a progress bar to the tasks of a button.When I press a button, several tasks will commence and I want a progress bar to show it's... well... progress.

View 5 Replies

Auto-Accept Tasks In Outlook?

Jan 25, 2010

I am writing a VB.NET application that creates a new task item for another user. Is there a way of having this task go straight to their task list without having to open the acceptance email ? ( Would help if such an email is not sent in the first place to avoid cluttering)I found a similar post on experts-exchange forum, though no one was able to answer that till date.I assume that can be achieved using shared Task folder but could not get good examples on msdn to work with.

View 1 Replies

Displaying Multiple Tasks Results

May 13, 2010

I am building an application that will run through various tasks like database backup, zipping some other files and so on.I have the progress bar figured out for each individual task and I have all my tasks working.I am trying to build an interface to display to the user to show them the progress of the entire run.I was thinking like a list box or other object where I could put a green checkbox image or red x image as each tasks runs and is a success or failure.

View 1 Replies

How To Certain Tasks That Do With Datagrid Using A Datagridview Control

Sep 13, 2011

[code]i want some help on how to use the datagridview control to perfom tasks that i usually used to perfom using a datagrid control.i've put tha datagrid version of the code above. If you think it you can achieve it

View 3 Replies

How To Remove Scheduled Tasks Programmatically

Mar 22, 2012

Is there a way to delete an specific scheduled task from Windows XP/W7 ? I am trying to do that via VB.NET. The Idea is create a console app without any external DLL.

View 2 Replies

IDE :: Data Smart Tasks Disabled?

Jan 24, 2008

Main development XP machine died so I got a new XP machine, installed SQL Server 2005 and VS 2005 Pro, and copied my files.Projects in new VS 2005 work except the Data Sources pane won't refresh and won't show all my data sources for an existing project (from the old machine.)

Error: " An exception occurred while trying to update the data smart tasks, they will be disabled. Key not valid for use in specified state."Update: I cannot even add a new data source to a brand new project. This is VS 2005 from my MSDN subscription.

View 5 Replies

In MS Project How Do I Sort Resource Tasks

Dec 11, 2009

How do I assign a priroity to a task for a resource and then sort within MS Project using VB.NET?

View 2 Replies

Javascript - Automate Some Manual Tasks?

Apr 22, 2009

trying to automate some manual tasks. The task to access a web page (asp) login and then get some details from the site. The challenge is that the home page after login is build of 3 frames. when i see the page view source from the edit menu all i see are frame names. Once i right click on each frame and view source i am able to see the complete source - variables javascript function etc. The following code helps me to navigate :

vb.net

Set ie = CreateObject("internetexplorer.Application")

Dim s As String[code]....

After this the page has been logged in. Now to proceed further i have to click a "image" object.

1) I tried qualifying the image like ie.Document..........item("img1").click this doesn't work

2) I tried calling the javascript function directly
ie.Document.all.Item("frame1").Document.parentwindow.execScript "JS_WGorUsers (funcname)", "javascript"

The 1st option gives a run time error and 2nd option says access denied. (if i login manually i am able to click the image.

View 1 Replies

Make A Track Bar That Has 5 Lines Do Different Tasks?

Aug 21, 2010

i have a trackbar that has 5 little lines and i want them to do different things

View 5 Replies

Make ListView Group Tasks?

Apr 27, 2010

I have a problem with ListView Group Tasks in Visual Basic.net. I've created a derived class from ListView wich have collapsible groups, and other features not included in common listviews. I use the LVN_LINKCLICK to catch the Task clic event, but when

View 1 Replies

Multiple Tasks Is One Click Event?

Apr 30, 2010

IS there any method to perform two different tasks in one click event Like By clicking OK button i can do

1- Instantiate a new form

2- Add somthing to listview or can do something else

But these tasks not to me simultaneous. One task at a time Actually these taks will be performed simultanously, but i want one task to be performed at a time, not both?

View 1 Replies

Perform Other Tasks When A Form Is Loading?

Jan 22, 2012

I have a main(frmmenu.vb) form which is the mdi parent of other two forms (namely frmcandidatelist.vb and frmviewcandidate.vb)...........Two forms are displayed simultaneously on frmmenu each separated by split-container(frm-candidate-list.vb on left side and frm-view-candidate.vb on right side)

Frm-candidate-list.vb shows name-list of customers on a datagridview. While i click on a item from that list, details of the respective customers(like name,id,photo,address,etc) is displayed on the right side form(frm-view-candidate.vb).....

But there is a problem. Loading details of a customer takes time(since i have to connect from remote database)... So the whole program becomes hanged(like) till details are loaded.....

View 10 Replies

Program Locking When Performing Some Tasks

Feb 3, 2011

I have a program that has the option to create a restore point. My problem is that when you click on it to do so, the program just locks up until it's finished creating the restore point. I have put a separate form on the program and it has a Marquee Progress Bar Control which I downloaded, so the idea is.

User clicks "Create Restore Point"

frmRestore.show
Marquee Progress Bar goes on and on while the restore point is created
Restore point is done
frmRestore.hide

The thing is, when you click create restore point, the form shows and the program just locks up, onces the restore point is created the form hides again. Could this problem be solved with a Background worker? To be honest I'm not completely sure what it does, I mucked around with the controls but can't seem to find anything useful.

View 3 Replies

Program Locking When Performing Some Tasks?

Nov 23, 2011

I have a program that has the option to create a restore point...My problem is that when you click on it to do so, the program just locks up until it's finished creating the restore point.

View 13 Replies

Read Shared Tasks From Outlook?

Sep 30, 2009

I'm attempting to write a script that will read other peoples' shared tasks from Outlook 2003 and write them to Excel. So far, I've been able to do so for my own tasks, but I'm at a loss with how to find someone else's tasks. [code]...

View 5 Replies

Tasks Required In Implementing A DataGrid?

Sep 14, 2010

I am adding a checkbox column to my datagrid and wondering where I should code in order to give the checkbox some functionality...

View 3 Replies

Catching Parallel Tasks If They Stop Prematurely?

May 16, 2012

I received some good advice previously on parallel.foreach vs Task.Factory.StartNew. I have implemented both and have been surprised with the efficiency of both. I used the following link o try and understand exceptions and incorporate it to be notified if a task stops for any reason the program will detect it. Is there any definitive way to do this without wait() or waitall which will tie off the interface and other tasks running at the same time.

Try
pcounter += 1
Dim factory As Task = Task.Factory.StartNew(AddressOf FileParser.Module1.Main)

[code].....

View 1 Replies

Forms :: DateTimePicker / MonthCalendar Control To Add Tasks

Sep 23, 2009

In my application i like to include the Birthday's schedular... i.e if i click/double click the date in DateTimePicker or in MonthCalendar control an inputbox opens in which we have to enter the birthday person's name to the selected date....

View 3 Replies

Implement Scheduling Tasks Requirement In Application?

Mar 20, 2012

I'm wondering if there is any scheduler control in Vb.Net -MS VS 2005- and if not I hope I can find a one - free - that I could use on my application...

how to implement scheduling tasks requirement in my application..

View 1 Replies

Make A Menu Item To Execute 3 Tasks?

Dec 11, 2009

Can I make a menu item to execute 3 tasks? For instance when I select a file from a ListBox and I press ToolStripMenuItem1, the program will move the selected file to a directory, execute archive.bat file and the move the archived file to another directory? I tried but I can make only one operation - to move the file.

View 6 Replies

Open An Exist Job In The Windows Scheduled Tasks?

Feb 13, 2009

Do you know the answer? I can open the scheduled task by command-line from the VB GUI. What I'm trying to do is to open an exist job from VB GUI, by command-line or any other method, so I can let the users edit the job. I can't figure out how to do it.

View 3 Replies

Running Tasks On Forms Load Event

Sep 7, 2009

I have two forms. On form one, I have a serious of check boxes and in form two I have functions relating to those checkboxes. When the second form loads, I check the Checked State of the Check Boxes, and run the appropriate functions. This is working just fine. The problem I have, is that the second form doesn't show until the functions that have been selected have completed. It would be ideal if the form would load and then run the functions.

I don't think that I could have everything run on startup, but hopefully there is another method. I know I could load the second form and then just run the code in the previous form, but this is less than ideal, because I can't show the second form as .ShowDialog and I want to be able to split up the code into the other form so that it's not so crowded and easier to read on the first one.

View 5 Replies

Visual Studio 2008 - Scheduling Tasks

Nov 22, 2010

I have an application that I need to automate where at a certain time each day, say 6pm, it will run a certain method(which is to check a database for key terms and then access the api to search for these terms). But there is also another process which is running all the time accessing the stream api so when the search is complete, it interrupts the stream and hands over the new terms.

Now I thought of adding the .exe file to windows task scheduler but not sure if that would work. The stream method run indefinitely and at 6pm each day another process needs to run. I thought of using the system.threading.task TaskFactory but when I include it, it shows taskfactory as undefined. ( I do have .net framework 4.0)If it launches using the task scheduler as 6pm with my code logic as follows:

[Code]...

View 1 Replies

VS 2008 Create A Panel Tasks Runtime

Aug 14, 2010

I need to create a custom panel that will let me add items to the 'Panel Tasks' list: how I might accomplish adding items to this list and make it usable during runtime? I look at the Controls.Panel properties, but nothing was immediately apparent and, surprisingly, I wasn't able to find much via Google.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved