Search:

Type: Posts; User: Niya

Page 1 of 13 1 2 3 4

Search: Search took 12.47 seconds.

  1. Replies
    7
    Views
    300

    Re: VB6 EXE does not work, but runs from VB6 IDE

    Can you provide more information than "can't run"? Does the application just not run, does it run and crash, does it work but not do what you expect, is there a message box reporting an error, does...
  2. Replies
    5
    Views
    319

    Re: Minor Annoyances in VS2019

    Sounds like you should try re-installing VS2019. Usually with freaky things like this where I'm the only one that seems to be having a problem and I just re-install and call it a day. If that doesn't...
  3. Replies
    3
    Views
    223

    Re: The Cost of Refreshing

    There is actually quite a lot happening when you call Refresh on a Control. Internally Control.Refresh makes two API calls. First it calls a .Net implementation of Invalidate to invalidate the...
  4. VS 2015 Re: Launch exe as another user with elevated rights

    It seems Tyson's suggestion might be the most expedient way to solve this problem. He suggested using the CreateProcessWithLogonW API. It's more direct version of what Ident suggested that doesn't...
  5. Replies
    3
    Views
    134

    Re: udp send and receive

    I agree with Shaggy. There is no way that code would be able to receive the data sent because in terms of the speed at which these things operate, that data was sent long before it was ready to...
  6. Replies
    3
    Views
    409

    Re: Impossible problem VB.Net - Please help

    Lol this is a classic mistake, doing a search loop like that. Look very carefully at how that code is structured. Here's a question that should clue you in: Why are you still looping after finding...
  7. VS 2019 Re: Socket connected but send doesn't seem to work

    I don't think Nagle's algorithm is the problem here. I'm not even sure the problem is on this side. This is looking like a problem on the other end of that connection. The server isn't sending...
  8. Replies
    14
    Views
    728

    Re: Girl in trouble - heeelp :)

    I find it very telling and somewhat interesting that you felt the need to let us know your gender. This isn't Twitch. There are no simps here that will bend over backwards for the pleasure of doing...
  9. Replies
    2
    Views
    401

    VS 2019 Re: GDI+ Performance Issue

    This kind of thing should be done on a GPU. The method you're using is utilizing the CPU to perform those transformations. You need to use a library like DirectX or OpenGL which can perform...
  10. Replies
    27
    Views
    1,006

    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?
  11. Replies
    27
    Views
    1,006

    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....
  12. Replies
    3
    Views
    373

    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.
  13. Replies
    27
    Views
    1,006

    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...
  14. Thread: pcode internals

    by Niya
    Replies
    6
    Views
    506

    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...
  15. Replies
    5
    Views
    561

    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...
  16. Replies
    34
    Views
    1,334

    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.
  17. Replies
    34
    Views
    1,334

    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...
  18. Replies
    34
    Views
    1,334

    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...
  19. Replies
    34
    Views
    1,334

    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...
  20. Replies
    34
    Views
    1,334

    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...
  21. Replies
    6
    Views
    412

    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...
  22. Replies
    6
    Views
    412

    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...
  23. Replies
    12
    Views
    628

    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...
  24. 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...
  25. Re: Encryption using RSA algorithm in VB.NET(Criptografia usando algoritmo RSA em VB.

    So whats wrong with it?
  26. Replies
    11
    Views
    773

    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...
  27. Replies
    11
    Views
    773

    Re: Getting SQL query from SSH?

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

    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...
  29. Replies
    18
    Views
    1,998

    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...
  30. Re: !! Please Check This out for me, thanks in advance !!

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

    by Niya
    Replies
    39
    Views
    1,750

    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...
  32. Thread: End of VB

    by Niya
    Replies
    39
    Views
    1,750

    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...
  33. Replies
    12
    Views
    503

    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...
  34. Replies
    12
    Views
    503

    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...
  35. Replies
    12
    Views
    503

    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...
  36. Replies
    7
    Views
    967

    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...
  37. Replies
    11
    Views
    658

    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...
  38. Thread: Moving code

    by Niya
    Replies
    3
    Views
    198

    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.
  39. 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...
  40. Replies
    39
    Views
    1,090

    Re: Learning C# from VB

    Why would we debate that? Everyone knows Times New Roman is more readable. There's no debate :D
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width