Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    238

    VS 2015 Re: JsonProperty auslesen

    The first line of date
    "Message": "{ should be
    "Message": { notice your data as an extra " character.

    If another system is generating this JSON then the other system is bugged, it isn't...
  2. Re: Give myself permission to access a sql database I created through a vb.net progra

    I would look at Karen's suggestion - it almost certain you are still in the master database and not the MoviePlots database. You would either need to switch to the newly created database or use a...
  3. Replies
    5,161
    Views
    428,197

    Re: Corona virus, China major city lockdowns, etc.

    So it is fine for the opinions you approve of to earn money.


    but not fine for a reputable source to publish findings.

    So you believe things that aren't mainstream and deny the truth in...
  4. Re: Very Slow SQL Query When Using IP in Connection String

    If you ping the server name does it say the same address?

    Did you look at the link regarding enabled / disabled protocols?

    Also I wouldn't normally recommend having a sql server directly...
  5. Re: Very Slow SQL Query When Using IP in Connection String

    I take it that if you ping the server using either the IP address or Name it works, I am also assuming that if you ping it by name it resolves to the correct IP address.

    IF you follow the...
  6. Re: Very Slow SQL Query When Using IP in Connection String

    Just to clarify...

    If you are accessing the same server, from the same client, changing nothing but the server name to the server's IP address you get a big difference in performance and also...
  7. Re: Very Slow SQL Query When Using IP in Connection String

    What happens if you make connection string 2 the same as the first connection string, but replace the server name with the IP address?
  8. Re: Very Slow SQL Query When Using IP in Connection String

    Not sure if those two conenction strings are using the same drive, the second one is using the OLEDB driver and I think the first one is ODBC - that might account for the difference.

    Are both...
  9. Replies
    20
    Views
    549

    Re: Time Sync

    Out of interest is there a reason why just letting it automatically sync the time wouldn't work?
  10. Re: Implementing interfaces that inherit from IDispatch

    https://docs.microsoft.com/en-gb/windows/win32/api/oaidl/nn-oaidl-idispatch?redirectedfrom=MSDN

    IUnknown is pretty much the fundamental COM interface, everything inherits from this. IDispatch is...
  11. Replies
    5,161
    Views
    428,197

    Re: Corona virus, China major city lockdowns, etc.

    Evolution is a very slow and uncertain process, it can take thousands of years for even minor changes to occur.

    Medicine and related health improvements (call it Big Pharma if you like) have...
  12. Re: I want to ask the user to login only English text ??

    Your previous thread https://www.vbforums.com/showthread.php?894643-How-do-I-ask-the-user-to-enter-a-number-in-a-Text gave examples of how a particular condition could be imposed, the general process...
  13. Re: I want to ask the user to login only English text ??

    So only valid English words, as found in an English dictionary?
  14. Re: I want to ask the user to login only English text ??

    What do you mean by "only English" though? Just characters in the English alphabet? ASCII characters?
  15. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    Dim entryFullname = Path.Combine(dirPath, entry.FullName)
    Dim entryPath = Path.GetDirectoryName(entryFullname)

    Seems a bit redundant as you are combining the dirPath with the entry name, and then...
  16. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    Then check to see if the folder is there and create it if it isn't. Or handle the exception by creating the folder and trying it again.
  17. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    What errors do you get? The more information you provide the less we have to guess at what is going wrong. What version of .Net are you using? The code I posted will work with the latest version but...
  18. Re: I want to ask the user to login only English text ??

    What conditions though?
  19. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    A zip file is a binary file, trying to display it as UTF8 text makes no sense.
  20. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    If you were updating the MemoryStream then I could understand that exception, however if you are only reading from it that seems strange...

    Try the following...


    dim zipBytes as byte() =...
  21. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    In the second example you aren't using the same overload of the ExtractToDirectory method, try using the one that takes a second Boolean parameter.

    Which line in the first example gives the...
  22. VS 2019 Re: [RESOLVED] Unzip Archive from Resources

    Perhaps make the ZipArchiveMode.Read rather than update if you are only ever going to extract, according to the docs...
  23. VS 2019 Re: Unzip Archive from Resources

    Is the zip file embedded as a resource in your application? If so the resource My.Resources.Test is the zip file, not a path to the zip file.

    Not tested the code below, so it could very well be...
  24. Re: How do I set proper DPI setting in my application?

    https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8 is probably worth a quick read.
  25. Re: I want to ask the user to login only English text ??

    So what exactly are you wanting? Do you wnat to limit the input? Display a message? What? Give as much detail as possible when asking a question, not a screenshot and virtually no words. This...
  26. Re: How's too of making a compressed file, of some sorts

    So if a multiple megabyte mkv film could be compressed to 100 bytes why would we not be using this format instead of mkv? mkv is already a compressed format, you aren't going to get one compressed to...
  27. Replies
    862
    Views
    282,368

    Re: TwinBasic

    Compact language syntax and runtime memory usage aren't really related. Yes in early versions of c ++ and +1 mapped to different Cpu instructions but that hasn't been the case for decades. Any decent...
  28. Replies
    3
    Views
    894

    Re: User Control, Visual Studio 2019

    It looks as though your new user control is inheriting from usercontrol1, if you check the code behind it might have an Inherits statement. Worth looking to see what it says.
  29. Re: [RESOLVED] Assuming VB6 goes multi-platform...APIs?

    After using .Net for many years I think this approach is the one that makes sense, intercepting WinAPI calls and redirecting to the local OS equivalent is always going to be slower, more error prone,...
  30. Replies
    5,161
    Views
    428,197

    Re: Corona virus, China major city lockdowns, etc.

    If they were sensible enough to have orchestrated a world wide epidemic I doubt they would have been stupid enough to then announce it publicly beforehand.
  31. Replies
    5,161
    Views
    428,197

    Re: Corona virus, China major city lockdowns, etc.

    https://www.dailymail.co.uk/video/tvshowbizbigbrother/video-2196054/Video-George-Galloway-pretends-cat-cringeworthy-CBB-episode.html might give you an idea of what he is like, anything for a bit of...
  32. Re: No help files for Visual Studio 2010

    2022 is already final, it also allows you to install the help files locally (no idea if that was available in previous versions of VS or not)
  33. Replies
    862
    Views
    282,368

    Re: TwinBasic

    So changing the option would effectively rewrite the relevant parts of the code? Or would it store the code the same way under the hood and just display / translate in the editor based on your IDE...
  34. Replies
    862
    Views
    282,368

    Re: TwinBasic

    The problem you get with that is somebody could then make the += operator do something non-obvious. That could result in the following two examples doing two completely different things...


    Dim i...
  35. Replies
    862
    Views
    282,368

    Re: TwinBasic

    The biggest problem with an IDE setting is what happens if you open a project from someone who has their IDE set up differently to yours? Would the code still compile if your IDE was set to not use...
  36. Re: Using Microsoft Cognitive Services in VB6

    The search service is changing anyway, it has a more on that page pointing this out. If you follow the link to the new search service you can see examples of calling the API using a restful approach....
  37. Replies
    6
    Views
    282

    Re: better way to convert seconds into dd:hh:mm:ss?

    That is probably the easiest way to get a number of seconds into a usable object, you might find that the ToString method of the TimeSpan useful to simplify generating the string though.
  38. Replies
    57
    Views
    2,002

    Re: Learning Visual Basic Net

    Nothing is ever simple on these forums :D we tend to get a bit enthusiastic in our attempts to be helpful! It isn't a bad thing, honest :)
  39. Replies
    57
    Views
    2,002

    Re: Learning Visual Basic Net

    Oddly enough I haven't tried Python with Visual Studio in years, used to be quite poor integration. Tended to use Anaconda or VS Code, just tried it with VS 2022 and I am amazed how much it has...
  40. Replies
    57
    Views
    2,002

    Re: Learning Visual Basic Net

    Try that in something like VB6 and it isn't likely to work without a form or a sub main and a project file configured to launch either the form or the sub main. Same with VB.Net, you can't just dive...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width