Article View: alt.lang.basic
Article #609Re: Is it possible in VB 5 ? I do not think so, What do you think?
From: Brady Kelly
Date: Wed, 03 Dec 1997 00:00
Date: Wed, 03 Dec 1997 00:00
27 lines
2233 bytes
2233 bytes
On 27 Nov 1997 03:53:44 GMT, "Kerry" <kerry@canuck.com> wrote: > > >Joachim Flodqvist <joachim@ecs.se> wrote in article ><347C359A.1FEA@ecs.se>... >> John Chen wrote: >> > >> > 1) Can you put a function or sub name in a varible and then evaluate >the >> > variant so it will run the function or sub ?? ?? >or in VB5 you could use an Event, you could evaluate your string and raise >a specified event and your 'Class' (function with attitude) could watch for >its event to be triggered. Theres a good article on it in the November(?) >Visual Basic Programmers Journal. In order to get a response to events raise to call such a function with attitude, will the caller not have to be a WithEvents member of the called function's class? It could get nasty, with the called function not enjoying the disturbance and setting the caller to Nothing... Brady Kelly bkelly@icon.co.za
Technical Details
Message-ID:
<34845e69.8266627@news.icon.co.za>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bcf963$5aa850f0$e33bd4cc@ntmain> <347C359A.1FEA@ecs.se> <01bcfaf0$475cf260$1d0f32cc@PedestrianX.canuck.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1053fc,61c438cbc70e4437 X-Google-Attributes: gid1053fc,public X-Google-Thread: 104586,61c438cbc70e4437 X-Google-Attributes: gid104586,public X-Google-Thread: 10c949,61c438cbc70e4437 X-Google-Attributes: gid10c949,public X-Google-Thread: 110e3b,61c438cbc70e4437 X-Google-Attributes: gid110e3b,public X-Google-Thread: 1143a7,61c438cbc70e4437 X-Google-Attributes: gid1143a7,public X-Google-Thread: 10ab99,61c438cbc70e4437 X-Google-Attributes: gid10ab99,public X-Google-Thread: 10be7f,61c438cbc70e4437 X-Google-Attributes: gid10be7f,public X-Google-Thread: f5f6f,61c438cbc70e4437 X-Google-Attributes: gidf5f6f,public From: bkelly@icon.co.za (Brady Kelly) Subject: Re: Is it possible in VB 5 ? I do not think so, What do you think? Date: 1997/12/03 Message-ID: <34845e69.8266627@news.icon.co.za> X-Deja-AN: 294743112 References: <01bcf963$5aa850f0$e33bd4cc@ntmain> <347C359A.1FEA@ecs.se> <01bcfaf0$475cf260$1d0f32cc@PedestrianX.canuck.com> Organization: An Internet Solution Customer Newsgroups: alt.lang.basic,comp.lang.basic.misc,comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,es.comp.lenguajes.visual-basic,microsoft.public.vb.database,microsoft.public.vb.database.dao,microsoft.public.vb.databa