Results 1 to 5 of 5

Thread: Two Modules Clashing

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Posts
    17

    Question

    I Made A IP Pinger And It Resolves The name Of The Server.
    Each One Takes One Module
    but Now I Cant Run Nothing Because The Modules Are Clashing
    And One Sub Thinks Hes Supposed to Do Something From One Module
    but He Has to Do It from The Other One
    What Do I Do?

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Change the syntax

    yep, it's that easy!

    Module1.Yoursub

    Module2.Yoursub

    And you can have like 100 of subs with the same name, same goes for variables and functions and whatever

    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Posts
    17

    Wink How?

    Maybe This Seems Like A Stupid Question To you, But How Do I Do That?

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Posts
    17

    How?

    How?

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Actually you should get an error "Ambigous name found" or something like that, if you try with just
    Yoursub
    What vesion of vb do you have?
    Anyway you should search up all ambigous sub calls and then put the "modulename." before the call, it should show up a list of all public properties of the module
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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