Search results

  1. jmcilhinney

    Could not find installable ISAM

    This is a VB.NET forum and that is VB6 code. For that reason, I am closing this thread. That said, I will provide some information. Not all the specifics apply to VB.NET and VB6 in the same way, which is why the language matters. If you are going to use the ACE OLE DB provider then you need it...
  2. jmcilhinney

    SMS Bulk Sender

    Just dumping all your code and telling us that it doesn't work isn't really good enough. You need to debug your code and narrow down where the issue occurs, then you need to provide only the relevant code, along with a FULL and CLEAR description of the problem, including what you're trying to...
  3. jmcilhinney

    Question How to host an executable within a Windows Form

    What exactly does "within" mean here? Are you talking about visually, i.e. the form of one application is displayed within the form of another application?
  4. jmcilhinney

    How to send big data via SignalR in .NET client

    That is C# code and this is a VB forum. You should post at our C# sister site instead. Whether posting here or there, please format your post for best readability, when means formatting code as code and error messages as quotes.
  5. jmcilhinney

    Question How to drag and drop files from explorer to elevated with administrator right application in Windows 10?

    That's never an adequate explanation. Please provide a FULL and CLEAR explanation of the problem. Explain what you're trying to achieve, post the actual code that you're using (formatted appropriately) and explain what actually happens when you use it. Links to external information, screenshots...
  6. jmcilhinney

    Question win32_portconnector is used for ?

    With regards to the third question: I would assume that it is because that class is, according to the documentation, specifically for PHYSICAL connection ports. A VM has no physical ports because it's not a physical machine.
  7. jmcilhinney

    Question win32_portconnector is used for ?

    Does this question actually have anything to do with VB.NET, because I'm not seeing anything in your post?
  8. jmcilhinney

    Add multiple values to specified column in datagridview

    I've already shown you how you can perform multiple operations on the row inside the loop so I don't really understand what you're issue is. In my code example, row is a variable like any other, so you can use it like any other variable.
  9. jmcilhinney

    Add multiple values to specified column in datagridview

    A For Each loop over the rows of the table allows you to perform an action for each row in the table. Do you want to perform an action for each row in the table? If so then a For Each loop can be used and is almost certainly the best way to do so. What the action is is irrelevant to the loop itself.
  10. jmcilhinney

    Add multiple values to specified column in datagridview

    The row variable gives you access to the current DataRow so you can do whatever you want with and to that row.
  11. jmcilhinney

    Add multiple values to specified column in datagridview

    If you want to display data in a DataGridView from a database then you ought to be populating a DataTable first and then binding that to the grid via a BindingSource. The changes should be made to the DataTable before binding: For Each row In table.AsEnumerable() Dim hostName = row.Field(Of...
  12. jmcilhinney

    Add multiple values to specified column in datagridview

    You ask about a DataGridView but then your code makes no mention of it and refers only to a DataTable. Are you actually saying that you want to process the rows of a DataTable, getting the host name from one column and setting the corresponding IP address in another? If so, does the IP address...
  13. jmcilhinney

    Question Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.

    You don't have to be an expert in writing code to search the web. The idea is that, when someone mentions a topic, type or member that you are unfamiliar with, you go and do whatever research you can on that, use what you find to the best of your ability and then post back if and when you...
  14. jmcilhinney

    SQL - Between Command - Date range

    As for the issue, if there really is no exception thrown then there are simply no records matching your filters. Of course, there's no guarantee that your filters actually are what you you intend them to be. You should absolutely not be using string concatenation to insert values into SQL code...
  15. jmcilhinney

    SQL - Between Command - Date range

    Firstly, what's the point in creating a new DataTable here: Public DtRpt As New DataTable("DTReport") if you're just going to throw it away and replace it here: DtRpt = GetDataFromTable("SELECT * FROM tblTransaction WHERE TransDate BETWEEN '" & DTPFrom.Value & "' AND '" & DTPTO.Value & "';")
  16. jmcilhinney

    Question Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.

    If you bind data by setting the DataSource then you should be dealing with the data source in code, not the grid. You should also use a BindingSource. Bind your DataTable to the BindingSource and the BindingSource to the grid, then access the data via the BindingSource.
  17. jmcilhinney

    Answered Algorithm formula

    Actually, I also just realised that your AlgoM method has parameters but you completely ignore them inside the method. What's the point of passing in the values and then getting them from the controls again?
  18. jmcilhinney

    Answered Algorithm formula

    Also, you really should be providing meaningful names for all your controls. Having 18 Labels distinguished only by number and 6 NumericUpDowns the same is bad. How are we supposed to know whether you have the right controls in the right place in the calculation if the names are meaningless...
  19. jmcilhinney

    Answered Algorithm formula

    Break the calculation up into individual steps and perform one step per line of code. You can then use the debugger to step through the code line by line and see exactly where the result of a step is not what you expect. You ALWAYS need to debug for yourself first. Even if you still can't work...
  20. jmcilhinney

    Resolved how to display text in a listbox?

    It's simply a matter of setting the Font property of the TextBox to an appropriate value. Probably the best-known fixed-width font is Courier New, but there are other options too.
Top Bottom