Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.35 seconds.

  1. Re: how to distict if is it a file or a directory (like explorer listview)

    You should be able to use https://docs.microsoft.com/en-us/dotnet/api/system.io.directory.exists?view=net-5.0 to check, if it returns true then it is a directory and not a file.
  2. Re: read content in richtexbox line by line and save in c:\mydir\test.txt

    You could always just check if the last line is a blank line and if so then don't write it out.
  3. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Err, that is exactly the opposite of how vaccines work.


    How about the people who are vulnerable but can't have the vaccine for other reasons, they still need protecting.


    Is that the sound...
  4. Replies
    105
    Views
    2,793

    Re: Windows 11 coming soon

    Not sure why you are sharing a URL to what looks like an unofficial copy of the beta when anyone running Windows 10 (even in a VM) can just opt into the Insider Preview and get a completely...
  5. Replies
    10
    Views
    399

    Re: VB.NET on Apple Mac / MacBook

    https://github.com/AvaloniaUI/Avalonia might be worth a look.
  6. Re: About some work on this project of mine. Warning some periods of highs and lows

    That is a hell of a set of requirements to impose on anyone wanting to use the application, also the first time they run windows update / the flash updater kicks in it will effectively kill flash...
  7. VS 2010 Re: conversion from string " " to type 'Double' is not valid

    Good point, it has been so long since I used any of the Cxxx functions I completely forgot which was which...

    In that case I would probably also suggest putting Option Strict On as well to catch...
  8. VS 2010 Re: conversion from string " " to type 'Double' is not valid

    If you are calling CDec than you are using doubles, so presumably somewhere you are reading what looks like an empty string, or a single space and trying to convert it to a double - that is what is...
  9. VS 2019 Re: Raising an event when the object is instantiated

    I was working on the assumption of "less bad" rather than anything else :D
  10. VS 2019 Re: Raising an event when the object is instantiated

    That seems an utterly confusing way of doing things! Why have a property that returns true or false and also raise an event? It seems a pointless duplication of effort.

    It might be easier if you...
  11. Replies
    105
    Views
    2,793

    Re: Windows 11 coming soon

    Could be interesting, Windows 10 as Linux for the Desktop :D
  12. Replies
    105
    Views
    2,793

    Re: Windows 11 coming soon

    The current insider builds are still happily supporting 32 bit code so I can't see it being dropped any time soon. Interestingly they are also supporting graphical Linux apps as well.
  13. Re: showing a form based on value of a string containing the form's name

    It is a nice sunny day here, I am feeling optimistic :D
  14. Re: showing a form based on value of a string containing the form's name

    Is there a reason you need so many forms? Without really knowing exactly what you are trying to do it is really hard to suggest a decent solution.

    If you really must use strings like this then...
  15. Re: [RESOLVED] Is it legal to include a redistribution package inside of your commerc

    https://docs.microsoft.com/en-us/cpp/windows/redistributing-visual-cpp-files?view=msvc-160 seems a good starting point
  16. Re: Dictionary (GetValueOrNull) Error

    It looks like you have two extension methods that both have the same signature, the compiler can't choose between them.
    Either stop importing both and only import one, or you could just call the...
  17. Replies
    17
    Views
    558

    Re: Editing resx-files for translations

    Just open a developer command prompt and type winres, worked for me.
  18. Replies
    17
    Views
    558

    Re: Editing resx-files for translations

    Run winres, File Menu and Open
  19. Replies
    17
    Views
    558

    Re: Editing resx-files for translations

    It looks that way, try opening it with winres instead.
  20. Replies
    17
    Views
    558

    Re: Editing resx-files for translations

    Not near my pc at the moment, I would probably say the easiest way is to try it and see if it generated any warnings or errors.
  21. Replies
    17
    Views
    558

    Re: Editing resx-files for translations

    Converting it with resgen makes it a much easier format to work with than the horrific resx format.
  22. Replies
    17
    Views
    558

    Re: Editing resx-files for translations

    Are these resx files just string resources or are they also relating to the form contents?

    If they are part of a localised form then there is a tool called winres (should be installed along with...
  23. Re: create 64 bit system with assembly

    That level of graphical quality will have nothing to do with the OS and everything to do with the graphics card and related subsystem. You are now considering an OS that is just a terminal(??) and...
  24. Re: create 64 bit system with assembly

    The boot process doesn't change the fact the OS is still fully 64 bits, once it has booted it is no longer using any 16 or 32 bit code - that is simply part of getting the OS loaded and running due...
  25. Re: create 64 bit system with assembly

    That makes no sense at all, if you are using a 64bit version of linux then it is 64 bit. There would be nothing to convert to 64bit. I am assuming by terminal you are talking about the command shell,...
  26. Re: create 64 bit system with assembly

    Writing any OS is a massive undertaking, even a simple OS is a considerable amount of effort and your plans (or at least what I think they are) seems very ambitious "support for any gui" would be...
  27. Re: create 64 bit system with assembly

    That is assuming you are able to write a complete OS and everything it requires and do so more efficiently than any existing OS. That seems far more effort than simply using a lightweight OS that...
  28. Replies
    6
    Views
    242

    VS 2019 Re: error using File.Move

    You could wrap the failing code in a try catch block, however you could just check if the filename already exists and then handle that case by using a temp file name.
  29. Replies
    6
    Views
    242

    VS 2019 Re: error using File.Move

    Although Windows preserves the case of a filename it isn't case sensitive - that means it would see "text1.txt" and "Text1.txt" as the same filename and wouldn't allow the move. Try moving it to a...
  30. Replies
    11
    Views
    495

    VS 2019 Re: Unable to load DLL

    Where is this dll from? Is it something developed internally or is part of a 3rd party system? Is it normally installed as part of another package or application?
  31. Re: create 64 bit system with assembly

    If you are writing your own OS then it wouldn't be Windows either, I think it would help if you really defined what you are trying to achieve - I can't think of many sane reasons to write your own OS...
  32. Re: create 64 bit system with assembly

    If all you are after is a simple shell have you not considered something like https://alpinelinux.org/downloads/ as it is a pretty minimal linux install - hardly any overheads; got to be easier than...
  33. Replies
    11
    Views
    495

    VS 2019 Re: Unable to load DLL

    Is the DLL compiled as 32 or 64 bit? Is your VB app configured the same? Does the DLL have any other dependencies that might be missing from the system?
  34. Re: create 64 bit system with assembly

    https://gist.github.com/dvliman/267b66ac3a321172fd35 might be worth a look if you are seriously considering creating your own OS - it describes the linux boot process from power on to booting an OS....
  35. Re: Microsoft retiring Internet Explorer next year

    Which is why I specifically said "when a fully supported alternative exists", if there is no API and the site allows web scraping then needs must etc. however if there is a supported alternative then...
  36. Re: Microsoft retiring Internet Explorer next year

    Unfortunately there doesn't seem to be any one single way any given API will implement this kind of thing. for example the DeepL API would take a POST Request looking like


    POST...
  37. Re: Microsoft retiring Internet Explorer next year

    I have never understood the insistence on HTML scraping when a fully supported alternative exists. In most cases HTML scraping is against the T&Cs and it certainly seems that way looking at the ones...
  38. Re: Microsoft retiring Internet Explorer next year

    For starters they have a published API https://support.deepl.com/hc/en-us/articles/360020030320-Submitting-API-requests that would always be preferable to using a browser to submit and parse results.
  39. Replies
    15
    Views
    684

    Re: Retrieving lost files

    I always found TFVC a lot more confusing and complicated than git, plus it doesn't really have as many features as Git either.
    Even Microsoft themselves use Git internally so unless I was already...
  40. Replies
    15
    Views
    684

    Re: Retrieving lost files

    If you are using Visual Studio then git support has been built in for the last couple of versions, you can do all the routine version control stuff without ever leaving the IDE. The basics of Git...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width