Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.40 seconds.

  1. Re: VB6 usercontrol takes away focus from NET usercontrol

    Well, this depends on what the OP wants. We'll find out if he ever comes back.



    Hmmmmm. Not really. I mean you're not wrong in that there could be problems. However, it's not as bad as you'd...
  2. Re: VB6 usercontrol takes away focus from NET usercontrol

    Yea, that's pretty cool but that example seems to be particularly about the ComboBox. In WPF you could do any level of customization with any Control. Like you could have buttons with calendars on...
  3. Re: VB6 usercontrol takes away focus from NET usercontrol

    I would also like to point out that I'm sure you're far more knowledgeable than me on the inner workings of Win32/VB6 controls so you could probably solve this focusing problem in in like 2 minutes,...
  4. Re: VB6 usercontrol takes away focus from NET usercontrol

    I'm trying to say that OP probably wants the easy customization that WPF offers. I could be completely wrong but this is the only reason I'd ever consider mixing WPF and VB6.

    For example if I...
  5. Re: VB6 usercontrol takes away focus from NET usercontrol

    The similarities between VB6/Win32 controls and WPF controls are only skin deep. Beneath the surface, they are completely different. WPF is designed in such a way that you can go wild with...
  6. Re: VB6 usercontrol takes away focus from NET usercontrol

    It seems this cannot be avoided. I tried a whole bunch of different things to try to eliminate the behavior but everything failed. It seems there is some incompatibility deep in the guts of VB6 and...
  7. Replies
    3,195
    Views
    239,302

    Re: What song are you listening to right now?

    https://www.youtube.com/watch?v=e902jNKIcmA
  8. Replies
    3,195
    Views
    239,302

    Re: What song are you listening to right now?

    https://www.youtube.com/watch?v=G4EIHS4jeac
  9. Replies
    60
    Views
    3,384

    Re: Reading Proficiency and Programming

    This is not really as strange as it might sound because when you think about it, this is exactly how assembly language works. Registers are akin to variables in high level languages, yet you cannot...
  10. Thread: Stuff to watch

    by Niya
    Replies
    45
    Views
    3,443

    Re: Stuff to watch

    Oh I watched the first season of that show like 3 or 4 years ago. I was waiting too see if they'd make a second season or if it would get cancelled. Guess I kinda forgot about it eventually.
  11. Replies
    60
    Views
    3,384

    Re: Reading Proficiency and Programming

    +1 This so much.
  12. Replies
    59
    Views
    6,284

    Re: This forum is why VB6 is still usable today

    Just look at this console UI menu I wrote some years ago on the forum. Passel also posted a Calendar UI interface in the same thread written in this manner here. This was what UI code looked like...
  13. Replies
    59
    Views
    6,284

    Re: This forum is why VB6 is still usable today

    VB was successful because it was the first of it's kind. You have to remember that before VB, writing a UI was painful. I remember what it was like to write UI code all the way back in the 90s in...
  14. Replies
    3,749
    Views
    365,033

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

    Godwin's law at work here.


    At 94 pages long this was inevitable.
  15. Thread: Build Time

    by Niya
    Replies
    18
    Views
    449

    VS 2008 Re: Build Time

    You don't have to install any workload you don't need in Visual Studio 2019. You can choose only what you want.
  16. Re: User action versus code causing event to raise

    I have one question. What determines if it's a new analysis or a re-analysis? Is it something on the Form or something else entirely outside of the program?
  17. Re: User action versus code causing event to raise

    Hmm. I must be missing something then because even so I don't see a need to ever care about anything on the UI:-


    'Intenal value
    Private g_skipFlex As Boolean

    Public Sub LoadData()
    '*...
  18. Re: User action versus code causing event to raise

    This kind of problem is exactly why I'm such a huge fan of data classes and why I also love the concept of separating UI from business logic. If I were doing this, this entire process would be...
  19. Thread: Extending VB6

    by Niya
    Replies
    70
    Views
    3,981

    Re: Extending VB6

    There are some areas where they have to make sacrifices. A good example would be 16 bit support in 64 bit Windows, and even then there are workarounds. Thing is, they will aim for backward...
  20. Thread: Extending VB6

    by Niya
    Replies
    70
    Views
    3,981

    Re: Extending VB6

    This shouldn't surprise anyone. Microsoft believes in backward compatibility religiously. It's one of the main reasons Windows was so successful. Raymond Chen I believe it was wrote an article about...
  21. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Nothing is leaner than extern "C" __declspec(dllexport). Simple, straight to the point and very easy to use and implement.



    You guys are a minority. All the movers and shakers on the cutting...
  22. Replies
    60
    Views
    3,384

    Re: Reading Proficiency and Programming

    This is one of my historically bad habits I've only started to correct in recent years. One of my biggest problems from way back when was always writing large complicated functions when the better...
  23. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    You know what, let's just agree to disagree. Some people including myself think COM is an over engineered, overly complicated mess and some people like you think it's the greatest thing ever...
  24. Replies
    32
    Views
    917

    Re: Reference a .NET DLL in VB5

    Yea, that is a good article. It's gets into the theory behind it. I just focused on how to do it in my post.
  25. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Thing is, you and your camp are the only ones saying this. I'm not hearing about how great COM is anywhere else.



    What authoritative sources do you have to confirm this? Why should I listen to...
  26. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Let's not get lost in the weeds here with road worn arguments of the past. This isn't about which is better or how great you think COM is. el84 said it was stupid discontinuing VB6 and I responded...
  27. Thread: Printing a color

    by Niya
    Replies
    5
    Views
    299

    Re: Printing a color

    Windows can provide a device context for a printer to draw into just as you would draw into the screen, though I can't say of the top of my head what the best way to do it in VB6 would be. I can't...
  28. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    This isn't my opinion. I got that information from somewhere.. So if you want to debate this, debate it with Tim Anderson, not with me.



    I seem to remember Wayne saying his eventual goal of...
  29. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Nowhere.
  30. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    It's nothing short of amazing how far we have come.



    I disagree. VB6 had too much historical baggage that was holding it back from going where Microsoft wanted to take it. Starting from scratch...
  31. Thread: Stuff to watch

    by Niya
    Replies
    45
    Views
    3,443

    Re: Stuff to watch

    Very interesting indeed.

    I have a kind of soft spot for some classic Sci-Fi. Most of them are cheesy and dumb. But some like Forbidden Planet are absolute masterpieces as far as I'm concerned.
  32. Re: [RESOLVED] Why VB.NET Power Function is so fast ?

    I'd go lower level than that in addition to multi-threading. I'd start considering SIMD. Both C++ and VB.Net have ways of utilizing SIMD instruction sets. The performance benefits here could be...
  33. Re: Why VB.NET Power Function is so fast ?

    The question he asked is why was the VB.Net version faster than the VB6 version. Answering this question would require someone to know how both compilers work. The guys in the VB6 section hate .Net...
  34. Re: Why VB.NET Power Function is so fast ?

    If that is the case, did you test your calculation with a C++ version to see how fast it is? If you want to a simple function export that is usable from VB6, C++ has the best compiler for this. It is...
  35. Re: Why VB.NET Power Function is so fast ?

    Actually I think questions like this belongs in the VB.Net section. Many VB.Net programmers were also VB6 and VBA programmers, but not the other way around. I think we all know how the VB6 people...
  36. Re: Why VB.NET Power Function is so fast ?

    VB6 by default in the IDE uses a bytecode virtual machine which executes instructions slower than native code. VB.Net on the other hand always executes native code. Did you perform the VB6 test after...
  37. Replies
    13
    Views
    682

    Re: How To Compile code as DLL

    No one knows everything my man. ;)

    DLLs just happens to be something I'm very familiar with. I've written all kinds of DLLs over the years so I kind of have a sense for what's what when a topic...
  38. Replies
    3
    Views
    300

    Re: Looking for Custom UC checkbox on/off switch

    I agree with Elroy. You can use simple images in combination with simple GDI calls like StretchBlt to achieve this. However, I won't lie to you, it's still going to take quite a bit of time. You...
  39. Replies
    5
    Views
    270

    Re: Where are menu items stored?

    Yes. It's a different problem so it needs a different thread.
  40. Replies
    13
    Views
    682

    Re: How To Compile code as DLL

    No. He said "Standard DLL". Typically what people mean by this is the most common type of DLL which is one that exports WINAPI styled functions like Windows DLLs such as GDI32.Dll or User32.Dll
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width