|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Create common functions libraryDear all,
I want to create some kinds of common functions like "Instr" function in microsoft.visualbasic library. I create a new project and a module to store all these kinds of functions inside. But when I import this library in another project, it can find the functions inside. And I try put the keyword "shared" in the function declaration, but it didn't allow me to do so. But I check with the help. The "instr" function is put in the module "String " under the library "microsoft.visualbasic " and declared as "Public Shared Function". I don't know what's wrong in my procedures. Anyone would help? Thanks Best Rdgs Ellis "Ellis Yu" <ellis***@transfield.com> schrieb: Make sure the module's access modifier is set to public. When omitting the > I want to create some kinds of common functions like "Instr" > function in microsoft.visualbasic library. I create a new project and a > module to store all these kinds of functions inside. But when I import > this > library in another project, it can find the functions inside. modifier, the module will be marked as 'Friend': \\\ Public Module Foo Public Sub Goo() ... End Sub End Module /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Only 2 Days left to get REALbasic 5.5 for FREE!
Execption Handling disection File Path (Application Path) Dependency Error: The dependency <dll> in project <project> cannot be coppied to the run directory b Data Relation question enum item from string Re: THE GREATEST NEWS EVER! °º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°` No one Find Directory created by me... Update Command with Parameter.... run file remotely |
|||||||||||||||||||||||