Re: Close Access From An ASP Page

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Do this:
Create a text file and call it RunAccessMacro.vbs
Copy your original code into it, changing Server.CreateObject to simply
CreateObject.
Save the file and double-click it to execute it.

Bill Barber wrote:
> Bob;
> It is what I know best which is not a lot. I am hoping that I
> will be able to attend some classes this summer so that I can get
> more up to date.
>
> "Bob Barrows [MVP]" wrote:
>
>> So you did not rule out the "unsafe code" warning?
>>
>> Now I'm confused. ASP usually means "unattended server". If your
>> users are working on the server machine, why are you using ASP code?
>>
>>
>> Bill Barber wrote:
>>> I removed the objAccess.Visible Completely
>>> I Inserted it back in as objAccess.Visible = True
>>> I changed the objAccess.Quit 2 to objAccess.Quit
>>> I may be confused on the hazards. We only have two users on this
>>> system, the administrator and the principal. Usually the Principal
>>> is signed on.
>>>
>>> "Bob Barrows [MVP]" wrote:
>>>
>>>> Bill Barber wrote:
>>>>
>>>>>>
>>>>> The server is used for Homework Assignments, there is very little
>>>>> on it. I do understand the hazzards.
>>>>
>>>> Are you sure? The hazards involve the lack of a user on the server
>>>> to respond to dialogs.
>>>>>
>>>>> Tried both ideas, No Go. This has been driving me crazy. It
>>>>> worked at one time and then something happened.
>>>>
>>>> Be specific. What ideas did you try?
>>>>
>>>> --
>>>> Microsoft MVP - ASP/ASP.NET
>>>> Please reply to the newsgroup. This email account is my spam trap
>>>> so
>>>> I don't check it very often. If you must reply off-line, then
>>>> remove the "NO SPAM"
>>
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so
>> I don't check it very often. If you must reply off-line, then remove
>> the "NO SPAM"

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


.



Relevant Pages

  • Re: Updating column property on table gives error
    ... in code instead of when the append happens. ... Please reply to the newsgroup. ... This email account is my spam trap so I ...
    (microsoft.public.data.ado)
  • Re: Writing a GUID to a SQL table
    ... I strongly suspect that it is SQL Server, ... >> Please reply to the newsgroup. ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.db)
  • Re: Extract words from a .dita file
    ... Please reply to the newsgroup. ... This email account is my spam trap ...
    (microsoft.public.scripting.vbscript)
  • Re: YYYYMMDD
    ... > breakpoint but it dosen't stop it at the breakpoint,should I add ... >> a quicker response by posting to the newsgroup. ... This email account is my spam trap so I ...
    (microsoft.public.scripting.vbscript)
  • Re: Extract words from a .dita file
    ... Huber57 wrote: ... Please reply to the newsgroup. ... This email account is my spam trap ...
    (microsoft.public.scripting.vbscript)