Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 110.67 seconds; generated 11 minute(s) ago.

  1. Replies
    9
    Views
    103

    Re: Ascii string decoding

    That thread was created by the same member as this one.
  2. Replies
    9
    Views
    103

    Re: Ascii string decoding

    Are those RS and GS instances actually R, G and S ASCII characters or are they something else that doesn't actually have a visual representation?
  3. Replies
    9
    Views
    103

    Re: Ascii string decoding

    I don't see how we could possibly answer that question with the little information you have provided. Please provide a FULL and CLEAR explanation of the problem. All we can really tell you is that...
  4. VS 2013 Re: Need example how to Open/ Read/ Save Hex file please...

    There is no such thing as a "hex file". There are hex editors that display the data from a binary file in hexadecimal form because that form is more user-friendly, but the file itself just contains...
  5. Replies
    3
    Views
    104

    Re: Testing SQL database

    It's possible to have multiple clients connecting to an Access database but it's generally not a great idea. Using a proper server-based RDBMS is a better option. SQL Server is often the first option...
  6. Re: Need a control that allows for editing for web page?

    We use CKEditor for editing HTML in our web apps.
  7. Replies
    3
    Views
    104

    Re: Testing SQL database

    Firstly, it's important to understand what SQL is and is not. If you used Access then you were already using SQL, because SQL is the language that pretty much all databases use to manipulate data in...
  8. VS 2019 Re: Edit DataGridView Cell text programatically

    Of course you can't. There is no caret in the cell. A DataGridView doesn't contain any controls by default. It is simply a rendering of text and, in some cases, controls. It's only when you start...
  9. Replies
    4
    Views
    148

    Re: Which type of container to use?

    Perhaps if you could explain what the data actually is and how it's stored, we might be able to work out the best way to store it. There isn't just one best way for all data. It depends what the data...
  10. Replies
    7
    Views
    157

    Re: Need help reading from a file

    Option Explicit is On by default. It controls whether or not you have to explicitly declare a variable before either getting or setting its value. There is NEVER a reason to turn Option Explicit Off....
  11. Replies
    7
    Views
    157

    Re: Need help reading from a file

    You should also turn Option Strict On, because it will warn you about issue like this at compile time instead of letting them slip through to run time. Do it in the project properties and also in the...
  12. Replies
    7
    Views
    157

    Re: Need help reading from a file

    As for the issue, it presumably occurs here:
    fileReader = My.Computer.FileSystem.ReadAllText(strm)
    If you had paid attention to Intellisense when you typed that code or read the documentation for...
  13. Replies
    7
    Views
    157

    Re: Need help reading from a file

    It's good that you posted your code and the error message but you didn't tell us where the error occurred in that code. We can probably work it out ourselves but we shouldn't have to when you already...
  14. VS 2017 Re: Drawing on Pictureboxes on FlowLayoutpanel

    This question really has nothing to do with drawing on a PictureBox. That is EXACTLY the same regardless of whether the control is added at design time or run time. If you can draw on a control added...
  15. Replies
    1
    Views
    95

    Re: Visual Studio Workloads issue

    Assuming that you are installing VS Community 2019 and you're only building desktop applications then you only need to install the '.NET desktop development' workload. As the description says, that...
  16. VS 2010 Re: i have encountered this errors please help.key word is not valid as an identifier

    Firstly, please don't post unformatted code snippets. They are hard to read at the best of times but much more so when they are that long. Secondly, don't post irrelevant code. The error will be...
  17. Replies
    293
    Views
    7,647

    Re: Presidential Debates

    Like he needs any help with that. Of course, it's not going to be Trump who foots the bill for that farce. It will be his rabid supporters who will never accept that he lost fair and square, even if...
  18. VS 2019 Re: Open File Explorer showing selected file or Search results?

    That would be because an exception is thrown. Like I said, a crash is an unhandled exception. If you catch the exception then there is no crash.

    That would be because a different exception is...
  19. Replies
    1
    Views
    123

    VS 2013 Re: Saving an edited Windows Form GUI

    No it's not possible, from the point of view of the form class that is defined in your application. Whatever you create in the designer and the code window before you build is the class so that's...
  20. VS 2017 Re: Torn Between IE 11/Web Browser Control and Edge/WebView2 Control

    https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution

    Seems like the Evergreen option would be the way to go. Especially now, when (I believe) WebView2 is still in preview...
  21. VS 2019 Re: Open File Explorer showing selected file or Search results?

    That is a contradiction in terms. You catch exceptions and your application crashes if an exception is thrown and goes uncaught. If an exception is thrown and you catch it then, by definition, there...
  22. VS 2019 Re: Open File Explorer showing selected file or Search results?

    If it's possible then it's not really anything to do with VB. It will be done via a commandline argument to the explorer.exe executable, so you should research what arguments are available. Whatever...
  23. VS 2017 Re: Set Location of controls on a flowlayoutpanel

    The whole point of a FlowLayoutPanel is that the layout flows. If that's not what you want then don't use a FlowLayoutPanel. Why exactly are you using a FlowLayoutPanel in the first place? Please...
  24. VS Code Re: Saving and loading user settings

    I just tested a NotifyIcon and, while it does appear to support binding, it doesn't seem to respond when a bound setting is changed. It did seem to read the correct value at startup but then didn't...
  25. VS Code Re: Saving and loading user settings

    Your attachment is invalid.

    Are you definitely creating the correct project type, i.e. VB, WinForms App, .NET Framework? If so, maybe your VS installation is corrupt and you should perform a...
  26. Replies
    2
    Views
    192

    VS 2019 Re: How to view 3D objects?

    It sounds rather like you're trying to run before you can walk. If you want to work with 3D in a Windows app then you really ought to be using WPF rather than Windows forms, so you should learn the...
  27. VS Code Re: Saving and loading user settings

    I just noticed that your question title is prefixed with VS Code but your screenshot indicates that you're using VS. Which is it? There are no visual project property pages in VS Code, as far as I'm...
  28. VS Code Re: Saving and loading user settings

    Actually, looking more closely at your code, I'm wondering whether you're breaking it yourself. Everything seems far more convoluted than is required. Try the following in a new project and see...
  29. VS Code Re: Saving and loading user settings

    Firstly, be aware that you can bind control properties to application settings. You can do this in the Properties window, using the (ApplicationSettings) node. That means not having to set properties...
  30. VS 2017 Re: Torn Between IE 11/Web Browser Control and Edge/WebView2 Control

    I would suggest using WebView2 as a first option but, if you think that you'll have users without Chromium-based Edge installed, have a WebBrowser option available as a backup. You can then warn...
  31. Replies
    293
    Views
    7,647

    Re: Presidential Debates

    I think that they are more divided than it appears on the surface too, because it's not just those who agree with Trump and those who don't. It's those who agree with Trump, those who disagree with...
  32. Replies
    293
    Views
    7,647

    Re: Presidential Debates

    I'll take that as a win. :)
  33. Replies
    293
    Views
    7,647

    Re: Presidential Debates

    I'm not sure that that's necessarily the case, particularly given that many would call Biden and those like him DINOs. It seems like many just want to claim that those at the interface between the...
  34. Replies
    293
    Views
    7,647

    Re: Presidential Debates

    That comment is no more meaningful now than the first time you posted it.
  35. Re: ComboBox using database index - a better way

    The one comment I would make there is that you should always set the DataSource last. In some situations it will make no difference but in others it might cause an event handler to thrown an...
  36. Replies
    6
    Views
    341

    Re: Random equation generator

    Here are some methods that you might find useful:

    Private rng As New Random

    Private Function GetNumberText() As String
    Dim number As Integer

    Do
    'Generate a number in the...
  37. Replies
    13
    Views
    473

    Re: App update system - better approach

    Is there a reason that you cannot use ClickOnce? Automatic updates is probably the most important feature of ClickOnce.
  38. Replies
    6
    Views
    341

    Re: Random equation generator

    Doing something random is .NET is always done pretty much the same way (unless for cryptographic purposes): use an instance of the Random class to generate a random number in an appropriate range and...
  39. Replies
    6
    Views
    341

    Re: Random equation generator

    Indeed. An equation, by definition, equates things. If there's no equality operator then there's no equation.
  40. Replies
    15
    Views
    720

    Re: Edit a text file.

    It doesn't imply that at all. You have to read the file regardless. If you use Copy Always then the source file will be copied from your project folder to the output folder every time the EXE is...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width