🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.inetsdk.programming.scripting.vbscript
Article #3

Re: Calling one instance of an automation object multiple times

#3
From: Marc Lacoursiere
Date: Thu, 19 Mar 1998 00:00
14 lines
1521 bytes
>In my (limited) VB experience, I've found that moving the Dim vObject into
>global scope works the best for me.  However, the fact that you're
>attempting this from within IE may be your problem.  I don't think that
>VBScript in IE allows CreateObject, for security reasons.

Firstly, my first goal is not to implement this in Internet Explorer.
I want it to be included in a source code generated by Obsydian 3. I
use Explorer 4 for tests purposes. In Obsydian, it's impossible to set
global variables in vb scopes, so, for this this reason, I'm trying to
make it work in explorer in 2 different subs with local variables.

Mark
EPIX inc.
Technical Details
Message-ID: <35112477.1045673@news.total.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <351018a0.12899858@news.total.net> <#JpNniwU9GA.205@uppssnewspub04.moswest.msn.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108cda,7f965f749ffaa0de
X-Google-Attributes: gid108cda,public
X-Google-Thread: 10b423,7f965f749ffaa0de
X-Google-Attributes: gid10b423,public
X-Google-Thread: fd196,7f965f749ffaa0de
X-Google-Attributes: gidfd196,public
X-Google-Thread: fe15c,7f965f749ffaa0de
X-Google-Attributes: gidfe15c,public
From: lacom00@dmi.usherb.ca (Marc Lacoursiere)
Subject: Re: Calling one instance of an automation object multiple times
Date: 1998/03/19
Message-ID: <35112477.1045673@news.total.net>
X-Deja-AN: 335575940
References: <351018a0.12899858@news.total.net> <#JpNniwU9GA.205@uppssnewspub04.moswest.msn.net>
Organization: EPIX
Newsgroups: microsoft.public.inetsdk.programming.scripting.vbscript,borland.public.delphi.oleautomation,microsoft.public.win32.programmer.ole,comp.os.ms-windows.programmer.ole