Solved

Application.OnTime in VB

Posted on 2002-03-08
9
362 Views
Last Modified: 2012-06-27
In VBA you could use Application.OnTime.
How do i do this in VB, when i want something to happen on a certain time for example every morning at 06:00??
Is there any function for this to be done whitout using an timer control?
0
Comment
Question by:Johan_Ihlberg
9 Comments
 
LVL 2

Accepted Solution

by:
tppradeep18 earned 50 total points
ID: 6850025
The following link gives nice information about how to use timer event without using timer control. HOpe ths helps.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q180736
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6850097
you better use the scheduler from Windows that will launch your app at 6.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6852252
I am with emoreau, but if you insist to use code follow previous link.
Cheers
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6869336
please maintain
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 69

Expert Comment

by:Éric Moreau
ID: 7060554
This question appears to be abandoned. A question regarding it will be left in the Community Support
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7061035
I would like to see splitting points between emoreau and tppradeep18 since both provided valid solutions.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 7061688
Personnaly, I would not use a VB app itself to wait for its time. I prefer having a scheduler, schedule the job, and free resources after the job is complete. Also, when schedule, the PC doesn't need to be logged.

But I don't have problem splitting points.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7063828
As you could see, my first comment goes in the same way of thinking like yours. I like the split stuff since both of you deserve the points.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7065642
Thank you both, points have been split.

Points for emoreau -> http://www.experts-exchange.com/jsp/qShow.jsp?qid=20309549

Moondancer - EE Moderator
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now