Search results

  1. jmcilhinney

    Question how to use file from website

    Your "question" doesn't really make sense. That DownloadFile method will download data from a remote location to a file on your machine. Once that's done, it is a file like any other and you would use it like any other file. The fact that it was downloaded is irrelevant to how you use it...
  2. jmcilhinney

    Typed DataSets

    That you would ask that question is more proof that you have really read what I've posted, even if your eyes have passed over the words. I've told you more than once that you need to create an instance of the appropriate table adapter class. Why would that suddenly not be the case? It also...
  3. jmcilhinney

    Typed DataSets

    I already had unsubscribed from your thread here and elsewhere but now you've piqued my interest again. Honestly, sometimes I don't understand what it is that people don't understand. I think the issue is that people think they're reading the words I (or others) write but they're really not...
  4. jmcilhinney

    Typed DataSets

    Of course I was, because that was when I told you that you weren't using a typed DataSet. Lo and behold, you're STILL not using a typed DataSet properly, despite my having told you multiple times. I've told you more than once that your typed DataTable has a method that creates a typed DataRow...
  5. jmcilhinney

    Typed DataSets

    I just went back and had a look and, sure enough, there were no table adapters involved. This is part of it: ' Table Adapter Update sqlStr = "SELECT * FROM dbo.JobInfo" da = New SqlDataAdapter(sqlStr, sqlCn) da.Update(ds) So the comment says "table adapter" but the code creates a data adapter...
  6. jmcilhinney

    Typed DataSets

    Of course that line of code doesn't work. I have already told you elsewhere that you DO have to create an instance of a table adapter class, just like any other class. What you're showing there is like trying to set the Text property of the TextBox class rather than a TextBox instance. I have...
  7. jmcilhinney

    Rest API with ASP.NET MVC

    You should create them as separate projects and then simply host them under the same domain if that's appropriate.
  8. jmcilhinney

    Answered Web Access in code

    When you start a thread, you should specify the Question prefix if you're asking a question. If you resolve your own issue or receive an appropriate answer then you can edit and change the prefix to Resolved or Answered. As suggested, the thread still remains open, so you or someone else can...
  9. jmcilhinney

    Code Logic problem using group boxes, text boxes and check boxes

    Another tip: given that it is for output rather than input, should you be using a TextBox for the total cost? A Label might be more appropriate but, if you do use a TextBox, at least set the ReadOnly property to True. Also, instead of having the $ symbol outside the control, you can make it...
  10. jmcilhinney

    Code Logic problem using group boxes, text boxes and check boxes

    You should be using RadioButtons for the size rather than CheckBoxes. CheckBoxes are independent of each other and so are appropriate for the toppings but RadioButtons specifically act as a group within the same container and will thus inherently prevent the user selecting more than one. A...
  11. jmcilhinney

    Rest API with ASP.NET MVC

    You don't use ASP.NET MVC is how. You use Web API. It's basically MVC without the V, i.e. there's no UI. The controller actions return data that can be consumed by other applications rather than views that can be displayed in a browser.
  12. jmcilhinney

    Typed DataSets

    It's also worth noting that typed DataSet classes inherit the equivalent standard, untyped DataSet classes, i.e. the typed DataSet, DataTables and DataRow classes all inherit the standard DataSet, DataTable and DataRow classes. That means that, to know what is specific to a typed DataSet and...
  13. jmcilhinney

    Typed DataSets

    You imply that you want to learn but you have straight-up ignored what I told you elsewhere. told you that JobSheetDataSet.JobInfo has a method to create a typed DataRow and I told you what it would likely be called. Have you looked for that method? Once you've got that typed DataRow, as I...
  14. jmcilhinney

    Question Debugging

    In 2005, Microsoft started creating free Express editions of VS targeted at primarily hobbyists. These were quite limited with one aimed at Windows development in VB, one at Windows and C# and one at ASP.NET in VB or C#. I don;t know how successful they were but I can only assume that...
  15. jmcilhinney

    Question Debugging

    I would recommend that you not use VS.NET 2003 and install VS 2019, which you can get for free (Community Edition). Virtually no one uses anything older than VS 2010 these days and not many use that even. I don;t know what it does or doesn't support and couldn't get a copy to install to test...
  16. jmcilhinney

    Question Debugging

    I just tried it without issue targeting Any CPU with Prefer 32-bit checked and unchecked in both VS 2017 and VS 2019. The code I used was simple, so maybe you were using something more complex that didn't support it. I used this: Public Class Form1 Private Sub Form1_Load(sender As Object...
  17. jmcilhinney

    Question Debugging

    There are some limitations on Edit & Continue, although I'm not 100% sure what they are and whether they have changed recently. If I remember correctly, it was not originally possible in 64-bit apps, although that may not be the case any more, as 64-bit apps have become the norm. I'll do a...
  18. jmcilhinney

    Form Position on screen

    No it wasn't. A form is, by definition, a GUI object and a DOS window (more accurately a commandline or console window because DOS no longer exists) is a text interface. Console windows display text and accept text while a form displays graphical objects, which may or may not contain text...
  19. jmcilhinney

    Expert system

    You're going to have to be far more specific than that. What have you done and where are you stuck. The broader the question, the less likely you're going to get any help.
  20. jmcilhinney

    how to remove a line return from IO.StreamReader a excel.csv data file

    Um, do you know what ReadLine actually does? What possible use could there be to trying to replace the line breaks in the result of ReadLine? Maybe read the documentation: Don't try to read a CSV that way. There are numerous tools around for doing it properly, including the TextFieldParser...
Top Bottom