Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Visual Small Basic v1.8.5 for kids and beginners

    Only had a brief look at it myself and I am not really sure what benefits it would bring over just learning VB.Net - I think the fact variables don't seem to use "Dim" to declare them threw me...
  2. Replies
    6
    Views
    309

    Re: Command Prompt in Windows 10?

    It really depends on what you are overwriting and what you are overwriting it with - in this case presumably they have studied the original file and figured out how to safely change it to get the...
  3. Re: Should I use a Class or a Structure, (Matrix Tool)

    Looking at this and your original post, I am not convinced that switching between a struct and a class would yield much of a performance difference. If there are speedups to be had they are probably...
  4. Re: Best Alternative to VB6 for teaching and training

    May not be to your taste but have you considered C#? The IDE and language is free, installs just fine on a modern OS.

    The language can start from a very simple console "Hello World" in fact the...
  5. Re: Should I use a Class or a Structure, (Matrix Tool)

    I suppose the easiest way would be to try both approaches and time them.

    https://benchmarkdotnet.org/ is a great tool for benchmarking dotnet code.
  6. Replies
    694
    Views
    270,298

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

    Don't forget that it also targets x64, so I completely agree that generating correct code is far more important than optimised code at this stage.
  7. Re: variables in a sealed class retain value after form close

    [QUOTE=DaveDavis;5579686]I like your describes that I can understand. Now I 'reset' those 'global' static variables when I create new instance of my UserControl:



    public MyUC()
    {
    //...
    ...
  8. Re: variables in a sealed class retain value after form close

    Because static variables belong to the class, not an instance of the class. The lifetime is not the same as the lifetime of an instance.
    The static variable retains its value for the lifetime of...
  9. Re: variables in a sealed class retain value after form close

    https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/static
  10. Replies
    14
    Views
    691

    Re: Another Winsock question

    Exactly, when the server listens for incoming connections it will need to listen on a specific port. The client needs to connect on the same port for things to work.

    You could give the server a...
  11. Replies
    14
    Views
    691

    Re: Another Winsock question

    If somebody is going to connect to a server then they will need to know the name / ip address of the server - displaying the information makes it easier to find.

    An IP address might change,...
  12. Replies
    23
    Views
    613

    Re: Network Logic

    If a hashed password is all it takes to authenticate then you are correct, this is no more secure than not hashing - someone who can intercept the hash can impersonate the account.

    This is why you...
  13. Replies
    23
    Views
    613

    Re: Network Logic

    VB.Net is the current release, you just install it - no fuss, no workarounds. VB6 has issues because when it officially left support in 2008 Windows Vista was the current OS and no further updates...
  14. Replies
    23
    Views
    613

    Re: Network Logic

    This is why you would also want to use some form of encrypted connection, https is an example of this.
  15. Replies
    23
    Views
    613

    Re: Network Logic

    Normally you would be looking a some sort of firewall between your application and the internet, this could be a software solution, might be built in to your router, could be a 3rd part device if you...
  16. Replies
    4
    Views
    301

    Re: Winsock background questions

    [QUOTE=AccessShell;5578565]
    When I try to move off a LAN into the WORLD, I believe my code ould be



    me.sckMain.RemoteHost = Winsock.LocalIP
    Me.sckMain.RemotePort = Me.lblPort.Caption...
  17. Re: Closing Forms confuses me!

    The windows UI is ultimately driven by messages, which the underlying window itself will process. When you call .Close() on a form you are really doing nothing more than sending a WM_CLOSE message to...
  18. Replies
    10
    Views
    780

    Re: News for VB.NET!!!

    The article explains how to launch VS in a new hive, unless your question was something different.

    it is under Step 1. Launch Visual Studio in a new Hive. It even explains why as part of that...
  19. Replies
    60
    Views
    1,269

    Re: W11 idiotic.

    I think there is, I used chocolatey before the official one existed and haven't found a reason to change.
  20. Replies
    60
    Views
    1,269

    Re: W11 idiotic.

    On Windows I use chocolatey wherever possible to install software, at least that way I can install, update, and remove software from a command line. I just wish it worked the same for the OS itself.
  21. Replies
    4
    Views
    301

    Re: Winsock background questions

    Exiting an application with just an End statement is generally bad practice anyway, so I would avoid doing things that way....

    I am assuming cmdDisconnect is a specific example, but it is...
  22. VS 2022 Re: Mysql Sprocs Not running Mysql 8 and VS2022

    Shouldn't the command object be configured to use the connection your are creating and opening?
  23. Replies
    15
    Views
    832

    VS 2022 Re: Reading an API

    Still not 100% sure what you are trying to do, I think you are saying you want to search the results by filename and find the current version of a particular file. Is that correct?

    If so you could...
  24. Replies
    5
    Views
    345

    Re: Cookie help

    The API is the supported way of making requests, automating the web UI is against the T&Cs for just this reason (See section 8.2)
  25. Replies
    5
    Views
    345

    Re: Cookie help

    That seems an awful lot of effort to call their API, I have never seen an official api that requires the caller to mimic a Webbrowser like that.

    https://www.deepl.com/en/docs-api shows a much...
  26. Replies
    15
    Views
    832

    VS 2022 Re: Reading an API

    In your example above you have the line


    rawresp = reader.ReadToEnd()


    what does the contents rawresp look like?
  27. VS 2022 Re: Read multiple JSON files

    Does it give an error?
  28. VS 2022 Re: Read multiple JSON files

    Does your code throw any errors? If you step through it in a debugger is it correctly loading the json files and deserialising them?
  29. VS 2022 Re: Read multiple JSON files

    What have you tried so far? When you say you weren't successful what happened and how did it differ to what you expected to happen?
  30. Replies
    2
    Views
    252

    VS 2022 Re: Check for free memory

    I would say you are going wrong by taking an numeric value, converting it to a string and then converting it back to an number. Why not just use the number value directly?



    Dim full, drive As...
  31. VS 2022 Re: Read multiple JSON files

    The attachment isn't working, however files is a list of Medium objects, not sure what you are expecting MsgBox to display. Also as this is VB.Net you might be better off using MessageBox.Show rather...
  32. VS 2022 Re: Delete folder content or file only

    https://docs.microsoft.com/en-us/dotnet/api/system.io.directory.delete?view=net-6.0#system-io-directory-delete(system-string-system-boolean) is an overload that will delete a folder and all of the...
  33. VS 2022 Re: Read multiple JSON files

    Which line is throwing that error?
  34. VS 2022 Re: Read multiple JSON files

    Assuming you have added a reference to Newtonsoft.Json then the following code should read all .json files in the same folder as the executable (probably a bad idea, put the files somewhere better)...
  35. Replies
    13
    Views
    533

    Re: All in one question post

    Nobody said people don't want to help, what was said is to ask specific questions about specific problems. Give detail on your questions, show what you have already tried, acknowledge that you have...
  36. Replies
    122
    Views
    3,019

    Re: Jan 6th rioter sentenced

    So you are saying that a lack of awareness and understanding was a good thing? 20 years ago people didn't use that phrase because transgender people were vilified and treated as if it was a mental...
  37. Replies
    122
    Views
    3,019

    Re: Jan 6th rioter sentenced

    I have been to Leek (many, many years ago), and the only thing I find surprising is that somebody challenged him on his viewpoint!

    To put Leek in context I once knew somebody who applied for an...
  38. Replies
    3
    Views
    444

    Re: Azure DevOps

    From a pure code repo point of view there will be very little difference to Gitlab - it is just another git repo at the end of the day. In fact Azure DevOps can import an existing repo (all branches,...
  39. Replies
    122
    Views
    3,019

    Re: Jan 6th rioter sentenced

    If a woman makes the decision then she has to live with the consequences, but it is her decision. When a pro-lifer is making the choice on her behalf, effectively denying her the right to even make a...
  40. Replies
    122
    Views
    3,019

    Re: Jan 6th rioter sentenced

    You originally said "If you woke up one morning and decide that... " this implies it was a simple and quick decision, as if the person hadn't thought about it prior to waking up that morning. That...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width