.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 28th, 2009, 10:32 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
Click here for more information.
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,198 nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)  Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 8 h 39 m 27 sec
Reputation Power: 719
Windows Forms/VB.Net - Create Windows Task Scheduler

Hi everyone

I need to create a new windows task to run a download exe of mine every night at 12PM.

I would like to create this task programatically using VB.Net without any user input.

Is there an object I can use to accomplish this? I have found some solutions, but they are mostly C#, I would really appreciate if some can give me a VB.Net example.

Thanks.
__________________
Look! Its a ShemZilla



Reply With Quote
  #2  
Old June 29th, 2009, 01:19 AM
markWilson markWilson is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 247 markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 14 h 10 m 55 sec
Reputation Power: 82
Quote:
Originally Posted by nofriends
Hi everyone

I need to create a new windows task to run a download exe of mine every night at 12PM.

I would like to create this task programatically using VB.Net without any user input.

Is there an object I can use to accomplish this? I have found some solutions, but they are mostly C#, I would really appreciate if some can give me a VB.Net example.

Thanks.


can u tell me wht it is exactly in C#
__________________
if you found this post is useful click (right side on this reply ) and agree

web development help , Coding Stuffs
Thank You,
KiranK

Reply With Quote
  #3  
Old June 29th, 2009, 02:42 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
Click here for more information.
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,198 nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)nofriends User rank is Major General (70000 - 90000 Reputation Level)  Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1Folding Points: 175451 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 8 h 39 m 27 sec
Reputation Power: 719
I downloaded the DLL, added it as reference and converted some of the example c# code to VB, working now and creating the schedule, thanks for looking at it though

Last edited by nofriends : June 29th, 2009 at 07:32 AM. Reason: problem solved

Reply With Quote
  #4  
Old June 30th, 2009, 01:39 AM
markWilson markWilson is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 247 markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 14 h 10 m 55 sec
Reputation Power: 82
Quote:
Originally Posted by nofriends
I downloaded the DLL, added it as reference and converted some of the example c# code to VB, working now and creating the schedule, thanks for looking at it though


good, can u tell me how u can do this?

Reply With Quote
  #5  
Old July 27th, 2009, 10:45 AM
DukeAmes DukeAmes is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 1 DukeAmes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 39 sec
Reputation Power: 0
Quote:
Originally Posted by nofriends
I downloaded the DLL, added it as reference and converted some of the example c# code to VB, working now and creating the schedule, thanks for looking at it though


I'm having issues with creating a task from asp .net.

In the future, when you take the time to let us know you've solved your problem, please add the solution.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Windows Forms/VB.Net - Create Windows Task Scheduler


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT