Solved

ProcessMessages ?!

Posted on 2000-04-16
8
127 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
What Security Threats Are You Missing?

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.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
String manipulation in Visual Basic 7 43
Determine Range to Select 5 33
Copy a row 12 52
How to Add / Edit Windows Menu 4 23
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now