Solved

MsgBox never gets called within my ActiveX DLL

Posted on 2003-10-21
2
232 Views
Last Modified: 2010-05-01
I have a very strange problem with my Visual Basic 6.0...
I have commented all the code so I am basically left with somthing like this
in my DLL class ...

Public Function TestFunction ( ...some parameters here ...) As Boolean
    MsgBox "This never gets called!!"
End Function

The strange part is the MsgBox never gets called...I pass in a string (call by reference) and I
am able to assign to it no problem so I know the function itself is being invoked...Is this due
to a bug? or am i missing somthing very obvious here?? I am quite certian i was able to use MsgBox with DLL calls before so perhaps I have some incorrect settings..please help

Thanks
CN
0
Comment
Question by:const71
2 Comments
 
LVL 4

Accepted Solution

by:
TigerZhao earned 30 total points
ID: 9595676
Project\Project1 Properties...
General Tab
uncheck "Unattended Execution"
0
 

Author Comment

by:const71
ID: 9595690
Great,

That fixed it :)


Thanks alot
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…

860 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