Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 5.37 seconds; generated 59 minute(s) ago.

  1. Re: how to make numberformatinfo for decimal separator for double.tryparse

    Do you actually mean that you want to make one for both, i.e. one in total, or one for each, i.e. two in total? You can't do the former because the NumberFormatInfo class only has one...
  2. Re: how to set value of a field of a form from another form

    Don't forget to use the Thread Tools menu to mark the thread Resolved if you issue has been resolved.
  3. Re: Need help to write method for a VB6 class

    Given that the member who created that original thread is still very active on the site, you probably should have posted to that thread, rather than creating a new thread. I would suggest that you...
  4. Re: Need help to write method for a VB6 class

    This is not a project request so does not belong in the Project Requests forum. It's just a regular VB6 question. Thread moved.
  5. VS 2010 Re: VB2010 - why i don't move with the right radian?

    We can't even test your code because we don't have access to those DrawCircle or DrawLine methods. Come on, man! You didn't show us what happens and we can't test for ourselves because your code is...
  6. VS 2010 Re: VB2010 - why i don't move with the right radian?

    This seems like the sort of question that would have benefitted from a screenshot or two. Also, maybe explain exactly what you expect to see and what you actually see. What you've provided is rather...
  7. VS 2010 Re: VB2010 - why i don't move with the right radian?

    OT: NEVER use End in VB.NET. Replace that with Application.Exit.
  8. Re: [RESOLVED] Changing checkbox in listview via code

    If you don't need or want an answer to your question, please use the Report Post icon to ask the mods to delete it. Otherwise, please post your solution so that it might help others with a similar...
  9. Re: how to set value of a field of a form from another form

    Firstly, there's no point calling Close when you have set the DialogResult. Once Dialogresult is set to anything but None, the form is closing. In fact, if you want to set the DialogResult when a...
  10. Replies
    45
    Views
    4,888

    Re: Problem with conversion of values

    C# is a language, not a technology. You still have to choose what technology you're going to use to build the app. If you want a GUI app for Windows then WinForms is the oldest tech, then came WPF...
  11. Replies
    4
    Views
    220

    Re: Problem with One TextBox Value

    I don't know what you're trying to say. As I already requested, please provide a FULL and CLEAR explanation of the problem. I suspect that English is not your first language so I appreciate that it...
  12. Re: How to show a message to user that No record for this Primary Key?

    Assuming that that DAL is calling ExecuteNonQuery on a command object, that method returns the number of records affected. Of course, if the OP wanted to know how to do something inside that method,...
  13. Re: How to show a message to user that No record for this Primary Key?

    When you want to do something IF a particular condition is true then obviously you need an if statement, when means that you need a Boolean expression to evaluate. How you get that expression is...
  14. Replies
    4
    Views
    220

    Re: Problem with One TextBox Value

    Are you saying, without actually saying, that this:

    decimal.TryParse(txtfinalcommite.Text, out commoite)
    returns false? If that's the case then obviously the text in the TextBox is not a valid...
  15. Replies
    4
    Views
    220

    Re: Problem with One TextBox Value

    For future reference, please don't post code snippets with a big wad of leading whitespace. It just makes the whole lot harder to read. It's also more annoying when you remove the whitespace from the...
  16. Replies
    45
    Views
    4,888

    Re: Problem with conversion of values

    For the record, ExecuteScalar uses a data reader internally. It can certainly make code more succinct and should be used where appropriate, but it won't affect performance. Here's the implementation...
  17. Re: DataGridView doest not show the data

    That second query is not what you initially posted, so ple4ase be clear about EXACTLY what you did and EXACTLY what happened.
  18. Re: DataGridView doest not show the data

    Maybe you could answer the questions I asked, because I didn't ask them for my health.
  19. Re: DataGridView doest not show the data

    I don't think that that's the issue. Logically, you're correct, based on the names. If you look at the OP though:

    The two limits are actually incorrectly named but thus they are the right way in...
  20. Re: DataGridView doest not show the data

    What exactly does that mean? You need to be more specific than "it".

    Where are you entering these dates? It looks like you're using DateTimePicker controls so your query is going to be using a...
  21. Replies
    45
    Views
    4,888

    Re: Problem with conversion of values

    String concatenation is not a problem in and of itself. It's not even necessarily an issue with regards to SQL in certain situations. It is a BIG issue with regards to SQL if you're using it to...
  22. Re: How to avoid Blank/Void places while opening vb.net winforms

    You're going to have to be more specific because that's not normal. It's due to something that you're doing but, as we have no idea what you're doing, we don't know what part of it is the issue....
  23. VS 2010 Re: vb2010 - how calculate the hit direction?

    If your issue is resolved, please use the Thread Tools menu to mark the thread Resolved.
  24. Replies
    6
    Views
    332

    VS 2019 Re: DLL Based Project

    You use the Build menu to build the current project or the entire solution and the compiled assemblies are copied to the respective output folders. If you are ready to deploy, select the Release...
  25. VS 2010 Re: vb2010 - how calculate the hit direction?

    Converting degrees to radians and back again is a very simple calculation. You would have learned how to do it in school maths class and you can refresh your memory with a simple web search or even...
  26. VS 2010 Re: VB2010 - how convert a control to a control array?

    Note that, while you can obviously edit a Handles clause by hand, you can still use the designer to generate an event handler for multiple controls. You use Shift or Ctrl to select multiple controls...
  27. Replies
    45
    Views
    4,888

    Re: Problem with conversion of values

    Stop creating new commands. You have one 'using' statement for the command so you should have one command object. Understand how a 'using' statement or declaration works. You create an object with...
  28. Replies
    1
    Views
    279

    Re: Folder access problem

    What folder? Are you absolutely sure that you are using the path of the file and not the folder in that code? I think that if you try to open a folder as though it were a file, you get that type of...
  29. VS 2022 Re: Populate DataGridView via function from SQLite in VB.Net (VS2022)

    You seem to be making some complex out of something very simple. Just populate a DataTable, bind that to a BindingSource and bind that to the grid. The grid will create columns automatically based on...
  30. Re: VB.net Slots game bug not easily apparent

    We can also provide some other general advice that may help you solve this issue but will definitely help you avoid issues in the future. These were provided on your question at SO but let's repeat...
  31. Re: VB.net Slots game bug not easily apparent

    We have both told you that you need to debug the code yourself. Are you refusing to do that? If so, you'll likely find people who volunteer their time to help strangers unwilling to help those who...
  32. Re: VB.net Slots game bug not easily apparent

    As for the issue, you need to do a far better job of explaining it. Just providing us with all the source code and expecting us to work out what the problem is before we can even think about...
  33. Re: VB.net Slots game bug not easily apparent

    You would have been informed when you posted that, as a new member, your posts were subject to moderation. Please pay attention to these notices and don't post the same question multiple times. Your...
  34. VS 2022 Re: [RESOLVED] 2nd form not showing on desktop

    You should probably work out how this happened or it's likely to happen again. You still haven't shown us any relevant code so all we can do is guess. It might be that you're saving the location when...
  35. Replies
    13
    Views
    1,116

    Re: Conversion Question

    I'm not sure how dr[0] could ever be null anyway. If you're getting nulls from the database then they would be represented by DBNull.Value, not null, and DBNull.ToString does return an empty string....
  36. VS 2022 Re: 2nd form not showing on desktop

    It's probably something the form is doing. As you haven't told us anything about that beyond a vague general description, it could be anything.

    Try putting some tracing code in, i.e. something...
  37. Replies
    13
    Views
    1,116

    Re: Conversion Question

    The warning is not telling you that dr[0].ToString() could be null, so it has nothing to do with the constructor. It's telling you that dr[0] could be null, so calling ToString could throw a...
  38. Replies
    45
    Views
    4,888

    Re: Problem with conversion of values

    Windows Forms wasn't originally intended to make the trip to .NET Core. Microsoft were going to let it wither on the vine with .NET Framework and require Windows developers to use newer technologies...
  39. Replies
    45
    Views
    4,888

    Re: Problem with conversion of values

    Yes and no. Many of us still use the term ".NET Core" to differentiate from .NET Framework but, officially, it's just .NET since version 5. It's similar to what happened back in 2005. Originally,...
  40. Replies
    34
    Views
    1,180

    Re: rs.Edit (help)

    Please do not post the same question multiple times. Post only in the most appropriate forum. If you think you posted in the wrong forum, use the Report Post tool to ask the mods to move your thread....
Results 1 to 40 of 486
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width