Solved

Shell.popup --for message

Posted on 2002-03-14
3
195 Views
Last Modified: 2008-03-17
I am developing a VB application where i need to give a pop-up message on the arrival of a new message, for which i have the following code,

wshShell.PopUp("You have got a new message", 5, "New message Arrival", 0 & 64) = 1

The code works fine.
But, i also get the following error message after displaying the message for the specified no. of seconds. The error message is

" Run-Time error 451
Property let procedure not defined and Property get procedure did not return an object "
0
Comment
Question by:RanjiniPraba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 25 total points
ID: 6865223
Try:
dim ws
set ws=createobject("wscript.shell")
ws.PopUp "You have got a new message", 5, "New message Arrival", 64
0
 

Author Comment

by:RanjiniPraba
ID: 6867548
thank you, your code worked out
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6867938
glad to help.
Thanks for "A" grade!
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses
Course of the Month5 days, 10 hours left to enroll

627 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