User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 375,214 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,254 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 172 | Replies: 1
Reply
Join Date: May 2008
Posts: 2
Reputation: tratak is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tratak tratak is offline Offline
Newbie Poster

Versioning

  #1  
May 13th, 2008
Hello !

Help me with some sample, please !

I want a sample code, if it is possible, to access a same function (same name of functions) in different modules, by date.

Ex. for date 31.01.2008 I want to use function "MY_FUNCTION_A" from module 31012008;
for date 01.07.2008 I want to use function "MY_FUNCTION_A" from module 01072008;

I want to create a dll with many modules, each for a starting date but each with the same set of functions (the same name of functions). The proper function is selected by an other code - and this I don't know how to do - using the date.

How can I do a dll, a function or module to accesing a function with the same name but from the module that has a specific date ?

Ex. Call in a form
Return_array_parameters() = MyDll.ExecuteFunction(Now(), "MY_FUNCTION_A", Input_array_parameters(), Output_array_parameters())
;

In the MyDll.dll project I have modules:

"31012008" (a name in a correspondance with date) with functions:

MY_FUNCTION_A;
MY_FUNCTION_B;
...;

another module

"01072008" (a name in a correspondance with date) with functions:

MY_FUNCTION_A;
MY_FUNCTION_B;
...

Thank you very much !
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2008
Posts: 33
Reputation: KillerOfDN is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
KillerOfDN KillerOfDN is offline Offline
Light Poster

Re: Versioning

  #2  
May 18th, 2008
Have you tried using a Select Case statement in the classes Constructor?
Perhaps you could then use

ModuleName.MethodName()

Hope this did'nt over simplify your problem!

Regards
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb VB.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 3:04 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC