Solved

Shell.popup --for message

Posted on 2002-03-14
3
184 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
  • 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

821 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