Search:

Type: Posts; User: nforystek

Search: Search took 0.01 seconds.

  1. Re: Sign and Signn Functions (w/o IF's, math only!)

    If you're up for a challenge I have this other one I cheated on and I am certain I didn't cheat once before I just kind of forgot how. AbsWhole and AbsDecimal. In VB it is easy a cheat AbsWhole =...
  2. Re: Sign and Signn Functions (w/o IF's, math only!)

    -63.34 comes up "Invalid procedure call or argument." Fixed that.
  3. Re: Sign and Signn Functions (w/o IF's, math only!)

    Cohesion it does. But I made that one up. I am no ancient mathematician too so that is what they had too. :) Sign Negate. It might exist or in theory is basic as is. Return won't be the sign passed.
  4. Sign and Signn Functions (w/o IF's, math only!)

    Calculus functions include no programming statements,
    so I just had to figure out these for myself for proof!!!!

    Abs = (-((-(Value * -1) * Value) ^ (1 / 2) * -1))
    Sign = ((-(Abs(Value - 1) -...
  5. Replies
    14
    Views
    23,180

    Re: VB6 - Random GUID Generator

    Check out the PoolID sample output (I think it is pretty cool, repeats when unloaded and loaded another object to generate but not if the same object stays in memory generating)
    ...
  6. Replies
    14
    Views
    23,180

    Re: VB6 - Random GUID Generator

    I guess I still don't believe, here's why:



    That doesn't make sense, like... "really?" I think what you have here is the difficulty and wide use of it, at the fault level of we need them to...
  7. Re: Using Implements the intended way - FIXED

    You guys are thinking hackers aren't you? Backward compatibility when done right, plays like not failing it up and running and in reach better more by those already reached not now excluded, for...
  8. Re: Using Implements the intended way - FIXED

    That's real, if you call Class1_DoThis, it doesn't execute any thing other then what is in Class1_DoThis, when if a outside component calls the interface of that in turn calls Class1_DoThis then you...
  9. Replies
    15
    Views
    1,355

    Re: Clone VB6 Objects In Memory

    Well I tried your code but you didn't declare the API for me, or LongPtr and RtlMoveMemory/CopyMemory can be declared a lot of different ways, needless to say, right at the end, it crashed.
    To...
  10. Replies
    14
    Views
    23,180

    Re: VB6 - Random GUID Generator

    Crimping was everywhere in the 80's it was way more powerful then the internet SSL it was AquaNet VSSL, (Vidal Salon Style by LO'REAL), best hair style ever too!
  11. Replies
    19
    Views
    2,759

    Re: Shorten A Line

    Someone already posted the solution like this, but here is independent function:



    Type Point
    x As Single
    y As Single
    z As Single
    End Type
  12. Replies
    14
    Views
    23,180

    Re: VB6 - Random GUID Generator

    Oh...I'm under the impression we aren't suppose to see them anyway. It in essence wont happen then. Like I'm not sure, it could be fame, eventually, seeing too many of them. Unique in time as...
  13. Re: Using Implements the intended way - FIXED

    Oh! I know what your saying now, yeah, no, it's not using the global class in that way. When you include Implements it brings the base class in a variable that follows the word, and you can't use it...
  14. Re: Using Implements the intended way - FIXED

    Oh, I'm looking for novel. So after looking that word up, my thoughts are it's a design feature of backward comparability, lossless, and forward extending to other business. It does make for a...
  15. Replies
    14
    Views
    23,180

    Re: VB6 - Random GUID Generator

    If you turn the code example above on debug.print generating loop, it is repeating the 13th character a "4." I'm not sure that matters too much, but in the interest of "unique" I tried thwarting it,...
  16. Replies
    15
    Views
    1,355

    Re: Clone VB6 Objects In Memory

    Sure.. the X in a OS version means it's fired. ReadProcessMemory and WriteProcessMemory are desired by crackers, patch makers and disassemblers. Trivial like you said. It makes me think of sizeof...
  17. Replies
    3
    Views
    899

    Re: Create a copy of an Object

    I just posted a way, not sure it would suit the nesting, however, there is a scheme to memory address by pointers for objects called VTable, that you could possibly go through and check for global...
  18. Replies
    15
    Views
    1,355

    Clone VB6 Objects In Memory

    This is a really cool sample, thought I would share it, clones a object right out of the memory it runs, granting it a copy of current state properties and use of all the functions, in new memory so...
  19. Using Implements the intended way - FIXED

    There are some frustrations with using Implements in old VB6, mainly with compiling. One such of these problems causes compiling to error citing a "Set" statement in the "Class_Initialize" that...
  20. Replies
    16
    Views
    5,602

    Re: Rotation using DOT product

    Type Point
    X as Single
    Y as Single
    Z as SIngle
    End Type
    Public Const PI As Single = 3.14159
    Public Function VectorAxisAngles(ByRef p As Point) As Point
    'input: a 3D point
    'output: Yaw,...
Results 1 to 20 of 20



Click Here to Expand Forum to Full Width