Results 1 to 3 of 3

Thread: Object variable

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2001
    Location
    Sweden
    Posts
    174

    Object variable

    Is something like this possible?

    VB Code:
    1. dim foo as winsock
    2. set foo = new winsock

    I would like to use winsock in a class, but i don't want to place one on a form or something.
    [In time of development time stands still]

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: Object variable

    Nope, controls need to be added to something in order to be used. Be it form, usercontrol, whatever.

    There are several classes out there that wrap the winsock APIs. Take a look at them.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2001
    Location
    Sweden
    Posts
    174

    Re: Object variable

    I see, i will look on to that. Tnx!
    [In time of development time stands still]

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