dcsimg

Search:

Type: Posts; User: baka

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    54
    Views
    5,724

    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...
  2. Replies
    120
    Views
    6,502

    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...
  3. Replies
    120
    Views
    6,502

    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...
  4. Replies
    120
    Views
    6,502

    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,...
  5. Replies
    120
    Views
    6,502

    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.
  6. Replies
    120
    Views
    6,502

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

    looking very promising axisdj.
  7. Replies
    120
    Views
    6,502

    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...
  8. 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...
  9. 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...
  10. Replies
    120
    Views
    6,502

    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...
  11. Replies
    120
    Views
    6,502

    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,...
  12. Replies
    11
    Views
    535

    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...
  13. Replies
    11
    Views
    535

    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.
  14. 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...
  15. Replies
    8
    Views
    554

    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...
  16. 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.
  17. 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...
  18. 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...
  19. 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...
  20. Re: Your first BASIC computer? Has your software survived?

    my first computer commodore 64,
    most program where "copy/paste" from magazine. so not my own.
    I did a few minor programs, but very basic, mostly to experiment, on graphics, on text, colors. nothing...
  21. Replies
    8
    Views
    547

    Re: mswinsck.ocx transfer speed

    many many years ago I did use mswinsck.ocx in a network and I could transfer big files very fast.
    the issues with mswinsck where never speed but more other things. today im using wsock32.dll api and...
  22. Re: How to make only first hard-disk installed running

    but why do you want to limit it to just 1 drive.
    if the customer bought your product, why can't he install it where he desire, as long its in the same system.

    if you don't want the product to be...
  23. Replies
    6
    Views
    624

    Re: VB6 on WIN10

    yeah.
    I have VS98ENT.INF and inside I can read: Visual Studio 6.0 Enterprise
    You should have Professional Edition.
  24. Replies
    6
    Views
    624

    Re: VB6 on WIN10

    there most be a dozen of topics about that. yes u can install on 10 and sp6 is downloadable.
    u should know what version u got. should be written in your cd, or on your vb6setup folder.
  25. Replies
    33
    Views
    703

    Re: [RESOLVED] Empty String

    Elroy, u are not correct.

    try:
    Dim str As String * 32
    str = Trim(str)
    str = "A"
    MsgBox Len(str)

    will return the length of 32,
    meaning Trim will return a fixed-length...
  26. Replies
    33
    Views
    703

    Re: [RESOLVED] Empty String

    the first one dont work because:
    str = "" will actually do str = chr(32) + 31x0

    so when you check str = "" it will not trigger because u forgot 31x0, but if you do left$(str,1) = chr(32) it will...
  27. Replies
    33
    Views
    703

    Re: Empty String

    always work, Im using this method and its working well.
    when creating a string its always 0.
    so Empty32 will always be 32 zeros.
    while str that we gonna use, can be emptied just by coping to this...
  28. Replies
    33
    Views
    703

    Re: Empty String

    what you can do is:

    Private Empty32 as String * 32

    Dim str As String * 32
    if str = Empty32 then msgbox "empty"

    if u change str with anything, like str = " " it will not be equal to Empty32...
  29. Replies
    33
    Views
    703

    Re: Empty String

    because String * 32 is always 32 in length, u can't trim it
    u need to fill those 32 with something otherwise its Chr(0) and we know MsgBox dosen't handle Chr(0) well.

    If str = Chr(0) & Chr(0) &...
  30. Thread: Clearing an array

    by baka
    Replies
    19
    Views
    670

    Re: Clearing an array

    usually we are changing the Dim by user, meaning, the user is adding or removing an item.
    its not a inside loop procedure where u increase and decrease an array hundreds of times every second.
    if...
  31. Replies
    8
    Views
    264

    Re: Optional parameter

    I explained that, we dont see the entire code. example:

    Public Sub changeColor(Optional RgbColor As Long = -1)
    If RgbColor = -1 Then RgbColor = RGB(100, 200, 155)
    Me.backcolor = RgbColor...
  32. Replies
    8
    Views
    264

    Re: Optional parameter

    you should also use Byval or it will act as a Byref
    you could also set a default value, Optional Byval Color as Long = -1
    that way it will be -1 if not specified
    but this only work if the last...
  33. Thread: Clearing an array

    by baka
    Replies
    19
    Views
    670

    Re: Clearing an array

    I like to have the index in a separate variable, like

    Dim myList() as AnyContainer
    Dim Lists%

    when adding, I do
    Lists = Lists + 1
    Redim Preserve myList(1 to Lists)

    and when removing I do:
  34. Re: Fast get the ascii code of a character in a string?

    also, I have added it to a typelib, called "custom", with a bunch of different API's and declarations to make things easier.
    its good to have a "default" typelib with apis that you are using a lot....
  35. Re: Fast get the ascii code of a character in a string?

    I also use SAFEARRAY1D for this purpose.

    Public uSA As SAFEARRAY1D
    Public arrData() As Integer

    It need to be initialized (once)

    With uSA
    .cbElements = 2&
    .cDims = 1
  36. Replies
    76
    Views
    2,805

    Re: The best programming language?

    i wrote:

    for me its a suicide to learn something else. theres no point.

    "for me". been around many years i have found my "tools" that im comfortable with and have good knowledge with.
    i dont...
  37. Replies
    76
    Views
    2,805

    Re: The best programming language?

    when you are doing a project its not just programming that is important.
    graphic design, how to use a graphic tool, music program, for sounds and/or music.
    of course i know more languages, ada,...
  38. Replies
    76
    Views
    2,805

    Re: The best programming language?

    a language is a lot of things, not just how easy it is to code.
    for some, the IDE is important, for others, the syntax, API, typelibs, and for others, availabilities, forums/communities,...
  39. Re: Curiosity, what country are you talking about?

    most be google translation.

    where are u from, how much vb6 is used, if you are a professional or amateur, and if u want to change language to another.

    Im from Sweden, vb6 is still used, theres...
  40. Replies
    76
    Views
    2,805

    Re: The best programming language?

    visual basic 6
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width