Results 1 to 2 of 2

Thread: global functions(?)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145

    global functions(?)

    Hi all,

    I finally finished with my vb.net project and I noticed that I've been including same function in all my pages. I wanted to clean this up and include some global page to include functions that can be accessed by all pages in my project.

    Could someone please help me on how to do this or could someone please point me to some articles on how to accomplish this.

    I really would appreciate some inputs.

    Thanks a lot.
    Marivic

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    if I got it right, you want a list of functions accessible to all of your project?
    well you can make a module and put all the functions in that module. If they are all public I believe you can access them all anywhere in your project. You could also starts a Class Library project and declase the class as MustInherit. Then you can put all the code in there and make a dll out of it (dunno if this is the right way to make dll files though)
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width