Search:

Type: Posts; User: wqweto

Page 1 of 13 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    30
    Views
    15,174

    Re: vbObjectError: what is it for?

    After all the confusion stages you finally come up with some plausable model of reality that HRESULT errors and ranges are all designated by convention.

    There is nothing that prevents you from...
  2. Re: VB6 usercontrol takes away focus from NET usercontrol

    As an independent observer to this thread IMO best would be to move away both from VB6 and .Net towards more web friendly tech stack incl. web-based desktop technologies like Electron and many other...
  3. Re: mssql why use OUTPUT and not select?

    Usually OUTPUT parameters are used for error numbers/descriptions i.e. some side-channel to main info which goes into (one or several) resultsets.

    The main reason is you might want to call these...
  4. Replies
    2
    Views
    202

    Re: Locking done by UpdateBatch method?

    Which RDBMS do you issue this UpdateBatch against?

    Using MSSQL OLEDB provider there is no explicit locking specified in the generated T-SQL so locking depends only on current isolation level that...
  5. Re: How to use SSE2 do ar1 porduct ar2

    You should probably just compile this exact code with /arch:sse2 and peek at disassembly.

    Here is a similar question at SO: Dot Product of Vectors with SIMD

    cheers,
    </wqw>
  6. Thread: Poll #2

    by wqweto
    Replies
    1
    Views
    94

    Poll: Poll #2

    - Does it have 4 options?
    - 3
    - 2
    - 1
  7. Replies
    26
    Views
    812

    Re: [RESOLVED] Playing music

    You don't always know the duration of the MP3. The file can be broken. The file can be in different format. The ID3 tag is broken. The ID3 tag reader is broken.

    There is no API involved -- it's...
  8. Re: Handling different decimal symbols

    First, there are locale invariant Str and Val -- these will use "." for decimal separator on any locale (empty thousands separator).

    Then, there is locale specific Format$ and CDbl -- these will...
  9. Replies
    26
    Views
    812

    Re: [RESOLVED] Playing music

    You can set the timer to fire with whatever frequency you seem fit and simply measure elapsed time since the track started playing in the Timer event implementation.

    I would use...
  10. Thread: read JSON FILE

    by wqweto
    Replies
    16
    Views
    589

    Re: read JSON FILE

    True, but I immediately dismissed this limitation of FSO as a particular problem here as it seems most of the file is in ASCII with the interesting LAT/LON coordinates purely digits so the UTF-8...
  11. Thread: read JSON FILE

    by wqweto
    Replies
    16
    Views
    589

    Re: read JSON FILE

    You can use FSO to read big files too. Something like OpenTextFile, ReadLine and AtEndOfStream functions should be enough to read your big file one line at a time


    Option Explicit

    Private Sub...
  12. Replies
    13
    Views
    667

    Re: Password Protection

    Not so fast -- of course there are post quantum algorithms for everything :-))

    @couttsj: Btw, there are RNGs based on hash functions (of HMACs) like the ones explained in NIST SP 800-90

    It's...
  13. Replies
    26
    Views
    812

    Re: [RESOLVED] Playing music

    This is weird that exactly EC_PAUSED (14) is missing from wine's header file above.

    Linking evcode.h from DirectX 8.0 SDK which does contain EC_PAUSED:...
  14. Replies
    26
    Views
    812

    Re: Playing music

    Check out these links:

    1. Event Notification Codes has links to each and every event

    2. evcode.h from Wine for numeric values of the notification codes

    cheers,
    </wqw>
  15. Replies
    249
    Views
    43,863

    Re: Re PlanetSourceCode

    Here is a link to the torrent: PSC-JUMBO_RESOURCE_CD_archive.torrent

    Everything this is provided by the good hoarders at archive.org.

    Keep in mind that the ZIP files of the submissions on these...
  16. Replies
    13
    Views
    667

    Re: Password Protection

    https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation

    Can you find which mode listed above your password scheme implements? Looks like CBC but you're mangling the key somehow so not sure if...
  17. Replies
    5
    Views
    348

    Re: CopyMemory to copy function address

    In Dest you get the opcodes of the first few instructions at the beginning of Test function.

    In the IDE this is usually a stub which calls into the interpreter passing the address of the p-code...
  18. Thread: Encrypt/Decrypt

    by wqweto
    Replies
    39
    Views
    1,113

    Re: Encrypt/Decrypt

    Babylonian, Arabic. . . it's all Greek to me

    cheers,
    </wqw>
  19. Thread: Encrypt/Decrypt

    by wqweto
    Replies
    39
    Views
    1,113

    Re: Encrypt/Decrypt

    Try this simple RC4 implementation


    Option Explicit

    Private Sub Form_Load()
    Dim sSecret As String

    sSecret = ToHexDump(CryptRC4("a message here", "password"))
    Debug.Print...
  20. Replies
    63
    Views
    2,021

    Re: Ignoring moderators

    LOL and ouch!
  21. Re: PictueBox MouseDown/Up (Button Mutual Exclusivity)

    Do you want to prevent *left* button click while the right button is pressed too? You don't have to use the .Tag property if it's already employed in some logic. For instance I usually use it to keep...
  22. Re: How can I share a winsock socket ID across processes?

    In the Remarks section of WSADuplicateSocket it says


    DuplicateHandle works on hSockets in-process just fine but for out-of-proc duplication WSADuplicateSocket seems to be required indeed.
    ...
  23. Replies
    13
    Views
    545

    Re: IDE Question

    It usually helps in my projects to comment the const expression or a public enum somewhere in a standard module so that the IDE re-compiles bigger part of the project.

    cheers,
    </wqw>
  24. Replies
    18
    Views
    2,189

    Re: Question about WinHttpRequest object

    I meant "chunked" like in parts, not like in "Transfer-Encoding: chunked" header attribute.

    The comment about sending POST requests using "Transfer-Encoding: chunked" I'm not sure what the benefit...
  25. Re: Create xml file in vb6.0 like the following

    IMO these forums have way too little sample code on MSXML2.DOMDocument which uses basic createElement + appendChild with sporadic setAttribute calls to create 99.99% of the XML ever needed in the...
  26. Re: Remove dead COM entries in the registry.

    The UI is abhorent. You first have to Scan your current registry (into an MDB). Then you can filter typelibs/CLSIDs by C:\Work\MyProject folder (or project name) and delete these (with Invert +...
  27. Re: Question about GetSystemMetrics and VIRTUALSCREEN

    1 Left: -1920 Right: 2560
    1 Top: 0 Bottom: 1440
    2 Left: -1920 Right: 2560
    2 Top: 0 Bottom: 1440

    An HD monitor next to a QHD...
  28. Re: Create xml file in vb6.0 like the following

    This


    Option Explicit

    Private Sub Form_Load()
    Dim oDoc As Object

    Set oDoc = CreateObject("MSXML2.DOMDocument")
    With oDoc.appendChild(oDoc.createElement("alfa"))
  29. Replies
    63
    Views
    2,021

    Re: Ignoring moderators

    There is usually some risk involved with everyday activities so I'm always on the lookout for falling bricks when walking on the sidewalks but you can still never know for sure :-))

    cheers,
    </wqw>
  30. Replies
    63
    Views
    2,021

    Re: Ignoring moderators

    Wow! This works! :-))

    I'll keep my fake status until discovered by real mods. . .

    cheers,
    </wqw>
  31. Replies
    10
    Views
    456

    Re: WS_CHILD follow scrollable parent window ?

    Which API do you use to scroll tha parent window?

    Sending WM_MOUSEWHEEL messages to a hWnd does not scroll anything per se. It's each window's custom drawing routines responsability to adjust...
  32. Replies
    18
    Views
    2,189

    Re: Question about WinHttpRequest object

    I'm not sure Bonnie West will ever answer these questions but IMO you'll have yes on both of these.

    The only way WinHTTP might get cached results is by intermediate proxies so you have to set...
  33. Replies
    3
    Views
    336

    Re: Here's code to get any part of a URL.

    Btw, you can have "/" in user/pass and you can have ":" and "@" in password. You can have protocol-less URLs like in "//www.vbforums.com/showthread.php" or relative URLs like in...
  34. Re: SSPI/Schannel client for SSL/TLS channels in VB6

    Yes, you have a point and this looks like a bug. It's not present when using TLS socket because the underlying encrypting routines buffer the whole output so m_baSendBuffer never has outstanding...
  35. Replies
    63
    Views
    2,021

    Re: Ignoring moderators

    In the news: Rust entire moderation team resigns.

    vbforums.com one when? :-))

    cheers,
    </wqw>
  36. Replies
    5
    Views
    264

    Re: Trickish Situation With Data Range Search

    Seek method works only in JET and only when there is an index on the column being searched.

    This is the way DBF files are used, very educational if you are used to SQL with whatever predicate you...
  37. Re: Remove dead COM entries in the registry.

    Yes, this seems the way to go.

    Actually registry is stored in a JET database (several MDB files) but unfortunately you cannot reliably copy these while the database is in use (while the OS is...
  38. Re: Remove dead COM entries in the registry.

    The closest to actual backup/restore comes the built-in REG utility


    D:\TEMP>reg save /?

    REG SAVE KeyName FileName [/y] [/reg:32 | /reg:64]

    KeyName ROOTKEY\SubKey
    ROOTKEY [ HKLM...
  39. Re: Remove dead COM entries in the registry.

    Really?

    This took ages to export here into a 941MB file but how am I supposed to restore my registry with this?

    It will not *remove* bad entries at all and it does not collect permissions so...
  40. Replies
    32
    Views
    944

    Re: Reference a .NET DLL in VB5

    LOL

    Both you and the angel?

    cheers,
    </wqw>
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width