Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 4.14 seconds.

  1. Replies
    24
    Views
    803

    Re: problem in webvew

    One wonders why you came here at all if you can do that now. The problem here is that we want to help you but you won't even consider the possibility that you're not doing enough to enable us to do...
  2. Re: Why VB.NET Power Function is so fast ?

    Except not. Why a VB.NET method is as fast as it is is a 100% VB.NET question. How to make a VB6 function faster is a 100% VB6 question. Two different questions on two different languages, both of...
  3. Re: Why VB.NET Power Function is so fast ?

    So what? Should we just do away with the VB6 forum and have all VB6 questions poste3d in the VB.NET forum because "many people proficient VB.NET at the same time proficient VB6"? There is a...
  4. Re: Why VB.NET Power Function is so fast ?

    Your title says:

    Is that really the question you want answered? In your post you ask this:

    Which is a completely different question and something that should be asked in the VB6 forum, not the...
  5. VS 2015 Re: How To Define Variables In Public Class. VB.NET

    I'm guessing that, in this case, ReadOnly properties would be more appropriate, as the values are probably being read from outside the form but not set.
  6. VS 2015 Re: How To Define Variables In Public Class. VB.NET

    Nope. The field declarations and their initialising expressions are executed before the class constructor, so before the InitializeComponent method is executed, so before the TextBoxes are created.
  7. VS 2015 Re: How To Define Variables In Public Class. VB.NET

    While that will at least not throw an exception, there's no point to getting data from a control in the Load event handler because the user can't have entered any data before the form has been...
  8. Replies
    8
    Views
    370

    Re: Loading a listbox

    That all sounds like a very bad idea. Firstly, you don't need multiple columns. You just need one column in another table. The whole point of a relational database is the relations. You can have a...
  9. Replies
    8
    Views
    370

    Re: Loading a listbox

    Your actual question is how to split a String based on a specific format. You can't add that String to the ListBox as it is because that would require the ListBox to know how to split it out into...
  10. VS 2019 Re: NoNullAllowedException error handling

    I don't often use a BindingNavigator but I'm fairly sure that you can handle the Click events of the Buttons and cancel the navigation, so you could validate the current record and only allow...
  11. VS 2019 Re: System.Data.OleDb.OleDbException: 'Syntax error in INSERT INTO statement.' Error

    Actually, taking another look at your code after Shaggy added the CODE tags, I can now see that you have two commas between two of the values. I couldn't see that without the formatting tags, which...
  12. VS 2019 Re: System.Data.OleDb.OleDbException: 'Syntax error in INSERT INTO statement.' Error

    You also have every value wrapped in single quotes when that should only be done for text values, so you might have encountered a data type mismatch if you hadn't encountered a syntax error. If you...
  13. VS 2019 Re: System.Data.OleDb.OleDbException: 'Syntax error in INSERT INTO statement.' Error

    It seems to be the same story every time with this sort of error. People tell us that they have a syntax error in their SQL code and then don't show us their SQL code, which suggests that they...
  14. VS 2017 Re: Unable to add and Delete controls Programmatically in .NET forms

    If you want to remove a specific Panel then you obviously need to be able to uniquely identify it. How exactly do you propose to do that? Is the user clicking a Button on that Panel to remove it? In...
  15. Re: Is somebody backing up the MSDN reference documentation?

    This may be everything:

    https://docs.microsoft.com/en-us/windows/win32/api/
  16. Re: Is somebody backing up the MSDN reference documentation?

    All that information appears to have been migrated to the Microsoft Docs site.

    https://docs.microsoft.com/en-us/windows/win32/winmsg/window-reference

    Actually, I just realised that that may...
  17. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    323

    VS 2010 Re: Formatting

    That seems fair enough. You're not going to get your thread deleted just by adding a post to it though. Only moderators can delete threads and there's a fair likelihood that they'll never see that...
  18. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    323

    VS 2010 Re: Formatting

    Requesting for the original question to be reinstated.
  19. Re: [RESOLVED] Select DatagridView Row Header.

    The headers of both rows and columns are considered cells, with indexes of -1 if I'm not mistaken. If you filter for a column index of >= 0 in your CellEnter event handler then I think that you would...
  20. Re: [RESOLVED] DataGridView Cell value when using Timer to trigger an event.

    You've marked this thread Resoloved and this is a different issue anyway, so you should start a new thread specifically for this new question.
  21. Re: [RESOLVED] DataGridView Cell value when using Timer to trigger an event.

    You probably ought to give a bit more thought to whether that is actually the correct solution. It may be, but it may not be.

    The way a DataGridView is designed, it contains no controls by...
  22. Replies
    9
    Views
    301

    Re: StreamWriter in vb.net

    Note that you can also specify the VB language version in a newer IDE if you want to make sure that you only support language features up to a specific version.
    ...
  23. Replies
    9
    Views
    301

    Re: StreamWriter in vb.net

    That's fair enough, but you also deny users of newer versions better solutions. Probably the best option is to provide the optimal solution but mention if it requires later versions, then include an...
  24. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    323

    VS 2010 Re: Formatting

    Please don't delete your original post. How does that help anyone? Any subsequent posts now have no context and anyone with a similar problem can't possibly be helped. What you should do is post your...
  25. Replies
    29
    Views
    723

    Re: Reference a .NET DLL in VB5

    In that case, you certainly can use the Community edition of VS, which, if I'm not mistaken has been available since 2012. Unless you have a specific reason to do otherwise, I would suggest using at...
  26. Replies
    29
    Views
    723

    Re: Reference a .NET DLL in VB5

    I don't think that you can actually do so legally these days. You can probably do so illegally and that may not be a problem for you, but if you work for a company that is concerned about legal...
  27. Replies
    29
    Views
    723

    Re: Reference a .NET DLL in VB5

    That's true, but it depends where it is going to be used. If you're using it commercially, I believe that you can only do so in an organisation where a maximum of 5 people are doing so. Any more than...
  28. Replies
    9
    Views
    301

    Re: StreamWriter in vb.net

    That is true, and that should be a valid assumption for most people. There aren't many valid reasons to be using a version of VS even as old as 2012, although I will say that many schools are living...
  29. Replies
    9
    Views
    301

    Re: StreamWriter in vb.net

    I wouldn't even use a StreamWriter. Generally speaking, only use a StreamWriter if you need to perform other operations between writes. The File.AppendAllLines method will append one or more lines to...
  30. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    323

    VS 2010 Re: Formatting

    Check out this CodeBank thread of mine on the subject. If you expect text to line up then you have to use a fixed-width font, which it doesn't appear that you are. You may find that changing that is...
  31. Replies
    13
    Views
    400

    Re: invoke jQuery

    That's never an adequate explanation of a problem. I've addressed that in more detail elsewhere. Unless you're prepared to provide more detail, I have nothing more for you.
  32. Replies
    24
    Views
    803

    Re: problem in webvew

    Yes, it is. You know all the details about your problem. We know nothing other than what you tell us. If you don't provide sufficient information for us to understand the problem, who else's fault...
  33. Replies
    24
    Views
    803

    Re: problem in webvew

    Please learn how to write a good question. Provide a FULL and CLEAR explanation of the problem, which includes a description of what you're trying to achieve, how you're trying to achieve it...
  34. Re: DataBinding An ObservableCollection(Of string) to a Label

    The NameOf operator allows you to use a String value but still get compile-time validation:
    lblFileListCount.DataBindings.Add("Text", ResultFiles, NameOf(ResultFiles.Count), False,...
  35. Replies
    13
    Views
    400

    Re: invoke jQuery

    The WebBrowser control, which is based on Internet Explorer, has significant limitations where JavaScript is concerned. You should probably look at using the WebView2 control, which is based on the...
  36. VS 2010 Re: Pass parameter to another form within app without opening it

    I would say that, as Shaggy suggested, your question doesn't make any sense. Maybe you just expressed yourself badly, in which case you should provide a FULL and CLEAR explanation of the problem,...
  37. VS 2019 Re: Need Help : System.Data.OleDb.OleDbException: 'The table 'Tbl' is already opened

    If you're issue is resolved, don't forget to mark the thread Resolved using the Thread Tools menu near the top of the page. That enables everyone to see that the issue is resolved without having to...
  38. Re: Newbie Q: displaying a specific value (from sql table) in combobox and datagrid

    As for the issue, you are binding your data. That's what setting the DataSource property does. I would tend to change a few things in your code.

    Firstly, don't use a DataSet if all you need is one...
  39. Re: Newbie Q: displaying a specific value (from sql table) in combobox and datagrid

    Why you didn't do it doesn't really matter. People make mistakes. People don't know things. That's fine. I don't really care. The right thing to do is to format your code. I explained that to you....
  40. Re: Newbie Q: displaying a specific value (from sql table) in combobox and datagrid

    Please don't post unformatted code snippets. They are unpleasant to read. You should do all you can to help us help you, which includes formatting you code for readability.
    Public Class Form1


    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width