Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.22 seconds.

  1. Replies
    17
    Views
    264

    Re: Need help understanding the use of SET

    That's a very good point.

    In .Net there is no concept of default properties, however you can override the assignment operator to perform an implicit conversion so you can imitate this behavior...
  2. Replies
    7
    Views
    287

    Re: [RESOLVED] DLL from VC++ in VB6

    You're welcomed ;)
  3. Replies
    17
    Views
    264

    Re: Need help understanding the use of SET

    You say you use C#. The pattern is relatively common in .Net classes. For example, DataGridView.Rows.Add returns an Integer that represents the index of the row that was added. I'm fairly certain...
  4. Replies
    17
    Views
    264

    Re: Need help understanding the use of SET

    This is interesting. I'm known around here as one of VB6's biggest critics but this isn't a point of contention worth pursuing in my opinion. Setting object variables to null is a staple in every...
  5. Replies
    17
    Views
    264

    Re: Need help understanding the use of SET

    I think all your confusion comes from the fact that something like Add returning a value doesn't feel intuitive. It's quite a common pattern nowadays as it makes writing certain kinds of logic...
  6. Replies
    7
    Views
    287

    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)
    {...
  7. Replies
    18
    Views
    685

    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.
  8. Replies
    18
    Views
    685

    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...
  9. Replies
    2
    Views
    124

    Re: Hey everyone nice forum :)

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

    Welcome to mad house :D
  10. Replies
    16
    Views
    390

    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...
  11. Replies
    16
    Views
    390

    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????...
  12. Replies
    16
    Views
    390

    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...
  13. Replies
    16
    Views
    390

    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...
  14. Replies
    5,037
    Views
    423,685

    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 ;)
  15. Replies
    5,037
    Views
    423,685

    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...
  16. Replies
    5,037
    Views
    423,685

    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...
  17. Replies
    9
    Views
    272

    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...
  18. Replies
    5,037
    Views
    423,685

    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...
  19. Replies
    9
    Views
    272

    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:-
  20. Replies
    9
    Views
    254

    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...
  21. Replies
    9
    Views
    272

    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...
  22. Replies
    104
    Views
    4,675

    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. ;)
  23. Replies
    9
    Views
    254

    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...
  24. Replies
    9
    Views
    254

    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...
  25. Replies
    5,037
    Views
    423,685

    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...
  26. Replies
    104
    Views
    4,675

    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...
  27. Replies
    5,037
    Views
    423,685

    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...
  28. Replies
    9
    Views
    254

    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.
  29. Replies
    5,037
    Views
    423,685

    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...
  30. Replies
    104
    Views
    4,675

    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.
  31. Replies
    5,037
    Views
    423,685

    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...
  32. Replies
    104
    Views
    4,675

    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...
  33. Replies
    5,037
    Views
    423,685

    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...
  34. Replies
    5,037
    Views
    423,685

    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...
  35. Replies
    5,037
    Views
    423,685

    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...
  36. Replies
    5,037
    Views
    423,685

    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.
  37. Replies
    5,037
    Views
    423,685

    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...
  38. Replies
    5,037
    Views
    423,685

    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,...
  39. Replies
    5,037
    Views
    423,685

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

    Please tell me you're joking....
  40. Replies
    5,037
    Views
    423,685

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width