Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 5.49 seconds.

  1. Replies
    25
    Views
    292

    VS 2015 Re: Calculations not calculating? VBS 2015

    Certainly not denying that it works. It just seems that there's a better option. That said, incorporating it into examples for beginners so that you don't have to rely on their setting a breakpoint...
  2. Replies
    25
    Views
    292

    VS 2015 Re: Calculations not calculating? VBS 2015

    Personally, I'm not sure why you would choose to make a change to the code itself that you then have to remove later, rather than just clicking in the margin or pressing F9. The only advantage I can...
  3. Replies
    25
    Views
    292

    VS 2015 Re: Calculations not calculating? VBS 2015

    I just go by what I see. I don't know whether you're stupid or not or whether you have used a search engine or not. What I do know is that I was able to find information explaining what an IDE is in...
  4. Replies
    25
    Views
    292

    VS 2015 Re: Calculations not calculating? VBS 2015

    It is a travesty that so many school and paid programming courses don't bother to teach basic debugging techniques but that doesn't mean that you can't think for yourself. Many people, myself...
  5. Replies
    1
    Views
    84

    VS 2017 Re: Converting List Collection & String

    This:
    My.Settings.M_IPs = M_Ips2.ToList
    should be this:
    My.Settings.M_IPs.AddRange(M_Ips2)
    You may want to call Clear on the existing collection first, if it may already contain items.
  6. Replies
    25
    Views
    292

    VS 2015 Re: Calculations not calculating? VBS 2015

    You need to debug your code. When things don't work as expected, step 1 is to read the code to see if there is anything obviously wrong with. If that doesn't work, step 2 is not to post a question...
  7. Replies
    22
    Views
    364

    Re: Notorius R.B.G ... RIP

    I agree, but the situation is what it is so maybe do what you can to avoid it becoming even worse.

    Almost nothing is not nothing. Principles are great but if you are in a fight and your opponent...
  8. Replies
    17
    Views
    276

    VS 2017 Re: Importing CSV Strings as numbers

    I can't remember exactly why - it may have been for phone numbers - but I tried that once and it didn't work. Adding a single quote within Excel does force data to be interpreted as text in XLS files...
  9. Replies
    22
    Views
    364

    Re: Notorius R.B.G ... RIP

    What I'm thinking is that Democrats should do anything and everything they can to prevent Republicans appointing any more SC justices whether you want to get your hands dirty or not. Maybe you figure...
  10. Replies
    22
    Views
    364

    Re: Notorius R.B.G ... RIP

    When someone appears so disingenuous so often, I start to wonder whether I'm giving them too much credit. Biden is a bad candidate, no doubt, but it should tell you something about the Republican...
  11. Replies
    22
    Views
    364

    Re: Notorius R.B.G ... RIP

    You sound like someone who is confident that a Supreme Court stacked by Republicans won't really affect them directly.
  12. Replies
    17
    Views
    276

    VS 2017 Re: Importing CSV Strings as numbers

    Cough, cough.
  13. Replies
    17
    Views
    276

    VS 2017 Re: Importing CSV Strings as numbers

    He's suggesting that you open the CSV file directly, but I think he missed that one of your screenshots is the file open in Excel. I'd still recommend opening it in Notepad or the like though. Excel...
  14. VS 2012 Re: How to discrete a string with "," or ";" and placing txts/vals in different contr

    I'm not saying anything. I'm asking what problem you are having that you would like help with, because you haven't told us. You've provided a very vague description of what you're trying to achieve...
  15. VS 2012 Re: How to discrete a string with "," or ";" and placing txts/vals in different contr

    Congratulations. Now, what's the actual problem that you want help with?
  16. VS 2015 Re: WebClient.DownloadString(URL) returns Error 403 - Forbidden

    I'm in Australia and if I click the link in post #1 the page displays fine for me in Edge.
  17. Replies
    2
    Views
    146

    Re: Adding Api for my desktop application

    What is the purpose of the application and what is the purpose of the API?
  18. VS 2005 Re: How to connect to SQL Server data without using SQL Server Management Studio in .

    You don't. Management Studio is completely irrelevant regardless. It's an application in itself. Applications, SSMS included, connect to a SQL Server instance. Management Studio is not the instance....
  19. VS 2019 Re: Trying to learn how to work with csv, listbox and textbox in vb.net

    Here is said example:

    Private ReadOnly table As New DataTable

    Private Sub ParentForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'Add standard data columns.
    With...
  20. VS 2019 Re: Trying to learn how to work with csv, listbox and textbox in vb.net

    You are correct. I confused myself because I've often pointed out that using two BindingSources with one DataTable allows you to make separate selections in two controls, but it doesn't allow you to...
  21. VS 2019 Re: Trying to learn how to work with csv, listbox and textbox in vb.net

    Stop that for a start. A DataGridView is a control, for displaying data to the user and for interacting with the user. If you're doing neither of those things, there's no justification for using that...
  22. Replies
    21
    Views
    336

    VS 2015 Re: ClosedXML Export Import Datagridview

    The DataGridView isn't really relevant. You can get data out of a DataGridView in whatever way you want, so you can use whatever starting point you want to use ClosedXML to get data into the Excel...
  23. Replies
    21
    Views
    336

    VS 2015 Re: ClosedXML Export Import Datagridview

    What have you tried? Presumably you have read the documentation and not just assumed that it's too hard. Where exactly are you stuck?
  24. Replies
    21
    Views
    336

    VS 2015 Re: ClosedXML Export Import Datagridview

    You can add any columns you want in the designer of whatever type you want in whatever order you want. Either just add the button column and let the grid create the rest when you bind or else create...
  25. Replies
    21
    Views
    336

    VS 2015 Re: ClosedXML Export Import Datagridview

    First things first, let's fix all those Using blocks. It's pointless creating a connection, command and data adapter separately when you can just create the data adapter and have the rest done for...
  26. Replies
    22
    Views
    364

    Re: Notorius R.B.G ... RIP

    It will be interesting to see whether The Turtle, AKA Mitch McConnell, actually admits that he lied when refusing to approve Obama's SCOTUS nominee when they try to get Trump's pick in before the...
  27. Re: How to code: RichTextBox1.Location.X = WebBrowser1.Width + 10

    Too slow, sucker! ;)
  28. Re: How to code: RichTextBox1.Location.X = WebBrowser1.Width + 10

    The reason that you get that error message is that the Location property is type Point, which is a value type. When you get a property or field value, you get a copy of what it contains. For...
  29. Re: Import from .csv file into MySQL

    I didn't notice the first time but this is wrong:

    .Add("@Vessel", DbType.String, 50, "vessel")
    That second parameter should be type MySqlDbType. The numerical value of DbType.String is 16, as you...
  30. Re: Import from .csv file into MySQL

    As for the issue, why would you go and do this:
    FDate.ToString("dd/MM/yyyy h:mm:ss tt")
    You want to save a date so save a Date, not a String. SQLite has no dedicated date data type so you have to...
  31. Re: Import from .csv file into MySQL

    First things first, don't do this:
    .Columns.Add("Vessel", System.Type.GetType("System.String"))
    when you can do this:
    .Columns.Add("Vessel", GetType(String))
    The latter takes an actual data type,...
  32. Re: Cast MySQL boolean / TTinyint(1) to dot net standard boolean (Invalid cast excep

    The whole point of a cast is that you change the way you access an object. not the object itself. You cannot cast something as a type that it is not. In order to cast as type Boolean, you have to...
  33. Replies
    4
    Views
    109

    Re: Visual Basic and Databases

    Is it suggesting that that folder be created under your project or elsewhere? If it's a folder for multiple databases for multiple projects then I'd suggest creating the same folder structure they...
  34. Replies
    4
    Views
    109

    Re: Visual Basic and Databases

    You should do what the book wants you to do.
  35. Replies
    4
    Views
    237

    Re: Timed function call

    Firstly, no it wouldn't. Secondly, why would there be any non-stop Timer Ticking anyway. Put some thought into it. When you use an alarm clock, does it go off every few seconds so you can check the...
  36. 5.0 Re: Pass type as the parameter to a method

    What you do is up to you but you really ought to follow the same naming convention for generic type parameters as is used throughout the Framework and by other developers the world over. That means...
  37. Replies
    5
    Views
    233

    VS 2017 Re: Issue with JSON POST using WebClient

    Try adding this:
    webClient.Headers("Content-Type") = "application/json"
  38. Replies
    3
    Views
    166

    Re: VB.NET (UNION) sql query

    What line is the exception actually thrown on? I suspect that it's the DataBind call. I don't think that this has got anything to do with your query at all. The "select data source" it's talking...
  39. Re: What does this mean frmAddMovies.vb* and frmAddMovies.vb [Design]*

    Try the Clean option from the Build menu and then the Rebuild option. If the problem persists, close VS and delete the bin and obj folders from your project folder and then try again.
  40. Re: Running code against Sqlserver worked fine first time but now 'Access denied'

    Did you perhaps run your application as an administrator the first time?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width