dcsimg

Search:

Type: Posts; User: quickbbbb

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: how to let .exe into Hibernate and wake 1.exe

    I have already thought about the method you mentioned, but this is the method that will be considered at the end. Because 1.exe about 100,000 lines of code, there is a very large number of variables,...
  2. Re: how to let .exe into Hibernate and wake 1.exe

    100% Completely correct !!


    my english is very poor
  3. Re: how to let .exe into Hibernate and wake 1.exe

    yes

    I want to hibernate a single application

    and when I wake 1.exe , 1.exe must be resume to Last state
  4. Re: how to let .exe into Hibernate and wake 1.exe

    .....
  5. how to let .exe into Hibernate and wake 1.exe

    run 1.exe -> 1.exe Calculate a lot of data and stored in memory -> use mouse click windows xp Hibernate button -> wake windows xp -> 1.exe Still keep all last memory data
    ...
  6. Re: StrPtr( ) for UDT has a strange problem

    thanks for wqweto , passel

    how to get String Pointer of b(1).gg ?
  7. [RESOLVED] StrPtr( ) for UDT has a strange problem

    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
    ByVal Destination As Long, _
    ByVal Source As Long, _
    ByVal Length As Long)

    Private Type cc
    a1 As...
  8. Re: VBA.Shell ( .... vbMinimizedNoFocus) is not working

    .......
  9. Re: VBA.Shell ( .... vbMinimizedNoFocus) is not working

    thank you very much

    it work very fine

    thank you
  10. [RESOLVED] VBA.Shell ( .... vbMinimizedNoFocus) is not working

    https://i.imgur.com/OKAJnMG.jpg


    Excuse me
    Is there a solution?

    This problem bothers me

    other app is running I lose focus on the first app
  11. Re: Single IEEE to binary floating point (and back).

    thank you
  12. Replies
    32
    Views
    1,445

    [RESOLVED] whether boolean has a symbol ?

    hi

    double = #
    long = &
    single = !
    string = $

    whether boolean has a symbol ???
  13. Replies
    137
    Views
    8,776

    Re: LET MS know you are using VB6

    please tell me URL of top 10 data is where

    thank you
  14. Replies
    14
    Views
    930

    Re: what reason is may be VB.Net win C#

    The maximum quantity code of world is C , C code can easy move to C#

    VB.Net can beyond C# . VB.Net is popular
  15. Replies
    14
    Views
    930

    what reason is may be VB.Net win C#

    hi ~

    https://www.tiobe.com/tiobe-index/

    from 2018/08 VB.Net First win C#
  16. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    ...............
  17. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    ok

    refresh Function compare




    Public Function compare(n1, n2)
    If n1 = n2 Then compare = "get n1=n2 is True by n1 = n2 compare": Exit Function
    If CDec(n1) = CDec(n2) Then compare =...
  18. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    hi , Elroy

    The above example why i use If CDec(n1) <> CDec(n2) Then .......

    because as following




    Private Sub Form_Load()
  19. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    Elroy

    following test implicit vs explicit are not any difference





    Option Explicit
    '
  20. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    hi , Elroy

    your code add CDEC as following

    We can see Cdec() that it add very many 111111111 to n1 (a big value) to fill hole




    Public Sub Form_Click()
  21. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    Elroy , thank you very much

    Great example
  22. Replies
    137
    Views
    8,776

    Re: LET MS know you are using VB6

    ..........
  23. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    sorry , I made a mistake

    Dim b1(1 To 32) As Byte
    Dim b2(1 To 32) As Byte

    should be change as

    Dim b1(1 To 4) As Byte
    Dim b2(1 To 4) As Byte
  24. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    ' test2 ==========




    Private Declare Sub RtlMoveMemory Lib "kernel32" (pDst As Any, pSrc As Any, ByVal CB&)

    Private Sub Form_Load()
  25. Replies
    18
    Views
    1,193

    Re: Cdec( ) is not Precision ??

    ' ====== test1

    (1) Decimal_point_count = 8
    is out range of IEEE effective single number of bits
    get result : Csng(n) <> Csng( Cstr(n) )

    (2) Decimal_point_count = 2
    ...
  26. Replies
    18
    Views
    1,193

    [RESOLVED] Cdec( ) is not Precision ??

    CStr() , Cdec() is not Synchronize ?????



    Private Sub Form_Load()

    Randomize


    Dim s As Single
  27. Re: How to fast split Number integet part and decimal part ?

    Fabulous! thank you very much

    ========================

    sorry every one, my english is poor , can not has full expression and understand what you say

    Most of them are used almost Google...
  28. Re: How to fast split Number integet part and decimal part ?

    Now I decided to accelerate it with multi cpu core




    OK , Stop the thread

    Thank you for your participation.
  29. Re: How to fast split Number integet part and decimal part ?

    Is it possible to provide a URL?

    thank you
  30. Re: How to fast split Number integet part and decimal part ?

    after i get stock price ( float type ) , i need save stock price to file

    so I need convert number to string

    of course , i can save it to Binary file ( it will be no need to convert to...
  31. Re: How to fast split Number integet part and decimal part ?

    VBA.Fix( ) has bug

    sometime I use Fix() to get value , it return a round value
  32. Re: How to fast split Number integet part and decimal part ?

    use int() function is my Negligence


    my data amount very huge , i need a function faster than cstr()

    vba.Cstr convert long type to String = 4 second
    My.Cstr convert long type to String = 2...
  33. Re: How to fast split Number integet part and decimal part ?

    my data amount very huge , i need a function faster than cstr()

    vba.Cstr convert long type to String = 4 second
    My.Cstr convert long type to String = 2 second

    now i need let My.Cstr can...
  34. Re: How to fast split Number integet part and decimal part ?

    Const s = 12345.6789

    Const test_speed_loops = 10 ^ 6


    TT = Timer

    For k = 1 To test_speed_loops

    aaaa$ = cstr(s)
  35. Re: How to fast split Number integet part and decimal part ?

    const decimal_part_length = 3

    you mean round ( 123.456 , decimal_part_length ) ??

    but you can not know in advance the decimal part length


    d may be = 123.456789
    d may be = 123.456
    d may...
  36. Re: How to fast split Number integet part and decimal part ?

    160115

    =============================


    160117
  37. Re: How to fast split Number integet part and decimal part ?

    This is not helpful

    because really time consuming is Cdec() function and code For w = 1 To 10 ^ 9 .... Next
  38. Re: How to fast split Number integet part and decimal part ?

    so you need use

    decimal_part = Cdec(d) - integer_part

    but Cdec() is a slow function
  39. [RESOLVED] How to fast split Number integet part and decimal part ?

    Private Sub Form_Load()

    Const s = 12345.6789


    Dim w As Long
    Dim k As Long
    Dim p As Long

    Dim integet_part As Long
  40. Replies
    11
    Views
    1,384

    Re: How to build SafeArray in VB.Net ?

    It concerning the ease of use and not easy to make mistakes

    // VB6

    Redim AR_001(-100 To 100) As long

    ID = -100 ' ID Range = -100 ~ 100

    AR_001(ID ) = AR_001(ID ) + Rnd
Results 1 to 40 of 77
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width