Solved

ProcessMessages ?!

Posted on 2000-04-16
8
128 Views
Last Modified: 2010-05-02
Is there any function/Method in VB that is similar to the Delphi function/Method - 'ProcessMessages'?
0
Comment
Question by:yafita
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 14

Expert Comment

by:wsh2
ID: 2720318
Yes.. but you have to use subclassing and APIs to accomplish it. You can pretty much intercept Application Level messages.. but there are limitations when it comes to intercepting System Level ones.. <smile>.
0
 

Author Comment

by:yafita
ID: 2720346
So, what do I need to do?!
0
 

Author Comment

by:yafita
ID: 2720353
So, what do I need to do?!
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2720834
Subclassing / API usage is a programming art form unto itself. It is implementing Windows DLLs and using their functionality for your own need or purpose.

In many ways, asking what I need to do (without any specifics).. is like asking what do I need to do Delphi.. or to do Visual Basic.. and that can take months/ years to explain. Perhaps if you are more specific in what you need to do, more assistance could be provided here.

An excellent book on API programming is Dan Appleman's "Visual Basic Programmer's Guide To The WIN32 API".. you can find more about the book .. at this web address:

http://www.desaware.com/VBPGWin32APIL2.htm

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 27

Expert Comment

by:Ark
ID: 2721082
If you are familiar with delphi messaging, you can try this free ActiveX dll:
http://www.vb2themax.com/Downloads/Files/MsgHook.zip
0
 
LVL 6

Accepted Solution

by:
DrDelphi earned 50 total points
ID: 2721417
DoEvents.

Good luck!!

-DrDelphi

0
 

Author Comment

by:yafita
ID: 2721691
Thanks it works :-)
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 2722350
My pleasure.<g>

-DrDelphi
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

920 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

14 Experts available now in Live!

Get 1:1 Help Now