PC Review


Reply
Thread Tools Rate Thread

Declaring objects

 
 
Albert
Guest
Posts: n/a
 
      23rd Aug 2004
following problem
in the project i have a reference to 2 dll's which each have a function e.g.
dll_one with function tst_one
dll_two with function tst_two

now in my main app i have to following sub

Start_obj(byval sName as string)

I want to use either tst_one or tst_two, depending on sName which is either
"dll_one" or "dll_two"

normally I would use it as follows:

dim oFunc as new object

oFunc=dll_one.dll_one(or two)

oFunc.tst_one (or two)

How do i define oFunc using sName?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Declaring Constants: objects =?Utf-8?B?Y29tcGFyaW5pMzAwMA==?= Microsoft Excel Programming 1 19th Jul 2006 03:32 PM
Declaring Objects =?Utf-8?B?U2hhcm9u?= Microsoft Excel Programming 11 16th Mar 2005 03:16 AM
Declaring inherited class objects =?Utf-8?B?TWFyayBCcmVtbWVy?= Microsoft C# .NET 3 4th Jan 2005 06:36 PM
Passing, Declaring, and Assigning Objects tfrank Microsoft Excel Programming 0 1st Nov 2004 06:45 PM
declaring objects const? Karl Hungus Microsoft C# .NET 1 10th May 2004 08:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:35 PM.