dcsimg

Search:

Type: Posts; User: baka

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    262

    Re: Encrypt Type Array

    yeah, Im using a variation of XOR encryption for my byte arrays.
    so, I could use a "type specific/string" XOR encryption for a specific variable in the UDT, instead of trying to encrypt the entire...
  2. Replies
    8
    Views
    262

    Re: Encrypt Type Array

    jpbro thx, will look into it tomorrow, if i can use any of that.

    the data is changing all the time. the type array is an array and can increase in index, and each type array has lots of byte...
  3. Replies
    8
    Views
    262

    Re: Encrypt Type Array

    yeah, the idea is to not do any unnecessary loading/saving/deleting, the encryption/decryption is in memory after it load or before it saves.

    not everything need to be encrypted.
    - strings, is a...
  4. Replies
    8
    Views
    262

    Encrypt Type Array

    If I have

    Open myFILE For Binary Access Read As #F
    Get #F, , MyArray ( or MyArray(i) if its the type array is an array as well )
    Close #F

    How to encrypt MyArray so that I can easily do...
  5. Re: vbRichClient Transparent SplashScreen

    I would also try to zip the pictures using "storing", if that could help.
    if not, I would also try to just make my own package. (merge all pictures into 1 big file with a index file on top with the...
  6. Replies
    24
    Views
    769

    Re: VB6 code, is possible to be speed up?

    I think the best way, as LaVolpe also mentioned is to use CreateDIBSection and create a DIBHeader and draw directly into the DIB using CopyMemory/PutMem4 (you can use a type with RGBA)
    of course you...
  7. Re: What programming language is the best replacement for VB6?

    another question is, why not use VB6?
    most of the issues VB6 has have been fixed, you can do almost anything is VB6 that you can do with another language.
    its about creating your own functions that...
  8. Re: CopyMemory works in IDE / Not Compiled

    another problem I get from API's is,
    when using a typelib, and depending on computer (so it can work on one computer but not another) is that in one it can be unicode but in another its ansi.
    now I...
  9. Replies
    16
    Views
    527

    Re: DoEvents Alternative Issues

    I think dilettante nailed it.
    that means GetQueueStatus is not reliable enough. when that message is not returned and the DoEvents is not called, the next time DoEvents is called, more are in the...
  10. Replies
    16
    Views
    527

    Re: DoEvents Alternative Issues

    the title is:
    DoEvents Alternative Issues and its mainly about:

    1. If GetQueueStatus(&HFF&) Then DoEvents
    2. Bonnie West DoEventsEx

    both gives flickers.
    thats the reason i have this thread,...
  11. Replies
    16
    Views
    527

    Re: DoEvents Alternative Issues

    im using direct2d, so its not that kind of flickering.
    its the form/picturebox itself that causes this flickers, but only when using GetQueueStatus, not DoEvents.

    running the loop together with...
  12. Replies
    7
    Views
    5,819

    Re: [RESOLVED] [VB6] - instead api_doevents

    Im suing direct2d and theres no bitmap memory there, and the entire picture is created in "memory" before rendered.
    the problem is not that, but the doevents that causes something to flicker, not...
  13. Replies
    16
    Views
    527

    Re: DoEvents Alternative Issues

    Im running at 5-6% cpu in both cases.
    the loop itself also has vertical blanking, so the "sleep" is already there
    that means i dont need the sleep(0) at all.

    the example Elroy posted works well,...
  14. Replies
    16
    Views
    527

    Re: DoEvents Alternative Issues

    that is nice, replacing DoEvents completely.

    so, whats the benefit using FastDoEvents instead of DoEvents?
    if I will be using it without changing anything?
    I only need a function to allow the...
  15. Replies
    16
    Views
    527

    DoEvents Alternative Issues

    in another Thread I replied about an API-Doevent alternative, but I thought, its better to make it here for obvious reasons.
    so, the problem is that using different approaches to limit the use of...
  16. Replies
    7
    Views
    5,819

    Re: [RESOLVED] [VB6] - instead api_doevents

    sorry to resurrect this thread, but its actually important.
    I did have a problem with flickering, the form would from time to time flicker from a mouse click,
    i thought first that is was a...
  17. Replies
    11
    Views
    716

    Re: P-Code vs Native vs Crashing

    i suspect the ocx, but as dz2 posted, try to abuse resize.ocx in a new project, forcing it to do plenty of stuff and see if theres a problem.
    if speed is not an issue, p-code is fine.
    i use native...
  18. Replies
    9
    Views
    441

    Re: Latest Windows 7 update

    that is why u have uptodate antivirus and antimalware tools.
    its not that u have windows 10 and u are protected by default.
  19. Replies
    9
    Views
    441

    Re: Latest Windows 7 update

    hackers will surely be focusing on windows 10 anyway.
    so sure, support its ending, but hacking attempt will also get lower and lower.
    i dont think anyone is trying to hack someone in windows 98 or...
  20. Re: Winsock is reaching its limit and freezing - $20 Bitcoin for whoever solves!

    well, looking just a few seconds of your source i can see that you are using timer, something that is not preferable when dealing with socket,
    a string that increases from each connection and no...
  21. Re: What is the FASTEST WAY to SAVE/LOAD text/strings in VB6?

    why do u need to write 5000 txt files?
    why not just 1 file with a 256 character size for each index?
    if u have the file open all the time its faster. then open close 5000 times.
  22. Replies
    54
    Views
    7,109

    Re: VB6-compiled apps being flagged as virus

    the problem is that theres like 100k of viruses and if theres a part of the code of your executable that looks like any of the templates, it will flag it.
    changing something in the code if you are...
  23. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    sure im not opposed to another engine if its easy enough to implement.
    we know that direct2d is already in windows, so no dependencies or additional dll are needed.

    but if we just need to include...
  24. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    what is the point of using the old graphic model that has issues with DPI?
    of course we need to upgrade the graphic engine. whats the point otherwise?

    all the issues with DPI, people complaining...
  25. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    dilettante, sure, we also have direct2d using a typelib.
    that is not what i meant, its my wish for the new IDE,

    - 64bit compiler
    - integrated direct2d engine (with monitor sync control,...
  26. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    what i would like with radbasic is to use direct2d as the default graphic engine for the IDE and use a sound engine that can handle mp3 internally and to compile to 64bit.
  27. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    looking very promising axisdj.
  28. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    well, microsoft dont want, for some unknown reason they dont want to share the source.
    just open source c2.exe and link.exe could make a difference as well.
    wonder if anyone has asked that, to...
  29. Poll: Re: IDE first vs Compiler first, your opinion, just pie-in-the-sky stuff.

    compiler is the first thing to do, this because we want back compatible.
    when the compiler is done, it should replace the old one.
    any project we make in VB6 should be compiled in this new...
  30. Re: Proposed Phone Conference Between updated VB6 possible paths

    of what i understand it will firstly be a clone of vb6 and works under windows (no cross-platform)
    the other thing is that the priority is the compiler.
    that will be the main subject i think. a new...
  31. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    please keep the topic within radbasic, since the thread is about that and not about people, if they can or can not, if theres just 3 or less that can make a compiler or not.

    what the thread should...
  32. Replies
    120
    Views
    7,530

    Re: https://www.radbasic.dev/

    well its sounds good. hopefully it will not get abandoned.

    i really wanted the vbforums community to make one instead.
    open source and with the knowledge of the pro we have here.
    i mean,...
  33. Replies
    11
    Views
    559

    Re: Capturing an image of two controls

    another alternative is to create a 32-bit PARGB and copy the control to it,
    using CreateDIBSection you can loop through the image and change the alpha of unwanted colors.
    ans save as *.png format...
  34. Replies
    11
    Views
    559

    Re: Capturing an image of two controls

    almost the same as u have
    but u do it twice, u copy command2 and using bitblt and the 0 = "x" is command1.width.
    picture1 need to be both command1+command2 width.
  35. Re: I made an OS in VB - want input for improvement

    as for me I wouldn't call it a OS if it need another OS to run.
    I could however call it a virtual OS,
    but for what purpose? we already have windows, to have a similar OS running on top of window...
  36. Replies
    8
    Views
    617

    Re: [RESOLVED] FIle Exists

    another alternative is the use of

    Private Declare Function lOpen Lib "kernel32" Alias "_lopen" (ByVal lpPathName As String, ByVal iReadWrite As Long) As Long
    Private Declare Function lclose Lib...
  37. Re: [RESOLVED] Possible to Convert webp to png or jpg.

    https://github.com/webmproject/webp-wic-codec

    this site have source code to decode webp to wic (Windows Imaging Component) that can be used together with direct2d.
    will study this as well.
  38. Re: [RESOLVED] Possible to Convert webp to png or jpg.

    ok a shell-method. and 250kb is not that big. nice.
    even so I think a class where we can decode the webp directly into a bitmap would be best.
    will try to study the c++ source code and see if its...
  39. Re: [RESOLVED] Possible to Convert webp to png or jpg.

    I wish I could read c++,
    the decode is not that large in size, so I assume its doable to convert that to vb6 code.
    it says something about a stream,
    is that the same stream we can use to load a...
  40. Re: Your first BASIC computer? Has your software survived?

    very interesting to read what kind of computer u did have in your youth.
    please share more memory of that era and about the imitations, your achievements etc.

    one thing that i remember with those...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width