Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.88 seconds.

  1. Thread: Extending VB6

    by Niya
    Replies
    54
    Views
    1,634

    Re: Extending VB6

    You know I get it, some people fall deeply in love with some languages come on, some people really need to learn when it's time to just pack it in and move on. They stick around, trying with all...
  2. Replies
    22
    Views
    483

    Re: Can anyone write an array module?

    It's more consistent. It more perfectly aligns to what an array actually is, which is just a pointer to a contiguous block of memory. Objects have also been traditionally just pointers to blocks of...
  3. Replies
    22
    Views
    483

    Re: Can anyone write an array module?

    My advice to you xiaoyao is to just bite the bullet and go to C#, VB.Net, Java or whatever else is out there that hasn't stagnated for 20 years. Don't waste your time on efforts like this.
  4. Replies
    22
    Views
    483

    Re: Can anyone write an array module?

    This is precisely why this thread is a waste of time. VB6 developers would rather do the above than do this:-


    'Not a ListBox in sight!!!
    Dim unsorted As Integer() = {23, 90, 25,...
  5. Replies
    3
    Views
    193

    Re: Task to convert old Borland C App to VB6 ??

    Why convert it to VB6? I think a better idea would be to simply port the C++ code to a modern C++ compiler. Is there some kind of compelling reason to convert this to VB6?
  6. Re: "The call stack contains only external code" error

    The call stack contains only external code is not the actual error here. That message is Visual Studio telling you why it can display exactly where the error took place. The dialog in the middle of...
  7. Thread: Extending VB6

    by Niya
    Replies
    54
    Views
    1,634

    Re: Extending VB6

    He spoke the truth. VB6 does work fine.....well I mean except for the quirk in the designer where you don't see what is happening during resize and drag operations but I've gotten used to that. The...
  8. Thread: Extending VB6

    by Niya
    Replies
    54
    Views
    1,634

    Re: Extending VB6

    Hmmmm...If that were true, I'd say the same about Ubuntu but I actually like Ubuntu. I donno. The feeling I got with the MAC was that Apple deliberately did everything different from Windows. I felt...
  9. Replies
    3,246
    Views
    1,036,131

    Re: CommonControls (Replacement of the MS common controls)

    According to the documentation, this is what the TEXTRANGE structure looks like for wide strings.

    typedef struct _textrangew {
    CHARRANGE chrg;
    LPWSTR lpstrText;
    } TEXTRANGEW;


    Mith...
  10. Thread: Extending VB6

    by Niya
    Replies
    54
    Views
    1,634

    Re: Extending VB6

    Yesterday someone brought a MAC to me to help them install something on it. I know next to nothing about MACs and after 15 minutes of trying, I wanted to pound nails into my eyes. I hope Apple burns...
  11. Re: C, C++, C#, VB6 Programmer analogy with regard to building

    Some work we may have to do will put me in the path of Python. While at first I wasn't bothered since it's just another language, I've since been dreading it since I heard that whitespace actually...
  12. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    This is such a good point. Like half of what I learned about .Net in the early days of me using it was from right in the IDE. Microsoft really did a fantastic job with the .Net APIs. It so well...
  13. Re: C, C++, C#, VB6 Programmer analogy with regard to building

    You doing it through an emulator or the real thing? Either way, sounds like an interesting hobby. As for me, I love plain old x86 assembly. I'd love if there was a real reason for me to use it but so...
  14. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Remember this? This is about as bare metal you can get in Windows writing user mode applications. This application could be written the exact same way in VB6 and VB.Net. This alone invalidates any...
  15. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    If I'm being 100% honest, I don't think some of you get it. This isn't directed at you specifically but anyone makes claims that VB6 is better than .Net because it is closer to the metal is...
  16. Re: C, C++, C#, VB6 Programmer analogy with regard to building

    With regards to assembly, it's a strange beast in today's world. It is both high level and low level. It's low level in the sense that you can directly tell the CPU what to do in the way it...
  17. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Come on Olaf. I'm 100% sure you know better than this. Stop misleading folks:-
    https://www.vbforums.com/images/ieimages/2021/10/30.png

    VB6 applications aren't anywhere close to anything we'd call...
  18. Re: C, C++, C#, VB6 Programmer analogy with regard to building

    I was once very much in love with VB6 too. I used to think it was the best thing ever and it was at the time. There was nothing like it. However, this was a lifetime ago and much has changed since...
  19. Re: C, C++, C#, VB6 Programmer analogy with regard to building

    Well you will get no contention from me. I actually enjoyed reading that lol.

    My issue has always been the misinformation about .Net or meaningless information being used to bolster any argument...
  20. Thread: Extending VB6

    by Niya
    Replies
    54
    Views
    1,634

    Re: Extending VB6

    Yea this is quite annoying not having these features after years of growing accustomed to them.



    There will be a few of you that think like this, but I believe you guys will be a rapidly...
  21. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Don't buy into this garbage Shaggy. This isn't true. Just because you need to import half the Win32 API for a typical VB6 application doesn't make it closer to the metal. We could do the exact same...
  22. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Come on man, seriously?

    You only incur boxing when you assign a value type like an Integer or Long to a variable of type Object. This is literally the same as assigning an Integer or Long to a...
  23. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Come on Olaf what are we doing here. You know good and well that BSTRs are also immutable by convention. Just because you can use StrPtr to manipulate the buffer directly doesn't change this fact....
  24. Replies
    13
    Views
    4,259

    VS 2010 Re: CRC-16 calculation

    You should probably make a new thread for this instead of resurrecting this 9 year old thread.
  25. Re: Pratt parsers and the building blocks of a scripting language.

    Ok it's been updated. The application will now close when the main form closes.
  26. Re: Pratt parsers and the building blocks of a scripting language.

    [/QUOTE]

    Also, this is unnecessary in this case. Just setting the owner is enough since there are only two forms in this application.
  27. Re: Pratt parsers and the building blocks of a scripting language.

    Ah, I think I get what you're saying now.



    Yea, I didn't spend anytime thinking about the UI. All my thoughts were focused on the parser, the VM and the collection classes. However, I'm not...
  28. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Tell me why.
  29. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Aside from the VarPtr/ObjPtr/RtlMovememory stuff I mentioned, this myth also comes from the fact that VB.Net programs tend use a lot more objects instead of being coded against the Win32 API heavily...
  30. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    It is absolutely not closer to the metal. This is just a myth.
  31. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I hear what you're saying but I'm going to go off on a limb and say that this post is leaning into the implication that VB6 is "closer to the metal" than VB.Net. Let's dispel this ridiculous myth...
  32. Re: Pratt parsers and the building blocks of a scripting language.

    I suspected something like this.



    Ok, I'm confused. The last parameter of TryGetValue is where the item is returned according to what I observed when I tested this. It didn't return an HRESULT.
  33. Re: Pratt parsers and the building blocks of a scripting language.

    Thank you. It works well.

    I should also point out that that it took a little work around to make it work for a ByRef parameter:-


    Public Function TryGetItem(ByVal key As String, ByRef value As...
  34. Re: Pratt parsers and the building blocks of a scripting language.

    I found the problem you're talking about though I'm not sure I'd classify it as a bug. I deliberately didn't put an error trap in Item because in the Dictionary class, I put two ways to query the...
  35. Re: Saving forms, projects, etc. always want to save in the VB98 folder on the C driv

    Oh you changed the working directory through the Windows shell. I guess that works too. Later versions like Visual Studio 2019 saves to the last folder you created a project in. I thought that there...
  36. Re: Saving forms, projects, etc. always want to save in the VB98 folder on the C driv

    I know later versions of Visual Studio can do it but I have no idea if this could be done in Visual Studio 6. Perhaps someone else would know how. I'd expect it to be able to do this.
  37. Re: Saving forms, projects, etc. always want to save in the VB98 folder on the C driv

    Do you mean when you create a new project?
  38. Re: Getting the ball rolling. Which VB6 projects are you working on?

    There's still a lot of stuff I have to work out, for example, compiling branch code(If...Then, loops, goto etc) into stack based instructions. I'm not sure yet exactly what kind of jump instructions...
  39. Replies
    26
    Views
    931

    Re: [RESOLVED] set font bold in listbox

    I think what dday was implying by his comment is that VB6 developers play it more "fast and loose". Those of us who have been in .Net for years aren't really used to such thinking anymore. We more or...
  40. Replies
    7
    Views
    279

    Re: WIN32 Timer Associated with a HWND

    Oh Windows for sure knows all about all the Timers and where they all are. Getting this information is of course, another matter entirely. The Windows kernel typically stores information like this in...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width