Results 1 to 3 of 3

Thread: Help with SetPixel

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    2

    Help with SetPixel

    VB wont let me declare the stuff that it says to in the tutorials for some strange reason.......

    Compile Error:

    Constants, fixed-length strings, arrays, user-defined types and declare starements not allowed as public members of object modules.

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Put that code in a module.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    Megatron
    Guest
    Or declare it as Private, e.g:
    Code:
    Private Declare Function...

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