Results 1 to 4 of 4

Thread: Msgbox "Permission denied"

  1. #1
    Join Date
    Jan 2009
    Posts
    150

    Msgbox "Permission denied"

    Hi friends,

    I am facing an issue with my try to load any page i am getting the error message as Permission denies.

    Can anyone help me out with this issue.


    Intel Core 2 Duo 2.8 Ghz
    G31 Asrock Motherboard with Intel Chipset
    1gb RAM
    200gb HDD

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Msgbox "Permission denied"

    Sure i will help you out with this issue may i know which programming language are you using it.

  3. #3
    Join Date
    Jan 2009
    Posts
    150

    Re: Msgbox "Permission denied"

    I am trying to use Visual Basic and following are the code

    Code:
    <%
    function d()
    dim answer
    answer=MsgBox ("Hello everyone!",65,"Example")
    document.write(answer)
    end function
    %>
    and i have declared the following things on my first line

    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>


    Intel Core 2 Duo 2.8 Ghz
    G31 Asrock Motherboard with Intel Chipset
    1gb RAM
    200gb HDD

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Msgbox "Permission denied"

    You are getting this message because MsgBox is a Visual Basic command and it does not work in VBScript.For that you need to use response.write command.

Similar Threads

  1. Replies: 3
    Last Post: 20-03-2011, 05:40 AM
  2. Replies: 5
    Last Post: 04-10-2010, 09:22 AM
  3. Replies: 11
    Last Post: 31-12-2009, 02:28 PM
  4. run-time error "70": permission denied...on windows vista
    By Kajj in forum Windows XP Support
    Replies: 3
    Last Post: 31-01-2008, 09:52 PM
  5. Replies: 3
    Last Post: 20-10-2007, 12:58 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,512,386.66648 seconds with 17 queries