CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2000
    Location
    Hong Kong
    Posts
    94

    how to buils and register an package??

    Hi:
    Any one can tell me how to build and use an package??
    TX !

    wky086

  2. #2
    Join Date
    Jun 1999
    Location
    Germany (south)
    Posts
    147

    Re: how to buils and register an package??

    Hi,

    create a new package:
    1. create a new class
    2. at the very beginning (top of the source file!) insert (for example) "package com.myCompany.packageName" (of course you can use another name for your package but they say you should use the name of the company domain...)
    3. write your code

    use a package:
    use "import com.myCompany.packageName.*;" or "import com.myCompany.packageName.ClassName;"

    Hope this helps,
    Andi



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

Featured