dcsimg

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 7.18 seconds.

  1. VS 2017 Re: Save unchecked datagridview column to database

    The grid is not the data. It's the UI. The DataTable is the data. The default value for any DataColumn is DBNull.Value unless you change it. If you want that DataColumn to default to False then you...
  2. Re: How to suppress Visual Basic popup window while opening the Macro file in powersh

    Does this actually have anything to do with VB.NET? Did you just select the VB.NET forum because it's the first in the list on the home page?
  3. Replies
    6
    Views
    183

    Re: Adding a Variable by Clicking Button

    There are loads of examples out there already. Have a look, have a go and then post back if you have a specific issue.
  4. Replies
    6
    Views
    183

    Re: Adding a Variable by Clicking Button

    So you know what to do then, i.e. exactly what Shaggy said. You can't add variables at run time. Variables are declared a design time. At run time, you can execute a method and assign something to a...
  5. VS 2012 Re: Translate text with Google Translation and VB .NET

    Actually, what's going on here?

    Dim step4 As String = step3.SelectToken("sentences[0]").SelectToken("trans").ToString()
    Isn't that specifically instructing it to get the first sentence only? ...
  6. VS 2012 Re: Translate text with Google Translation and VB .NET

    I just went to the Google Translate web site and entered that text and this is the URL that it displayed:

    When I use WebUtility.UrlEncode on that same text I get this:

    When I tried the...
  7. Replies
    1
    Views
    125

    Re: A B C D E F a over b c d e to f

    I have no idea what you're talking about. I suggest that you try again and, this time, provide a FULL and CLEAR explanation of the problem. Start by explaining what you're actually trying to...
  8. Re: Adding a string() to a list(of string()) causes Object reference not set to an in

    Also, don't declare structures inside modules or classes. Structures are first-class types and should be treated as such, which means defining them in their own code files or, at the very least,...
  9. Re: Adding a string() to a list(of string()) causes Object reference not set to an in

    Of course it does. Where in that code do you actually set iNat.Values to anything? Nowhere, so it will always be Nothing. If you expect that field to refer to an object then you have to assign an...
  10. Replies
    5
    Views
    169

    VS 2019 Re: Adding array values for a total

    You certainly haven't explained it at all well. You claim to be summing elements of an array but the only place you add numbers is when you add 1 to i, which has nothing at all to do with arrays. ...
  11. Re: Querying dates is not working with an SQLite table

    Don't forget to mark your thread Resolved using the Thread Tools menu.
  12. VS 2019 Re: ReportViewer with local DataSet/DataTable

    This seems relevant:

    https://csveda.com/mini-projects/create-an-rdlc-data-report-in-vb-net/
  13. Re: Querying dates is not working with an SQLite table

    What is the actual value of Fecha_unica when you run that code? Also, have you read about date handling in SQLite? I have never really used that database myself but I know that it doesn't have a...
  14. VS 2019 Re: Custom Configuration Autoload Key/Value as properties

    In that case, follow the CodeBank link in my signature below and check out my thread on Protected Configuration. That thread was written to demonstrate encrypting sections of a config file but you...
  15. VS 2019 Re: Custom Configuration Autoload Key/Value as properties

    Will the user be an administrator on the machine? Probably not in a business setting but I ask because, if so, you can write to the main configuration file, although not via My.Settings.
  16. Re: Why isn't VB.Net an option in the Stack Overflow Developer Survey?

    That is certainly true, but whether they do or not depends on how important it is to them to be taken seriously. Everyone is entitled to their opinion but there is no similar entitlement to have that...
  17. Replies
    10
    Views
    363

    VS 2017 Re: Create a timeline

    Sounds like a job for a FlowLayoutPanel or TableLayoutPanel containing instances of a user control.
  18. Re: Why isn't VB.Net an option in the Stack Overflow Developer Survey?

    Anyone can say anything they like without justification.
  19. Replies
    4
    Views
    264

    VS 2017 Re: Data Grid View read only

    That's a ridiculously gross exaggeration, which you're making to justify your lack of effort. If you can pretend that it was really hard then it's OK not to have done it. The problem is that it would...
  20. Replies
    4
    Views
    264

    VS 2017 Re: Data Grid View read only

    That's a ridiculously gross exaggeration, which you're making to justify your lack of effort. If you can pretend that it was really hard then it's OK not to have done it. The problem is that it would...
  21. Replies
    2
    Views
    142

    Re: Copy file from a folder to other

    That isn't VB.NET code so why is this thread in the VB.NET forum? That appears to be VB6 or perhaps VBA or, less likely still, VBScript. You should use the Report Post icon under your post to send a...
  22. Replies
    2
    Views
    141

    Re: RichTextBox with BindingSource

    It sounds like your best option may be to not use data-binding. You can handle the appropriate event of your BindingSource move the data around yourself. You can then determine whether the data is...
  23. Re: Why isn't VB.Net an option in the Stack Overflow Developer Survey?

    You say that as though anyone ever claimed that it is. C# was a response to Java, not C/C++. Just like Java and many other languages, C# is based on C syntax. That's it, that's all.

    Firstly, it...
  24. Re: why do I use SQL Server Management Studio to update a row of a table in SQL Serve

    If you want to use literal text to represent a date in T-SQL then use 'yyyy-MM-dd' format, not 'yyyy/MM/dd'. If you use slashes then I'm guessing that it would try to interpret it as 'dd/MM/yyyy' or...
  25. Replies
    17
    Views
    465

    Re: Reverse bit order of byte

    Can you elaborate on why you believe you need to do this? It might be perfectly legitimate, or it might not. If it is, the exact why might dictate the exact how.
  26. Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

    That sounds like an encoding issue. I haven't looked at this code for some time but I certainly don't recall that behaviour. Did you just use the attached solution as is? What version of VS are you...
  27. Replies
    2
    Views
    186

    Re: VS 2019 + MS-Access autonumbers

    Firstly, your language regarding table adapters is inaccurate. You don't fill a table adapter. The table adapter is what does the filling and it's a DataTable that it fills. A table adapter wraps a...
  28. Replies
    1
    Views
    175

    VS Code Re: Avoid Repetation of Data

    Firstly, that code is definitely not working fine. That code wouldn't even compile. You might try copying and pasting code if at all possible and, if not, be a bit more careful reproducing it. It...
  29. Re: why do I use SQL Server Management Studio to update a row of a table in SQL Serve

    I haven't watched your video but I'm confident that you're wrong.

    174493
  30. Replies
    4
    Views
    264

    VS 2017 Re: Data Grid View read only

    This is a perfect example of why you should ALWAYS read the documentation first. If you'd done that, you'd have seen that the DataGridView class has a ReadOnly property. You could have seen that...
  31. Re: What is a mobile application development platform ?

    If someone can't find that for themselves, I'm not sure that anyone should trust any app that they might create.
  32. Replies
    23
    Views
    337

    Re: Foreign keys

    With a foreign key that doesn't cascade on delete. The whole point of a foreign key is that the value in the child table is restricted to match a value in the parent table. That means that, when...
  33. Re: Database Question

    Then you ought to have asked the mods to move the original thread. Posting the same question in multiple forums is frowned upon.
  34. Replies
    23
    Views
    337

    Re: Foreign keys

    In case you haven't noticed, programmers are not perfect. We all make mistakes. Users are even worse. Implementing foreign keys is one way to ensure that any mistakes that programmers or users make...
  35. Replies
    8
    Views
    198

    Re: Recent file list troubles

    That makes no sense in this context.

    Anyone who thinks that they can write software should not need search engines explained to them.
  36. Replies
    8
    Views
    198

    Re: Recent file list troubles

    And guess what: you still haven't shown us where you're writing anything to that file. You are obviously doing it wrong. It would appear that you are calling ToString, either explicitly or...
  37. Replies
    8
    Views
    198

    Re: Recent file list troubles

    If I was doing this, I wouldn't care about the file contents and I've never seen an application that does. If you have two files in different locations then they should be considered different...
  38. Replies
    8
    Views
    198

    Re: Recent file list troubles

    Like most LINQ methods, Distinct doesn't actually give you the values but, rather, an unrealised query against the original list. You have to actually realise the query to get the values. One way...
  39. Re: Vb.net Perfomance load data into datagridview by start of application vs database

    It depends on the amount of data and how it will be used. If you have a relatively small amount of data then you may as well get it all up front, especially if the user is likely to view all of it...
  40. Re: VB.net Datagridview shown Columns by External File

    Except not. I've shown you how to create a String containing the column order and how to load the column order from a String. Where you then save that String to and load it from is completely up to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width