Results 1 to 2 of 2

Thread: This has to be a simple question to answer.

  1. #1

    This has to be a simple question to answer.

    This has to be a simple question to answer. And I know how to do this in C++ but I don't know how it is done in Visual Basic. So I am not completely lost. It is just that Visual Basic is pretty new to me.

    I have written some functions to do a particular task in a Visual Basic project and I have put them into a seperate module and save it as a file.

    And now I have included the call to that function in another part of code in a pre-existing file.

    When I clidk on File->Make to build an execuatable, the compiler stops on the line where I have typed the function call and says:

    Compile error:
    Sub or Function not defined.
    What additional things do I need to do to define the function?

  2. #2
    I changed the function type from Private to Public and it works.

Similar Threads

  1. it must be a simple answer
    By businessbroker in forum General Broadband Forum
    Replies: 1
    Last Post: 07-17-05, 04:46 AM
  2. This should be simple to answer
    By pinhunter27 in forum Wireless Networks & Routers
    Replies: 0
    Last Post: 03-19-05, 11:40 AM
  3. usb 2 question I think i know the answer
    By mccoffee in forum Broadband Tweaks Help
    Replies: 0
    Last Post: 08-28-02, 12:53 AM
  4. Simple question
    By kryptic in forum Hardware & Overclocking
    Replies: 3
    Last Post: 05-20-01, 02:52 AM
  5. Simple CD Burner Question : Plz Help!
    By Blitz in forum Hardware & Overclocking
    Replies: 8
    Last Post: 12-14-00, 09:02 PM


Posting Permissions

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