🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #612

Re: Is it possible in VB 5 ? I do not think so, What do you think?

#612
From: Craig Luna
Date: Wed, 26 Nov 1997 00:00
29 lines
2315 bytes
Get a Sax Basic control and use its VBA like capabilities.  This is good
for runtime expression evaluation or even mini-programs.  If you need a
large set of VB capabilities you will have to license VBA.

Craig Luna




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 ?? ??
>         dim strFuncName as string
>         strFuncName = "test"
>         how do you call function test ?? ( the function has to be in a varible)
> 
>         function test() as integer
>                 return 4
>         end function
> 
> 2)  Can you evaluate a expression at run time.
>         dim x as string
>         dim y as string
>         x= "text1"  ' x is the name of a text box
>         y = "Caption"    'y if  a property of the text box  or
>         y = "text"    'y if  a property of the text box
>
Technical Details
Message-ID: <347C8695.15E22C4@mc2-ice.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bcf963$5aa850f0$e33bd4cc@ntmain>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104586,d304b51b5fb73653,start
X-Google-Attributes: gid104586,public
X-Google-Thread: 10c949,af707bca1abfec30
X-Google-Attributes: gid10c949,public
X-Google-Thread: 1053fc,d304b51b5fb73653,start
X-Google-Attributes: gid1053fc,public
X-Google-Thread: 10be7f,2c1932087d4de2ab
X-Google-Attributes: gid10be7f,public
X-Google-Thread: 10ab99,af707bca1abfec30
X-Google-Attributes: gid10ab99,public
X-Google-Thread: 1143a7,d304b51b5fb73653,start
X-Google-Attributes: gid1143a7,public
X-Google-Thread: f5f6f,d304b51b5fb73653,start
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: 110e3b,af707bca1abfec30
X-Google-Attributes: gid110e3b,public
From: Craig Luna <cluna@mc2-ice.com>
Subject: Re: Is it possible in VB 5 ? I do not think so, What do you think?
Date: 1997/11/26
Message-ID: <347C8695.15E22C4@mc2-ice.com>
X-Deja-AN: 292946157
References: <01bcf963$5aa850f0$e33bd4cc@ntmain>
To: John Chen <johnxhc@primenet.com>
X-Complaints-To: root @news.accessus.net
X-Trace: news.accessus.net 880576293 18339 (None) 208.4.37.66
Organization: accessU.S., Inc. 
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