Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Scheduling tasks


Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2005, 06:45 PM
leos1981 leos1981 is offline
Newcomer
 
Join Date: Aug 2004
Posts: 9
Default Scheduling tasks


Hi !,

im making and EXE file that runs a schedule at a certain date. i first used the schtask.exe to run this, but the problem is that this requires me to provide a user name and password. This isnt very convenient since if i run it in a .bat file, then anyone who opens that file will get to know my user name and password and if i hardcode it, i would need to recompile the file everytime i change my password or change servers.

Then i used the AT command. This doesnt require me to provide any password or username but it does not have specifies dates (e.g 02/12/2005). just days in the week.

My question is, Is there a way that i can create a schedule task that runs on a specified time and date but doesnt require me to provide any username and password.

Thanks in advance
Reply With Quote
  #2  
Old 02-27-2005, 09:01 PM
Rashka's Avatar
Rashka Rashka is offline
Contributor
 
Join Date: May 2004
Location: Ohio, USA
Posts: 771
Default

Quote:
Originally Posted by leos1981
Hi !,...

...My question is, Is there a way that i can create a schedule task that runs on a specified time and date but doesnt require me to provide any username and password.
The final answer is yes. The more complex answer is, what solutions have you already tried? No need to suggest what you already tried, and waste anyones time, including yours. My starter solution would be, have you tried a DTPicker?
__________________
Brandon

Once you embrace the idea that your customers deserve to die...
...it frees your mind to invent splendidly profitable products - Dogbert
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->