Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 9th, 2004, 11:55 AM
Registered User
 
Join Date: Jun 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Msgbox Function Problem

I' m trying to display a message using the msgbox function with the following code:

<%
Else
intReturn = MsgBox("#927; #922;#969;#948;#953;#954;#972;#962; #948;#949;#957; #945;#957;#964;#953;#963;#964;#959;#953;#967;#949; #943; #963;#949; #928;#961;#959;#970;#972;#957; #964;#951;#962; #913;#960;#959;#952;#942;#954;#951;#962;", vbOKonly)
End IF
%>

And the result i'm taking back is:

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'MsgBox'
/finesse/FindProduct.asp, line 352

What is wrong?



 
Old June 9th, 2004, 12:40 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ASP runs on the server - you can't pop-up a message box on the server since ASP doesn't interact with the desktop.

For client side display Use Javascript Alert/Confirm function
 
Old June 9th, 2004, 01:12 PM
Registered User
 
Join Date: Jun 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If it is easy for you, please give me an example.

How can i combine vbscript and jscript in a single .asp file?

 
Old June 9th, 2004, 02:43 PM
Registered User
 
Join Date: Jun 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

O.k. The problem is solved.

 
Old July 4th, 2006, 03:35 AM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the same problem. Please would you be so kind as to post a sample of your working solution.
Thanks in advance.



Quote:
quote:Originally posted by theokrtz
 O.k. The problem is solved.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Msgbox rwalker ASP.NET 1.x and 2.0 Application Design 28 March 20th, 2008 01:23 PM
MsgBox problem in ASP.NET amolchikurte ASP.NET 2.0 Professional 2 June 1st, 2007 01:04 AM
Email Link in Msgbox function rweide VBScript 4 March 31st, 2005 02:21 PM
msgbox Ramakrishna.G General .NET 3 September 14th, 2004 02:17 AM
msgbox bph Access VBA 2 February 6th, 2004 03:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.