CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: pacerier

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    24
    Views
    159,184

    Sticky: Re: Helpful Links, Hints & Tips

    Compilation of Vb topics for you to research at your own pace: www.qwepo.com
  2. Replies
    8
    Views
    3,159

    Re: increment operator

    ok thanks, i was thinking that if it had duplicate methods i could then call it innerclass.duplicatemethod since the compiler would realise its duplicate instantly
  3. Replies
    8
    Views
    3,159

    Re: increment operator

    but that way i would have to refer to functions in the innerclass as innerfunction.somestuff() whereby i jus wish to refer to it as somestuff()
  4. Thread: import module

    by pacerier
    Replies
    7
    Views
    1,380

    Re: import module

    but that would spoil my "logic" because i couldn't simply jus strip out all the innerclasses and put them into 1 class, i mean i could but it will feel "weird".

    i have innerclass1 that has f1()...
  5. Replies
    8
    Views
    3,159

    Re: increment operator

    ok thanks alot, anyway, why isn't * allowed in imports like
    imports myclass.*
  6. Replies
    8
    Views
    3,159

    Re: increment operator

    hmm, ok
  7. Thread: import module

    by pacerier
    Replies
    7
    Views
    1,380

    Re: import module

    i've written a class like this:


    public class library
    public class qwe
    end class
    public class asd
    end class
    end class
  8. Replies
    8
    Views
    3,159

    increment operator

    hi all, is there a ++ or -- post/pre-increment operator in visual basic?
  9. Replies
    3
    Views
    921

    Re: extend the function class

    alrite, i will look into the sender thing thanks
  10. Thread: import module

    by pacerier
    Replies
    7
    Views
    1,380

    Re: import module

    sry about that, but how exactly is a class library built? is it like throwing all the different classes within a single file
  11. Replies
    1
    Views
    700

    Re: ctype doesn't work properly

    ok let me rephrase my question. all i need is to be able to change the Panel type into a Control type, arg i cant seem to find a solution for this



    dim test as CType(testpanel, Control))...
  12. Replies
    4
    Views
    1,252

    Re: creating primitive type

    orh ic
  13. Replies
    4
    Views
    1,252

    Re: creating primitive type

    ok thanks for the tip

    but the format of a primitive type is neater than creating a new structure. is there a way that we can change how the compiler works such that it can accept my primitive type?
  14. Replies
    1
    Views
    700

    ctype doesn't work properly

    hi all, i've got a problem here whereby my ctype doesn't work.

    firstly, to replicate my case briefly, i've created an extension of control class


    <extension()> public function getheight(byref...
  15. Thread: import module

    by pacerier
    Replies
    7
    Views
    1,380

    import module

    hello all, i have a module which i wish to import in several projects. is there anyway i could do this?

    the current method that i'm using is that i'm copying over several modules in all the...
  16. Replies
    4
    Views
    1,252

    creating primitive type

    hi all, is there anyway that we can create our own primitive type?

    let's say we call this


    dim test = 4

    then test will automatically be an integer right..

    but i wanted this
  17. Replies
    3
    Views
    921

    extend the function class

    hi all, is there any way to extend upon a procedure itself?

    like i want to be able to do the following



    public sub test()
    msgbox(special())
    end sub
  18. Replies
    13
    Views
    2,289

    Re: multiple declaration

    what's the difference between vb 6 and vb.net? is vb.net a new version of vb6?
  19. Replies
    6
    Views
    1,342

    Re: extend on class size

    so is there a solution to be able to do something like this:



    dim test = new Psize(5, 5)
    test.dosomething()
    dim test2 = new Size(5, 5)
    test2.dosomething() ' should give me an error
  20. Replies
    6
    Views
    1,342

    Re: extend on class size

    hey thanks, but for my case its not just multiply and i have to explicitly name it as Psize and not Size, is there a way to extend a class and at the same time making it only accessible to this...
  21. Replies
    13
    Views
    2,289

    Re: multiple declaration

    hey sry what exactly is the difference between vb and vb.net?

    im using microsoft visual basic 2008, is that vb.net?
  22. Replies
    13
    Views
    2,289

    multiple declaration

    ok this sounds dumb but i just wanted to do something simple



    dim this, that, alll, duno, etc, anddd, more as integer
    this = that = etc = more = 6


    doesn't work, is there a way to do this...
  23. Replies
    2
    Views
    8,117

    creating an array of colors

    ok this is weird, im trying to create an array of colors. approach 2 doesn't work and i do not know why



    'approach 1: works
    Dim list As Color() = New Color() {Color.FromArgb(255, 0, 0),...
  24. Replies
    6
    Views
    1,342

    Re: extend on class size

    well im trying to create a new class psize that could have a method which multiply itself.

    so


    dim test = new psize(50, 50)
    test.multiply()
    'effectively i should get a size (100, 100)
  25. Replies
    1
    Views
    646

    modules within class

    hi all again, is it possible to create a module within a class?

    what i need is something like this:

    public class form1
    public sub i_nid_this_in_many_place()
    end sub
    end class

    i couldn't...
Results 1 to 25 of 28
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured