Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.26 seconds.

  1. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    You're welcomed. :)

    See I'm not such a bad guy after all. :bigyello:
  2. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    Your question seems to be hinting at concerns over how the XAML is married to VB code. Underneath it all, XAML is just a way of instantiating objects. For example this:-

    <Grid x:Name="grd1">
    ...
  3. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    Yes, all of these properties are set at design time using XAML. To put it in VB6 terms, XAML is the text you find in frm files that tells you what controls a Form has, where they are etc. This is...
  4. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    If you've ever worked with HTML/CSS then you've worked with relative positioning before. It's the exact same concept. Minor adjustments are all done with margins and paddings.

    In WPF you live and...
  5. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    That's one of the main reasons but it's goes a lot deeper than that. While a WPF application by default will look exactly like any other Windows application, underneath the hood, they are completely...
  6. Replies
    10
    Views
    388

    Re: Fix the TwipsPerPixel rounding?

    I get the problem at 175%.
  7. Re: Is the VB6 community capable to grab the bull by its horns?

    Well this got out of hand fast:ehh:
  8. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    Now I realize that I'm not as experience as you when it comes to DPI awareness so maybe I missed something. Maybe I did something wrong in testing. I've attached the two .Net applications I wrote to...
  9. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    Ok, after reading what you wrote, I spent the better part of my night exploring DPI awareness in .Net and based on your explanation I can now answer your question. How does .Net deal with DPI...
  10. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    Also, if the blurriness itself is the problem you're talking about. You just have make a couple of very minor changes to a .Net project and that blurriness goes away. It would look crisp and properly...
  11. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    That doesn't answer my question.

    See, I remember you mentioning it in the other thread where I said I hated this TwipsPerPixel concept VB6 uses. That day I actually did spent at least 2 hours...
  12. Re: Is the VB6 community capable to grab the bull by its horns?

    And we have arrived back to the original problem that arose when MS stopped development of VB6 in favor of .Net. which is the lack of a clear and painless migration path. What all this tells me is...
  13. Re: Is the VB6 community capable to grab the bull by its horns?

    What you're describing here actually isn't VB6. This is an entirely different development platform. All VB6 provides is the IDE and the compiler. You won't be writing VB6 apps, you're actually...
  14. Replies
    14
    Views
    429

    VS 2010 Re: Another window doesnt popup though it should

    You can check for a running process like this:-

    '
    If Process.GetProcessesByName("Notepad").Length > 0 Then
    MessageBox.Show("Notepad is running!!")
    End If
  15. Replies
    421
    Views
    9,262

    Re: The US fragile democracy Exposed

    Maybe he is just trolling us. :)
  16. Re: Is the VB6 community capable to grab the bull by its horns?

    This horse has been beaten to death on this forum. This thread is not the first of it's kind. I wouldn't get my hopes up on this going anywhere. None of the others did. It's safe to say at this point...
  17. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    DPI and screen resolutions are very involved topics. There is no one size fits all in this arena. Narrow it down a bit and give me an example of a problem in that space you've had to solve using...
  18. Re: Is the VB6 community capable to grab the bull by its horns?

    There is already a 100% VB6 compatible substitute on the way, TwinBasic. It's actively being developed and already has an array of very impressive features considering there's only about 2 people...
  19. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    I have zero problems with anyone who loves VB6 but objectively speaking, VB.Net is much better. That's the truth.

    I have been getting into these debates on this forum since I got here and in all...
  20. Re: Is the VB6 community capable to grab the bull by its horns?

    C and Assembly aren't actually as difficult as you think. Based on your posts, I'm confident you can learn both inside of a month. Now don't expect to be able to understand how to write an OS after...
  21. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    I stopped taking you seriously when you made these statements. You're clearly not being objective and anything you say is tainted with personal bias. You have too much emotion invested in this. VB6...
  22. Replies
    421
    Views
    9,262

    Re: The US fragile democracy Exposed

    Remember when I mentioned Stormfront and 4Chan? This post is exactly the kind of nonsense you find in those spaces and this is extremely tame. If you guys want to see how deep this insanity really...
  23. Thread: Post Race!

    by Niya
    Replies
    64,964
    Views
    6,287,187

    Re: Post Race!

    My prayers are with you :)
  24. Re: COM Interop example. How to use .Net classes in VB6.

    When the .Net project is compiled in Visual Studio, it is automatically registered with COM. I'm guessing you were trying to deploy the binaries on another PC. In this case you would need to be...
  25. Replies
    47
    Views
    1,405

    Re: Should i learn VB6?

    I absolutely do not recommend VB6 even as a choice to just learn, just the opposite in fact. Firstly, VB6 isn't free so unless you're willing to pirate it, it's unlikely you will get a copy easily....
  26. Replies
    421
    Views
    9,262

    Re: The US fragile democracy Exposed

    I believe he is being sarcastic. No one as intelligent as Dil would actually believe such nonsense.
  27. Re: could anyone guide me on this byref arguement type mismatch error?

    It may just want the return value of MTK_ConnectDevice. That function returns a 64 bit integer according to the C code you posted. The only problem I see here is that VB6 doesn't have a 64 bit...
  28. Re: COM Interop example. How to use .Net classes in VB6.

    Yes it's definitely possible.
  29. Re: COM Interop example. How to use .Net classes in VB6.

    Actually, it's nothing like IPC. That method of using COM is actually termed an In-Process Server. What it means is that the COM object reside in the address space of the client, in this case, the...
  30. Re: COM Interop example. How to use .Net classes in VB6.

    You're welcomed.

    Yea, it needs admin privileges' to access the registry to write all the COM stuff.
  31. Re: could anyone guide me on this byref arguement type mismatch error?

    Yea, in this case the compiler was very clear on what the problem was so I had an idea where to look.
  32. Re: could anyone guide me on this byref arguement type mismatch error?

    Wait, I think I know what the cause is. He uses Dim to declare sResp in his module. I'm not entirely sure but I believe Dim defaults to Private which means his Form code is not actually seeing sResp...
  33. Re: could anyone guide me on this byref arguement type mismatch error?

    Well his code looks correct. However, this error has a very specific cause:-

    '
    Private Type MyType
    MyName As String
    MyAge As Integer
    End Type

    Private Sub Form_Load()
    Dim myUDT...
  34. Re: could anyone guide me on this byref arguement type mismatch error?

    That would work too.

    However, as far as I know, passing the UDT by reference should work as well. My first instinct is that the sResp is not declared correctly or declared at all. The code he...
  35. Re: [RESOLVED] Is there anyone who have been used a Control in vb6 like DataGridview

    I just released a sample on applying COM Interop to mix VB6 and VB.Net. You can check it out here if you're ever interested.
  36. COM Interop example. How to use .Net classes in VB6.

    https://www.vbforums.com/images/ieimages/2021/01/3.png

    More than a few times now, I've seen people asking how to use .Net components in their VB6 applications. As it seems there is some small...
  37. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    lol....this sounds like quite a monster. Yea, things like that can be expected with large-scale production applications and sometimes we can't help but avoid complexity. However, in most cases where...
  38. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    I would prefer to keep it simple and not have the .Net side import anything. All the importing would be done from the VB6 side. If I were doing this, I would create a class in .Net with methods that...
  39. Replies
    10
    Views
    388

    Re: Fix the TwipsPerPixel rounding?

    This TwipsPerPixel nonsense is one of the reasons I'm glad I don't work in VB6 anymore. I've always hated this Twips concept passionately. Why couldn't we just use pixel measurements like Win32 and...
  40. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    VB.Net doesn't have a concept like OCX. A control in .Net is just like any other object. You don't need any kind of specialized library to export one. You can export it just as you would any ordinary...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width