Search:

Type: Posts; User: dz32

Page 1 of 12 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    17
    Views
    364

    Re: Problem parsing a pdf

    literally cant keep 60+ av programs happy. It does contain tools for analyzing shellcode and detecting pdf exploits (primary purpose of creation)

    just run it in a VM or compile from source.
    ...
  2. Replies
    17
    Views
    364

    Re: Problem parsing a pdf

    you can poke through the internal structure of the pdf document and the raw stream data with a tool such as this (open source vb6)

    http://sandsprite.com/blogs/index.php?uid=7&pid=57

    streams can...
  3. Replies
    6
    Views
    289

    Re: Parser & Symbol Table Generator

    There are open source ones you can study, I dont believe I have seen any written in VB though.

    ScriptBasic and duktape both come to mind (both written in C) .
    The .NET world might have some of...
  4. Replies
    5
    Views
    370

    Re: Can anybody translate this C++ to VB6?

    well the worst part is probably defining the types, this is a quick first pass may not be right yet,

    next step would be to write a small C program and have it spit out sizeof(structX) and make...
  5. Replies
    5
    Views
    370

    Re: Can anybody translate this C++ to VB6?

    this is a little slow but it works



    Option Explicit

    Dim objWMIService

    Function IsProcessSuspended(pid)
  6. Re: Recreating DLL file causes - Class factory cannot supply requested class error

    probably just have to remove the reference to the old dll and then re-add the reference to the new dll.
    and make sure you really want to break compatibility because anything else ever compiled...
  7. Replies
    22
    Views
    596

    Re: Convert boolean value to bytes

    I have actually never used vartype before. Always seemed like there had to be a better way. Not sure about more reliable, but I am sure it will be more efficient , will change them over someday...
  8. Replies
    22
    Views
    596

    Re: Convert boolean value to bytes

    The conversion to and from byte arrays comes in handy in several situations. Mostly when working with binary protocols, file formats, data serialization / deserialization, data after decryption or...
  9. Replies
    22
    Views
    596

    Re: Convert boolean value to bytes

    ha the thought of bit packing never even crossed my mind from the question. I have actually never seen anyone collapse and expand a bit packed value into a boolean array. Everyone just does the...
  10. Replies
    22
    Views
    596

    Re: Convert boolean value to bytes

    a boolean is a two byte type, -1 (0xFFFF) is true, 0x0000 is false.
    an array is a continuous block of memory



    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDest As Any,...
  11. Re: Connecting to MySQL with SSH Tunnel? Would this be a good/secure workaround?

    I wouldnt let anyone ssh into my server. Maybe allowing them to VPN into a specific point of your network and then access mysql that way.
    You will probably get the best answers from a Linux admin...
  12. Thread: pcode internals

    by dz32
    Replies
    14
    Views
    1,212

    Re: pcode internals

    btw the vbdec pcode disassembler/debugger has now been released as a free download
  13. Re: How do I make addition overflow without error?

    I have an unsigned math library backed by a C dll that allows for that.
    Supports overflow and unsigned vals for byte, int, long, and 64 bit numbers
    ...
  14. Re: Use VB6 to develop a tool similar to AstExplorer.net

    sounds legit..

    seriously though this is part of why I love vb6. good balance between dependencies weight and user code,
    and one reason why I could never get on board with .NET

    I was...
  15. Thread: pcode internals

    by dz32
    Replies
    14
    Views
    1,212

    Re: pcode internals

    next article: Writing a PCode Debugger

    https://decoded.avast.io/davidzimmer/writing-a-vb6-p-code-debugger/

    One more to go after this on how to extract and call pcode byte blobs from C
    (study...
  16. Re: How to Get the Guid, CLSID, of a Control on a Form in Code by vb6

    All of the GUID information is in the registry.

    Add Reference (ActiveX Dlls):
    https://github.com/dzzie/addins/blob/master/FastBuild/frmAddRefs.frm#L166

    Add Component (OCXs):
    ...
  17. Re: Connecting to MySQL with SSH Tunnel? Would this be a good/secure workaround?

    bitvise ssh client or putty both allow you to do the ssh connection, you can configure it to open a local port that it then proxies to the remote machine.
    this way you can set your mysql server to...
  18. Replies
    6
    Views
    354

    Re: how to add Vb.net Usercontrol to vb6 Forms?

    are you actually building something or just curious on many topics and posting random questions?
  19. Thread: pcode internals

    by dz32
    Replies
    14
    Views
    1,212

    Re: pcode internals

    I have some more blog posts coming out on this topic that people may be interested in. This weeks installment is the inner workings of PCode Disassembly & runtime . Next week will be how to write a...
  20. Replies
    11
    Views
    527

    Re: VB6 Base58 encoding

    You probably wont find a vb6 native implementation, I would look for a C or .NET one and just
    integrate with it as an external library

    https://crypto.bi/base58-source/
    ...
  21. Re: vb6 Convert a value beyond the long range to a hexadecimal number?

    once you start working with 64 bit numbers its nice to have a complete lib

    https://github.com/dzzie/libs/tree/master/vb6_utypes



    Private Sub Form_Load()
    Dim u As New ULong64
    ...
  22. Replies
    46
    Views
    3,390

    Re: This forum is why VB6 is still usable today

    ok there was a little more to it



    .text:00401985 lea edx, [ebp+var_8C]
    .text:0040198B push edx
    .text:0040198C call ds:__vbaGosub...
  23. Replies
    46
    Views
    3,390

    Re: This forum is why VB6 is still usable today

    Private Sub Form_Load()
    Dim i As Long

    i = 0
    GoSub mysub
    GoSub mysub2
    GoSub mysub3
    MsgBox i

    Exit Sub
  24. Re: Now we can compile ActiveX Dll in use MS-OFFICE's VBE7 environment

    Dll Compile file format is 32 Bit DLL

    in a pcode disassembler it does not show any vb objects like modules, classes, forms, addins etc

    Object table is showing bad data with invalid virtual...
  25. Replies
    27
    Views
    1,064

    Re: Does New-Basic really need class inheritance?

    I would vote no. Keeping things relatively flat and simple is better in my book. Once you have to start hunting for where the actual implementation is, or trying to make the implementation more...
  26. Replies
    46
    Views
    3,390

    Re: This forum is why VB6 is still usable today

    I actually love that its a fossilized language. I can open up a 20yr old project and not have to worry which version of the IDE and runtime I need in order to compile it.

    Stable language with...
  27. Replies
    5
    Views
    416

    Re: pdf417 barcode

    what is the md5 of PDF32.Bas and PDFENC32.DLL? they might be on the web somewhere
  28. Replies
    3
    Views
    293

    Re: How to SOMETIMES pass an array to a function

    try something like this



    Private Sub Form_Load()

    Dim XArray() As String
    Dim N As Long

    N = proc1_Command15("abc")
  29. Re: how to use my python program to control the buttons in VB.

    also dont overlook just passing command line parameters to the vb6 app

    python starts vb6 exe with command line arguments
    vb6 does the task requested and exits
    repeat

    vb6 exe can also generate...
  30. Re: how to use my python program to control the buttons in VB.

    yeah IPC would be the way to go. This has examples for vb6 and python working together: http://sandsprite.com/openSource.php?id=70
  31. Re: how to use my python program to control the buttons in VB.

    enumerate open windows find the vb6 app top level window hwnd
    enumerate the controls on the form find the button hwnd
    SendMessage click

    Windows Api:
    EnumChildWindows
    GetClassName...
  32. Replies
    10
    Views
    593

    Re: Using VB6 to POST in HTTPs

    Would lib curl work? It supports an external crt file https://github.com/dzzie/libs/tree/master/vbLibCurl
  33. Replies
    3
    Views
    342

    Re: Command Line Arguments

    when I am testing various command lines the easiest way is to just hardcode something in form_load or
    add a conditional like

    if len(global_test_cmdline) > 0 and IsIDE() then
    cmd =...
  34. Replies
    141
    Views
    108,293

    Re: VB6 - JsonBag, Another JSON Parser/Generator

    my bad i ported toarray and getpath in by eye from a previous version, fixed now with test code in place. thanks
  35. Replies
    141
    Views
    108,293

    Re: VB6 - JsonBag, Another JSON Parser/Generator

    tweaked it to add support for single quoted strings, None type, toArray(), getPath(path) (to sub object or value) and a fromFile(path) method
  36. Replies
    141
    Views
    108,293

    Re: VB6 - JsonBag, Another JSON Parser/Generator

    trying to decide how useful a GetPath("obj1.obj2.obj3.value") function is. and maybe adding a .dumpKeys() method (from elroys CollectionEx class) for when you get lost in the hierarchy

    the ability...
  37. Replies
    15
    Views
    687

    Re: Perfect license plate

    ha I would go with that. I read it LYF = phonetic short hand for life
  38. Replies
    15
    Views
    687

    Re: Perfect license plate

    i just thought it was a novel license plate vb'ers would enjoy it made me laugh.

    unless you meant the website link which was just given to verify the plate was indeed in use and not photoshopped.
  39. Replies
    15
    Views
    687

    Re: Perfect license plate

    a friend i used to work with sent me that over text message. I mean who knows right, this is the internet.

    So i did some digging, I know NY allows you to design vanity plates online and check if...
  40. Replies
    15
    Views
    687

    Perfect license plate

    ok..so apparently one of us lives in huntsville Alabama lol
    friend saw this on teh highway and had to send it to me :)
Results 1 to 40 of 451
Page 1 of 12 1 2 3 4



Click Here to Expand Forum to Full Width