Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.69 seconds.

  1. Replies
    3
    Views
    201

    Re: DLL from VC++ in VB6

    Declare the functions using _stdcall but do no use __declspec to export. Use a DEF file instead.

    So for example, your sum function should look like this:-


    int __stdcall sum2(int b, int c)
    {...
  2. Replies
    18
    Views
    684

    Re: c/c++ code for vb6 multithreading

    Ah well. Don't take what I wrote too seriously. I was a bit tipsy. Just kind of what I was thinking when reviewing this thread. I was just thinking out loud as it were.
  3. Replies
    18
    Views
    684

    Re: c/c++ code for vb6 multithreading

    Actually, I disagree. The wizardry of making multi-threading work in VB6 is way and I mean way over my head. It looks like something God would write. It's just incomprehensible to me and other mere...
  4. Replies
    2
    Views
    119

    Re: Hey everyone nice forum :)

    Don't worry. We will change your mind ;)

    Welcome to mad house :D
  5. Replies
    16
    Views
    389

    Re: Is Object Pointer Valid?

    I had some time and I was of a mood so decided to play with this for a bit. I can only conclude in the end that __vbaObjSetAddref is not hardened against invalid object references. You simply must...
  6. Replies
    16
    Views
    389

    Re: Is Object Pointer Valid?

    Well perhaps Elroy should explain because I was looking at what he showed here, specifically:-


    ' But, if I now try the following, it'll crash.
    ' How do I check whether p is any good????...
  7. Replies
    16
    Views
    389

    Re: Is Object Pointer Valid?

    According to Elroy, calling these crashes the application if the object behind the pointer is dead. And it doesn't crash in the clean way where you could trap the error with On Error Goto. I'm...
  8. Replies
    16
    Views
    389

    Re: Is Object Pointer Valid?

    I think you have the right approach in principle. Looking up the structure and layout of a COM object in memory, I see that it's not that sophisticated. Raymond Chen explains here. I'm thinking that...
  9. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    0_0 I'm not touching that argument lol...imma sit on the sidelines for this one ;)
  10. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Just stumbled onto this gem:-
    https://thepostmillennial.com/teacher-alleges-fired-not-meowing-student-cat

    More mainstream madness. I don't know how true that story is but given the degeneracy I...
  11. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Yep. This is pretty much what I'm talking about. I bet these same people spend an unhealthy amount of time studying the latest gossip instead of something useful. Yea. I know these types. It's the...
  12. Replies
    9
    Views
    264

    Re: Making the Paint routine fire?

    Actually, the Form would become visible as soon as Form_Load executes the first Await. You can test with this:-


    Public Class Form1
    Private Async Sub Form1_Load(sender As Object, e As...
  13. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    I don't know what kind of people some of you have lived with but I grew up around middle to lower class people. One of the things you always hear in any social setting is complaints about their lot...
  14. Replies
    9
    Views
    264

    Re: Making the Paint routine fire?

    Eh....I think he was very clear about what he was describing. Lets look:-






    That is pretty clear to me. Here is a mock up of what those 3 quotes above describe:-
  15. Replies
    9
    Views
    253

    VS 2022 Re: [RESOLVED] Latest Web Options for VB.NET?

    Yea, as a life long BASIC programmer C# irritates the hell out of me in some areas such as case sensitivity and whatnot. But the great thing about being human is that we can get used to things pretty...
  16. Replies
    9
    Views
    264

    Re: Making the Paint routine fire?

    I would suggest that you look into how Await/Async actually works. It doesn't work the way you may think it does.

    Await actually breaks a method into discrete executable blocks to be executed at...
  17. Replies
    104
    Views
    4,660

    Re: VB6 Web Site/App Server

    I can still play the original Prince of Persia on DOSBox so I guess there's that possibility of unnatural longevity with zero developer input. ;)
  18. Replies
    9
    Views
    253

    VS 2022 Re: [RESOLVED] Latest Web Options for VB.NET?

    I mean don't get me wrong. VB.Net still has plenty of life left, but knowing Microsoft, there will be a point where you're going to feel the sting of their neglect. It happened with VB6, it happened...
  19. Replies
    9
    Views
    253

    VS 2022 Re: Latest Web Options for VB.NET?

    Unfortunately, like VB6, Microsoft is looking to abandon VB.Net as well. You're not going to see it showing up that much in future Microsoft technology. My advice would be to not limit yourself. I'd...
  20. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    I feel that. You know many times I get stuck listening to a bunch of sports talk at events unable to contribute. I'm wondering, like how much time did these people spend learning all of this stuff. I...
  21. Replies
    104
    Views
    4,660

    Re: VB6 Web Site/App Server

    Let me highlight the important part:-


    That changes everything. If Bill Gates kicks the bucket tomorrow, there will still be plenty of people at Microsoft who can make sure VB6 runs on Windows...
  22. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Nothing wrong with liking or watching sports. But when you're studying it to the point of damn near obsession while struggling to make ends meet then you're a fool. You could spend that time filling...
  23. Replies
    9
    Views
    253

    VS 2022 Re: Latest Web Options for VB.NET?

    You could look at Blazor. That is one of Microsoft's latest technology for building web applications.
  24. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Most people don't sit around talking about this kinda stuff. Most people are concerned with the inertia of their own lives.......and maybe they care about sports a little too much. But that's about...
  25. Replies
    104
    Views
    4,660

    Re: VB6 Web Site/App Server

    Yea, I get it. It's not future-proof while it's survival depends on a single individual. That may change one day perhaps.
  26. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    My symptoms were far milder than your family's and I was unvaccinated. Vaccines weren't even a thing here at the time. I'm not saying vaccines are a bad thing or they may not work. But I do believe...
  27. Replies
    104
    Views
    4,660

    Re: VB6 Web Site/App Server

    That's a lot of work and you know I'm not a fan of re-inventing the wheel. I'd recommend that he doesn't try to re-create all this unless he wants to for the challenge of it but there is absolutely...
  28. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Well the worst of it is behind us. The government ended the lockdowns and we are now on a slow road to economic recovery but that is still looking bleak. There are still several changes that altered...
  29. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    I am simply in awe that people living in 2021 are still naive enough to utter nonsense like this. This is basically "It can never happen to me" kind of thinking. Why do people always think it can't...
  30. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Well we had harsh multi-hour lockdowns for most of the pandemic, some of which were 20 hour lockdowns. The government even flirted with the idea of permanent 20 hour lock-downs. They were severe...
  31. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    In my opinion their main tactic was focusing more on the numbers than percentages. 3000 sounds a lot bigger than 1% in a lot of people's ears.
  32. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Oh boy. I really don't want to go down this road and get personal again. I'll just say that by the sheer luck of having the right clients we didn't go from having a comfortable life to 2 steps away...
  33. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    I've lost people to Covid too and I still don't care about it as much as "they" want me to. Covid didn't kill anymore people I know or care about than any other thing. Eg. Gun violence, fires,...
  34. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Please tell me you're joking....
  35. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    It's definitely on purpose. They can scare the population into selling their freedom for security.

    It's funny, I remember in the very beginning of this whole pandemic. I too was quite scared of...
  36. Replies
    11
    Views
    400

    Re: Adding VB6 OCX to VB.Net Windows form

    I have to agree with wes4dbt on this one. I really think you should look for modern replacements of these components or find some decent substitution for whatever functionality they provide. Mixing...
  37. Replies
    11
    Views
    400

    Re: Adding VB6 OCX to VB.Net Windows form

    VB6 controls do not play well with WinForms'. VB6 controls have a set of complicated interfaces that need to be implemented for them to be sited correctly on a WinForms' Form.

    TLDR; They are...
  38. Replies
    24
    Views
    15,748

    Re: how to change color of label when mouse hover?

    Well nothing is wrong your code. It works for me. Something else must be happening on your end. The error indicated it cannot find the CustomLabel class.
  39. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    Monopoly is a mock-up of the real thing. The rules are designed for that very outcome. You cannot have super wealthy people without casting a whole lot of people into poverty. Why do you think...
  40. Replies
    5,037
    Views
    423,429

    Re: Corona virus, China major city lockdowns, etc.

    This isn't an accident. Like I said, self interest governs the world.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width