dcsimg

Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 0.14 seconds.

  1. Replies
    27
    Views
    838

    Re: VB6 program running on a MAC

    Tell me, what happens when the client wants his application to run offline on just his Mac without needing a LAN or an internet connection?
  2. Replies
    27
    Views
    838

    Re: VB6 program running on a MAC

    I've been posting on these boards for 9 years now, with a few brief periods of lengthy absences. And we've been in our share of heated debates over the years about VB6 and it's .Net based successors....
  3. Replies
    3
    Views
    304

    VS 2019 Re: Visual Basic 2019 handler Console Event

    Have you consulted the documentation for clues?



    The above stood out to me as a possible cause.
  4. Replies
    27
    Views
    838

    Re: VB6 program running on a MAC

    For someone as insanely talented as you, you sure can be quite a bit close minded sometimes. I know you guys have a deep hatred for .Net and that's fine. I don't want to go down that road of "my...
  5. Thread: pcode internals

    by Niya
    Replies
    6
    Views
    449

    Re: pcode internals

    This is a very interesting subject, one I've always been fascinated with. In fact, just the other day I was sitting down thinking about creating my own VM with its own stack machine and opcodes. Not...
  6. Replies
    5
    Views
    356

    VS 2019 Re: DownloadFileAsync not so Async

    '
    Async Private Function DownLoadFileAsync(address As String, path As String) as Task

    Dim client As Net.WebClient = New Net.WebClient()

    AddHandler...
  7. Replies
    34
    Views
    1,155

    Re: [RESOLVED] Fast replace in a large string

    If he is satisfied with it, I don't seen any need to optimize it further. Over engineering and premature optimization are huge time wasters when you need to get something up and running quickly.
  8. Replies
    34
    Views
    1,155

    Re: [RESOLVED] Fast replace in a large string

    I think OP's pretty much nailed it. After he incorporates baka's suggestion of using Instr to find the carriage return/Line feeds, I think it's safe to say his method is adequate. There are ways of...
  9. Replies
    34
    Views
    1,155

    Re: Fast replace in a large string

    Fair enough.



    I'm not entirely sure it's a good idea to commit to this method. Reading the file as a byte array and using Instr to search may not be the best approach. I mean OP hasn't...
  10. Replies
    34
    Views
    1,155

    Re: Fast replace in a large string

    Actually I don't disagree with him to be honest. Reading a file as a byte array is pretty basic unless you're talking to someone who is very new to programming. I remember writing my own version of...
  11. Replies
    34
    Views
    1,155

    Re: Fast replace in a large string

    10 years ago, I'd have suggested you perform these String operations as actual memory operations. That is to say find the necessary offsets for the text you're interesting in changing and use memory...
  12. Replies
    6
    Views
    342

    Re: Drawing on a Track Bar

    Well it depends on whether you call the base class WndProc before or after the custom rendering code. You can think of calling the base class WndProc as calling the default drawing code and apply...
  13. Replies
    6
    Views
    342

    Re: Drawing on a Track Bar

    Overriding OnPaint doesn't work at all for whatever reason but I have been successful in handling painting more directly through the Control's Window Procedure.
    Public Class TrackBarEx
    Inherits...
  14. Replies
    12
    Views
    546

    Re: VB6 crashes at start

    @OP

    If it turns out that elevated privileges are indeed the problem, you can disable that annoying behavior in Windows 10 through a simple setting:-

    https://i.imgur.com/DiSVIhe.png

    Disabling...
  15. Re: Encryption using RSA algorithm in VB.NET(Criptografia usando algoritmo RSA em VB.

    I've looked up this cryptography API you're using and it's quite a bit over my head for now. I can't tell you what is wrong but I can point to what I suspect is wrong. In this section of the...
  16. Re: Encryption using RSA algorithm in VB.NET(Criptografia usando algoritmo RSA em VB.

    So whats wrong with it?
  17. Replies
    11
    Views
    602

    Re: Getting SQL query from SSH?

    Did you read any documentation on MariaDB? I've never heard of it until this very thread and it took just from the 5 minutes of research to figure out that for one thing, you're most likely using the...
  18. Replies
    11
    Views
    602

    Re: Getting SQL query from SSH?

    What database engine are you using on the server? Is it Microsoft SQL Server or MySql?
  19. Replies
    5
    Views
    449

    VS 2017 Re: VB.NET USB Detection

    Did you try single stepping through the code to see what it's actually doing? I can't tell what might actually be wrong from just looking at it since I don't know how those classes you're using...
  20. Replies
    18
    Views
    904

    Re: Convert VBA and VB6 code to C# or VB.NET?

    There is a bit of nuance to this question you're asking. You can't think in terms of converting VBA to C#/VB.Net. You see, VBA is more than just a language. It's an entire environment designed to...
  21. Re: !! Please Check This out for me, thanks in advance !!

    VBForums would not be VBForums with threads like this :D
  22. Thread: End of VB

    by Niya
    Replies
    39
    Views
    1,573

    Re: End of VB

    If you want people to collaborate on something that needs a team of people to develop, you generally start by laying the groundwork and then releasing it as open source on a platform like GitHub. The...
  23. Thread: End of VB

    by Niya
    Replies
    39
    Views
    1,573

    Re: End of VB

    As someone who loves writing code in VB.Net, I'm really not concerned about this to be honest. VB.Net will be viable for quite some time and when the difference between C# and VB.Net becomes too much...
  24. Replies
    12
    Views
    426

    VS 2010 Re: Option Strict On - Disallows late binding

    This right here is exactly why I believe today that VB6 is such an abomination despite using it for well over a decade. While people like Tanner Helland and Olaf Schmidt have done some truly amazing...
  25. Replies
    12
    Views
    426

    VS 2010 Re: Option Strict On - Disallows late binding

    '
    Private Sub ReceiveData(ByVal connectedSocket As Net.Sockets.Socket)

    'Note: 5000 is the upperbound, not the size of the array.
    'That actually size is 5001 bytes. The index...
  26. Replies
    12
    Views
    426

    VS 2010 Re: Option Strict On - Disallows late binding

    Oh God.....Kill it kill it kill it!!

    Reading that code hurts my soul. That old Winsock control is absolutely terrible for writing proper Winsock applications. I mean it works and with enough grit...
  27. Replies
    7
    Views
    366

    VS 2015 Re: Send Message to Telegram

    I don't know anything about Telegrams so I will give a more generalized answer to your question. If you have code that goes through a Web Browser for HTTP communication and you want to avoid doing...
  28. Replies
    11
    Views
    484

    Re: Event Handling C# to VB.Net conversion

    I tend to opt for event driven designs in my own code to be asynchronous because it just simplifies things more often than not. I've found myself in trouble more than once because of event handlers...
  29. Thread: Moving code

    by Niya
    Replies
    3
    Views
    172

    Re: Moving code

    That question doesn't make sense. You don't "move code to a different place while it's running". You're gonna have to provide a much clearer explanation.
  30. VS 2010 Re: [RESOLVED] How can you create an array where the 1st index is 1 not zero?

    1 based arrays are a garbage concept. You give up way too much for very little. It simplifies things when you just need to enumerate a simple list in a For...Next loop and that's all it will ever...
  31. Replies
    39
    Views
    873

    Re: Learning C# from VB

    Why would we debate that? Everyone knows Times New Roman is more readable. There's no debate :D
  32. Replies
    39
    Views
    873

    Re: Learning C# from VB

    I don't disagree. What I'm basically saying is if you compare the most readable code possible in VB, the C# version of that same code is more readable. However, this is all my opinion. Don't take...
  33. Replies
    39
    Views
    873

    Re: Learning C# from VB

    Oh wait till you see some of the LINQ stuff in the wild. Imagine a LINQ statement several lines long. That looks really cluttered in VB compared to C#. Those "Function" keywords add up very quickly...
  34. Replies
    39
    Views
    873

    Re: Learning C# from VB

    With respect to understanding what something does, by a wider ranged of people of varying skill level and knowledge, I agree 100%. BASIC syntax is infinitely clearer due to not having a bunch of...
  35. Replies
    39
    Views
    873

    Re: Learning C# from VB

    I wouldn't go that far. While I program primarily in VB, when I look up code online, I look for C# code. Not only is C# code far easier to find, I find it much easier to understand on a glance. VB is...
  36. Replies
    39
    Views
    873

    Re: Learning C# from VB

    The retirement of VB is not too big a deal. The true power of VB.Net comes from the Framework, not the language. While my "muscle memory" works seamlessly with the BASIC syntax, I don't foresee a...
  37. Calculating the broadcast address given an IPv4 IP address and subnet mask.

    '
    Imports System.Net

    Public Class IPv4Helpers

    Public Shared Function GetBroadcastAddress(ByVal ip As String, ByVal subnetMask As String) As String

    'Convert the IPv4 address and...
  38. Replies
    4
    Views
    257

    Re: DX9 and Lighting

    No idea what you just said but it sounds very interesting. Though I have a lot of experience with graphics, it's strictly been 2D raster graphics, not 3D. Glad you figured it out though. I faced...
  39. Replies
    14
    Views
    570

    VS 2019 Re: Flickering picture

    If you plan on writing games, this is not the approach you want to take. You want to do full redraws. His version of Tetris is very simply graphically so he may be able to get away with that but even...
  40. Replies
    584
    Views
    46,278

    Re: Vb6 , the Future, and what I have discovered

    Err....not really sure what you're trying to say here:ehh:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width