Search : in
By :

How to create function in runtime in Vb6.0

Last answer on Apr 16, 2009 1:53:41 pm BST jmbritto, on Feb 24, 2009 4:20:20 am GMT 
 Report this message to moderators

Hello sir,
Have a good day. i m britto working as software programmer in Vb6.0
In VB6.0, i have some procedure like
sub a_on
msgbox"A"
end sub

Sub b_on
msgbox"B"
End sub

dim str as string
'str may be a_on or b_on

str="a_on"
i m planning to call procedure a_on or b_on based on the variable str
how to call the procedure a_on or b_on depending on variable

Configuration: Windows XP
Firefox 3.0.5

Best answers for « How to create function in runtime in Vb6.0 » in :
[VBA/VB6] My Documents + Environment Variables Show[VBA/VB6] My Documents + Environment Variables With VBA With VB6 Environment Functions Windows Variables Getting started As displayed in Windows Explorer, the My Documents folder appears to be in the root, but it is not the case. It...
USB host controller ShowUSB host controller When connecting a USB 2.0 device, Windows displays the following message: Install a high speed USB host controller or This device will function at reduced speed if you do not have high-speed controller installed...
Soople.com - All Google function Showsoople.com - All Google function Soople is a website that offers all the functions of Google with a more simplified and attractive graphical interface(see below). It has been created for people who are not familiar with Google. This...
Download Notesbrowser ShowNotesbrowser is an entirely free personal information manager. It includes a notepad, calendar, listing creation function, song list manager. Each category has 3,200 fields. Moreover, it allows you to add notes to the calendar and make quick...
Creating a local area network ShowWhy set up a local area network? When you have several computers, it can be convenient to connect them to each other to create a local area network (LAN). Setting up such a network costs very little, contrary to what people may think. Here are a...
Creating a LAN ShowWhy set up a LAN? If you have several computers, it may be worthwhile to connect them in order to create a local area network (LAN). Setting up such a network is much less expensive than what you might think. Here are a few ways you might benefit...
Creating a WiFi network in infrastructure mode ShowPresentation of the WiFi infrastructure network The set-up of a Wi-Fi network in infrastructure mode is very similar to that of a computer-to-computer Wi-Fi network except for the following differences: A Wi-Fi network in infrastructure mode...

1

 Peeyush, on Apr 16, 2009 1:53:41 pm BST
  • +3

Hi britto,

You can use CallbyName ..

-Peeyush

Reply to Peeyush